/external/dropbear/libtomcrypt/src/modes/ecb/ |
H A D | ecb_decrypt.c | 37 if (len % cipher_descriptor[ecb->cipher].block_length) { 43 return cipher_descriptor[ecb->cipher].accel_ecb_decrypt(ct, pt, len / cipher_descriptor[ecb->cipher].block_length, &ecb->key); 49 pt += cipher_descriptor[ecb->cipher].block_length; 50 ct += cipher_descriptor[ecb->cipher].block_length; 51 len -= cipher_descriptor[ecb->cipher].block_length;
|
H A D | ecb_encrypt.c | 37 if (len % cipher_descriptor[ecb->cipher].block_length) { 43 return cipher_descriptor[ecb->cipher].accel_ecb_encrypt(pt, ct, len / cipher_descriptor[ecb->cipher].block_length, &ecb->key); 49 pt += cipher_descriptor[ecb->cipher].block_length; 50 ct += cipher_descriptor[ecb->cipher].block_length; 51 len -= cipher_descriptor[ecb->cipher].block_length;
|
H A D | ecb_start.c | 40 ecb->blocklen = cipher_descriptor[cipher].block_length;
|
/external/dropbear/libtomcrypt/src/mac/f9/ |
H A D | f9_init.c | 40 if (cipher_descriptor[cipher].block_length % sizeof(LTC_FAST_TYPE)) { 55 zeromem(f9->IV, cipher_descriptor[cipher].block_length); 56 zeromem(f9->ACC, cipher_descriptor[cipher].block_length); 57 f9->blocksize = cipher_descriptor[cipher].block_length;
|
H A D | f9_done.c | 37 if ((f9->blocksize > cipher_descriptor[f9->cipher].block_length) || (f9->blocksize < 0) ||
|
H A D | f9_process.c | 38 if ((f9->blocksize > cipher_descriptor[f9->cipher].block_length) || (f9->blocksize < 0) ||
|
/external/dropbear/libtomcrypt/src/mac/xcbc/ |
H A D | xcbc_init.c | 41 if (cipher_descriptor[cipher].block_length % sizeof(LTC_FAST_TYPE)) { 58 for (x = 0; x < cipher_descriptor[cipher].block_length; x++) { 65 err = cipher_descriptor[cipher].setup(xcbc->K[0], cipher_descriptor[cipher].block_length, 0, &xcbc->key); 68 zeromem(xcbc->IV, cipher_descriptor[cipher].block_length); 69 xcbc->blocksize = cipher_descriptor[cipher].block_length;
|
H A D | xcbc_done.c | 37 if ((xcbc->blocksize > cipher_descriptor[xcbc->cipher].block_length) || (xcbc->blocksize < 0) ||
|
H A D | xcbc_process.c | 41 if ((xcbc->blocksize > cipher_descriptor[xcbc->cipher].block_length) || (xcbc->blocksize < 0) ||
|
/external/dropbear/libtomcrypt/src/misc/crypt/ |
H A D | crypt_find_cipher_any.c | 39 if (blocklen <= (int)cipher_descriptor[x].block_length && keylen <= (int)cipher_descriptor[x].max_key_length) {
|
/external/dropbear/libtomcrypt/src/mac/omac/ |
H A D | omac_init.c | 42 if (cipher_descriptor[cipher].block_length % sizeof(LTC_FAST_TYPE)) { 48 switch (cipher_descriptor[cipher].block_length) { 65 zeromem(omac->Lu[0], cipher_descriptor[cipher].block_length);
|
/external/dropbear/libtomcrypt/src/modes/cbc/ |
H A D | cbc_start.c | 50 cbc->blocklen = cipher_descriptor[cipher].block_length;
|
/external/dropbear/libtomcrypt/src/modes/ofb/ |
H A D | ofb_start.c | 46 ofb->blocklen = cipher_descriptor[cipher].block_length;
|
/external/dropbear/libtomcrypt/src/hashes/chc/ |
H A D | chc.c | 51 kl = cipher_descriptor[cipher].block_length; 63 if (kl != cipher_descriptor[cipher].block_length) { 74 hash_descriptor[idx].blocksize = cipher_descriptor[cipher].block_length; 78 cipher_blocksize = cipher_descriptor[cipher].block_length; 100 if (cipher_blocksize != cipher_descriptor[cipher_idx].block_length) { 180 if (cipher_blocksize != cipher_descriptor[cipher_idx].block_length) { 204 if (cipher_blocksize != cipher_descriptor[cipher_idx].block_length) {
|
/external/dropbear/libtomcrypt/src/modes/cfb/ |
H A D | cfb_start.c | 47 cfb->blocklen = cipher_descriptor[cipher].block_length;
|
/external/dropbear/libtomcrypt/src/modes/f8/ |
H A D | f8_start.c | 51 if (cipher_descriptor[cipher].block_length % sizeof(LTC_FAST_TYPE)) { 59 f8->blocklen = cipher_descriptor[cipher].block_length;
|
/external/qemu/hw/ |
H A D | goldfish_mmc.c | 78 uint32_t block_length; member in struct:goldfish_mmc_state 98 QFIELD_INT32(block_length), 359 s->block_length = arg; 372 arg /= s->block_length; 389 arg /= s->block_length; 479 s->block_length = val + 1;
|
/external/dropbear/libtomcrypt/demos/ |
H A D | tv_gen.c | 203 for (z = 0; (int)z < cipher_descriptor[x].block_length; z++) { 209 for (z = 0; (int)z < cipher_descriptor[x].block_length; z++) { 216 key[z] = pt[z % cipher_descriptor[x].block_length]; 298 kl = cipher_descriptor[x].block_length; 313 for (y = 0; y <= (int)(cipher_descriptor[x].block_length*2); y++) { 353 kl = cipher_descriptor[x].block_length; 368 for (y = 0; y <= (int)(cipher_descriptor[x].block_length*2); y++) { 407 kl = cipher_descriptor[x].block_length; 422 for (y1 = 0; y1 <= (int)(cipher_descriptor[x].block_length*2); y1++){ 467 kl = cipher_descriptor[x].block_length; [all...] |
/external/dropbear/libtomcrypt/src/encauth/ocb/ |
H A D | ocb_decrypt.c | 43 if (ocb->block_len != cipher_descriptor[ocb->cipher].block_length) {
|
H A D | ocb_encrypt.c | 38 if (ocb->block_len != cipher_descriptor[ocb->cipher].block_length) {
|
H A D | s_ocb_done.c | 54 if (ocb->block_len != cipher_descriptor[ocb->cipher].block_length ||
|
/external/dropbear/libtomcrypt/src/modes/ctr/ |
H A D | ctr_start.c | 55 ctr->blocklen = cipher_descriptor[cipher].block_length;
|
/external/dropbear/libtomcrypt/src/modes/lrw/ |
H A D | lrw_start.c | 59 if (cipher_descriptor[cipher].block_length != 16) {
|
/external/dropbear/libtomcrypt/src/encauth/gcm/ |
H A D | gcm_init.c | 50 if (cipher_descriptor[cipher].block_length != 16) {
|
/external/dropbear/libtomcrypt/src/encauth/eax/ |
H A D | eax_init.c | 53 blklen = cipher_descriptor[cipher].block_length;
|