Home
last modified time | relevance | path

Searched refs:block_len (Results 1 – 18 of 18) sorted by relevance

/external/dropbear/libtomcrypt/src/mac/pmac/
Dpmac_init.c60 pmac->block_len = cipher_descriptor[cipher].block_length; in pmac_init()
62 if (polys[poly].len == pmac->block_len) { in pmac_init()
66 if (polys[poly].len != pmac->block_len) { in pmac_init()
71 if (pmac->block_len % sizeof(LTC_FAST_TYPE)) { in pmac_init()
83 L = XMALLOC(pmac->block_len); in pmac_init()
89 zeromem(L, pmac->block_len); in pmac_init()
95 XMEMCPY(pmac->Ls[0], L, pmac->block_len); in pmac_init()
98 for (y = 0; y < pmac->block_len-1; y++) { in pmac_init()
101 pmac->Ls[x][pmac->block_len-1] = (pmac->Ls[x-1][pmac->block_len-1] << 1) & 255; in pmac_init()
104 for (y = 0; y < pmac->block_len; y++) { in pmac_init()
[all …]
Dpmac_process.c41 (pmac->block_len > (int)sizeof(pmac->block)) || (pmac->buflen > pmac->block_len)) { in pmac_process()
67 if (pmac->buflen == pmac->block_len) { in pmac_process()
69 for (x = 0; x < (unsigned long)pmac->block_len; x++) { in pmac_process()
75 for (x = 0; x < (unsigned long)pmac->block_len; x++) { in pmac_process()
82 n = MIN(inlen, (unsigned long)(pmac->block_len - pmac->buflen)); in pmac_process()
Dpmac_done.c31 (state->block_len > (int)sizeof(state->block)) || (state->buflen > state->block_len)) { in pmac_done()
38 if (state->buflen == state->block_len) { in pmac_done()
40 for (x = 0; x < state->block_len; x++) { in pmac_done()
58 for (x = 0; x < state->block_len && x < (int)*outlen; x++) { in pmac_done()
Dpmac_shift_xor.c29 for (x = 0; x < pmac->block_len; x += sizeof(LTC_FAST_TYPE)) { in pmac_shift_xor()
34 for (x = 0; x < pmac->block_len; x++) { in pmac_shift_xor()
/external/dropbear/libtomcrypt/src/encauth/ocb/
Docb_init.c62 ocb->block_len = cipher_descriptor[cipher].block_length; in ocb_init()
64 if (polys[poly].len == ocb->block_len) { in ocb_init()
68 if (polys[poly].len != ocb->block_len) { in ocb_init()
78 zeromem(ocb->L, ocb->block_len); in ocb_init()
84 for (x = 0; x < ocb->block_len; x++) { in ocb_init()
92 XMEMCPY(ocb->Ls[0], ocb->L, ocb->block_len); in ocb_init()
95 for (y = 0; y < ocb->block_len-1; y++) { in ocb_init()
98 ocb->Ls[x][ocb->block_len-1] = (ocb->Ls[x-1][ocb->block_len-1] << 1) & 255; in ocb_init()
101 for (y = 0; y < ocb->block_len; y++) { in ocb_init()
108 m = ocb->L[ocb->block_len-1] & 1; in ocb_init()
[all …]
Ds_ocb_done.c54 if (ocb->block_len != cipher_descriptor[ocb->cipher].block_length || in s_ocb_done()
55 (int)ptlen > ocb->block_len || (int)ptlen < 0) { in s_ocb_done()
78 XMEMCPY(Z, X, ocb->block_len); in s_ocb_done()
80 X[ocb->block_len-1] ^= (ptlen*8)&255; in s_ocb_done()
81 X[ocb->block_len-2] ^= ((ptlen*8)>>8)&255; in s_ocb_done()
82 for (x = 0; x < ocb->block_len; x++) { in s_ocb_done()
113 for (x = 0; x < ocb->block_len; x++) { in s_ocb_done()
124 for (x = 0; x < ocb->block_len && x < (int)*taglen; x++) { in s_ocb_done()
Docb_encrypt_authenticate_memory.c60 while (ptlen > (unsigned long)ocb->block_len) { in ocb_encrypt_authenticate_memory()
64 ptlen -= ocb->block_len; in ocb_encrypt_authenticate_memory()
65 pt += ocb->block_len; in ocb_encrypt_authenticate_memory()
66 ct += ocb->block_len; in ocb_encrypt_authenticate_memory()
Docb_encrypt.c38 if (ocb->block_len != cipher_descriptor[ocb->cipher].block_length) { in ocb_encrypt()
43 for (x = 0; x < ocb->block_len; x++) { in ocb_encrypt()
51 for (x = 0; x < ocb->block_len; x++) { in ocb_encrypt()
57 for (x = 0; x < ocb->block_len; x++) { in ocb_encrypt()
Docb_decrypt_verify_memory.c62 while (ctlen > (unsigned long)ocb->block_len) { in ocb_decrypt_verify_memory()
66 ctlen -= ocb->block_len; in ocb_decrypt_verify_memory()
67 pt += ocb->block_len; in ocb_decrypt_verify_memory()
68 ct += ocb->block_len; in ocb_decrypt_verify_memory()
Docb_decrypt.c43 if (ocb->block_len != cipher_descriptor[ocb->cipher].block_length) { in ocb_decrypt()
51 for (x = 0; x < ocb->block_len; x++) { in ocb_decrypt()
57 for (x = 0; x < ocb->block_len; x++) { in ocb_decrypt()
62 for (x = 0; x < ocb->block_len; x++) { in ocb_decrypt()
Docb_shift_xor.c29 for (x = 0; x < ocb->block_len; x++) { in ocb_shift_xor()
/external/grub/stage2/
Dgunzip.c148 static int block_len; variable
768 block_len = 0; in inflate_codes_in_window()
841 return !block_len; in inflate_codes_in_window()
862 block_len = ((unsigned) b & 0xffff); in init_stored_block()
865 if (block_len != (unsigned) ((~b) & 0xffff)) in init_stored_block()
913 block_len++; in init_fixed_block()
1061 block_len++; in init_dynamic_block()
1112 if (!block_len) in inflate_window()
1137 while (block_len && w < WSIZE && !errnum) in inflate_window()
1140 block_len--; in inflate_window()
[all …]
/external/opencore/codecs_v2/audio/sbc/enc/src/
Dpvsbcencoder.cpp50 iEncConfig->block_len = config->block_len; in SetInput()
67 …if (inBufSize != (uint)(iEncConfig->block_len * iEncConfig->nrof_subbands * iEncConfig->nrof_chann… in Execute()
Dsbc_encoder.cpp63 config->block_len = 16; in encoder_init()
125 state->sbc.blocks = config->block_len; in encoder_execute()
/external/opencore/codecs_v2/audio/sbc/enc/include/
Dpvsbcencoderinterface.h89 uint8 block_len; member
/external/aes/
Daesaux.h42 enum line_type { bad_line = 0, block_len, key_len, test_no, iv_val, key_val, pt_val, ct_val }; enumerator
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_mac.h68 block_len, /* length of block */ member
152 block_len; /* length of block */ member
/external/libpcap/
Dpcap1.h166 bpf_u_int32 block_len; member