Searched refs:block (Results 1 - 7 of 7) sorted by relevance

/crypto/
H A Dmd5.c46 le32_to_cpu_array(ctx->block, sizeof(ctx->block) / sizeof(u32));
47 md5_transform(ctx->hash, ctx->block);
66 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f);
71 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
76 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
83 while (len >= sizeof(mctx->block)) {
84 memcpy(mctx->block, dat
[all...]
H A Dcast6_generic.c165 static inline void Q(u32 *block, u8 *Kr, u32 *Km) argument
168 block[2] ^= F1(block[3], Kr[0], Km[0]);
169 block[1] ^= F2(block[2], Kr[1], Km[1]);
170 block[0] ^= F3(block[1], Kr[2], Km[2]);
171 block[3] ^= F1(block[0], Kr[3], Km[3]);
175 static inline void QBAR(u32 *block, u argument
188 u32 block[4]; local
226 u32 block[4]; local
[all...]
H A Dmd4.c38 u32 block[MD4_BLOCK_WORDS]; member in struct:md4_ctx
152 le32_to_cpu_array(ctx->block, ARRAY_SIZE(ctx->block));
153 md4_transform(ctx->hash, ctx->block);
172 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f);
177 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
182 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
189 while (len >= sizeof(mctx->block)) {
[all...]
H A DKconfig227 This block cipher algorithm is required for IPSec.
236 This block cipher algorithm is required for IPSec.
255 This is the simplest block cipher algorithm. It simply encrypts
256 the input block by block.
265 narrow block cipher mode for dm-crypt. Use it with cipher
268 rest is used to tie each cipher block to its logical position.
276 This block cipher algorithm is required for RxRPC.
284 XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
741 for some popular block ciphe
[all...]
H A Dwp512.c785 u64 block[8]; /* mu(buffer) */ local
791 block[i] = be64_to_cpu(buffer[i]);
793 state[0] = block[0] ^ (K[0] = wctx->hash[0]);
794 state[1] = block[1] ^ (K[1] = wctx->hash[1]);
795 state[2] = block[2] ^ (K[2] = wctx->hash[2]);
796 state[3] = block[3] ^ (K[3] = wctx->hash[3]);
797 state[4] = block[4] ^ (K[4] = wctx->hash[4]);
798 state[5] = block[5] ^ (K[5] = wctx->hash[5]);
799 state[6] = block[6] ^ (K[6] = wctx->hash[6]);
800 state[7] = block[
[all...]
H A Dlrw.c121 static inline int get_index128(be128 *block) argument
124 __be32 *p = (__be32 *) block;
402 MODULE_DESCRIPTION("LRW block cipher mode");
H A Dccm.c58 static int set_msg_len(u8 *block, unsigned int msglen, int csize) argument
62 memset(block, 0, csize);
63 block += csize;
71 memcpy(block - csize, (u8 *)&data + 4 - csize, csize);
174 /* first time in here, block may be partially filled. */
195 * enough to fill a block.
262 /* encrypt first block to use as start in computing mac */

Completed in 569 milliseconds