/external/dropbear/libtomcrypt/src/modes/ecb/ |
D | ecb_decrypt.c | 37 if (len % cipher_descriptor[ecb->cipher].block_length) { in ecb_decrypt() 43 …b->cipher].accel_ecb_decrypt(ct, pt, len / cipher_descriptor[ecb->cipher].block_length, &ecb->key); in ecb_decrypt() 49 pt += cipher_descriptor[ecb->cipher].block_length; in ecb_decrypt() 50 ct += cipher_descriptor[ecb->cipher].block_length; in ecb_decrypt() 51 len -= cipher_descriptor[ecb->cipher].block_length; in ecb_decrypt()
|
D | ecb_encrypt.c | 37 if (len % cipher_descriptor[ecb->cipher].block_length) { in ecb_encrypt() 43 …b->cipher].accel_ecb_encrypt(pt, ct, len / cipher_descriptor[ecb->cipher].block_length, &ecb->key); in ecb_encrypt() 49 pt += cipher_descriptor[ecb->cipher].block_length; in ecb_encrypt() 50 ct += cipher_descriptor[ecb->cipher].block_length; in ecb_encrypt() 51 len -= cipher_descriptor[ecb->cipher].block_length; in ecb_encrypt()
|
D | ecb_start.c | 40 ecb->blocklen = cipher_descriptor[cipher].block_length; in ecb_start()
|
/external/dropbear/libtomcrypt/src/mac/xcbc/ |
D | xcbc_init.c | 41 if (cipher_descriptor[cipher].block_length % sizeof(LTC_FAST_TYPE)) { in xcbc_init() 58 for (x = 0; x < cipher_descriptor[cipher].block_length; x++) { in xcbc_init() 65 …err = cipher_descriptor[cipher].setup(xcbc->K[0], cipher_descriptor[cipher].block_length, 0, &xcbc… in xcbc_init() 68 zeromem(xcbc->IV, cipher_descriptor[cipher].block_length); in xcbc_init() 69 xcbc->blocksize = cipher_descriptor[cipher].block_length; in xcbc_init()
|
D | xcbc_process.c | 41 if ((xcbc->blocksize > cipher_descriptor[xcbc->cipher].block_length) || (xcbc->blocksize < 0) || in xcbc_process()
|
D | xcbc_done.c | 37 if ((xcbc->blocksize > cipher_descriptor[xcbc->cipher].block_length) || (xcbc->blocksize < 0) || in xcbc_done()
|
/external/dropbear/libtomcrypt/src/mac/f9/ |
D | f9_init.c | 40 if (cipher_descriptor[cipher].block_length % sizeof(LTC_FAST_TYPE)) { in f9_init() 55 zeromem(f9->IV, cipher_descriptor[cipher].block_length); in f9_init() 56 zeromem(f9->ACC, cipher_descriptor[cipher].block_length); in f9_init() 57 f9->blocksize = cipher_descriptor[cipher].block_length; in f9_init()
|
D | f9_done.c | 37 if ((f9->blocksize > cipher_descriptor[f9->cipher].block_length) || (f9->blocksize < 0) || in f9_done()
|
D | f9_process.c | 38 if ((f9->blocksize > cipher_descriptor[f9->cipher].block_length) || (f9->blocksize < 0) || in f9_process()
|
/external/dropbear/libtomcrypt/src/hashes/chc/ |
D | chc.c | 51 kl = cipher_descriptor[cipher].block_length; in chc_register() 63 if (kl != cipher_descriptor[cipher].block_length) { in chc_register() 74 hash_descriptor[idx].blocksize = cipher_descriptor[cipher].block_length; in chc_register() 78 cipher_blocksize = cipher_descriptor[cipher].block_length; in chc_register() 100 if (cipher_blocksize != cipher_descriptor[cipher_idx].block_length) { in chc_init() 180 if (cipher_blocksize != cipher_descriptor[cipher_idx].block_length) { in chc_process() 204 if (cipher_blocksize != cipher_descriptor[cipher_idx].block_length) { in chc_done()
|
/external/dropbear/libtomcrypt/demos/ |
D | tv_gen.c | 203 for (z = 0; (int)z < cipher_descriptor[x].block_length; z++) { in cipher_gen() 209 for (z = 0; (int)z < cipher_descriptor[x].block_length; z++) { in cipher_gen() 216 key[z] = pt[z % cipher_descriptor[x].block_length]; in cipher_gen() 298 kl = cipher_descriptor[x].block_length; in omac_gen() 313 for (y = 0; y <= (int)(cipher_descriptor[x].block_length*2); y++) { in omac_gen() 353 kl = cipher_descriptor[x].block_length; in pmac_gen() 368 for (y = 0; y <= (int)(cipher_descriptor[x].block_length*2); y++) { in pmac_gen() 407 kl = cipher_descriptor[x].block_length; in eax_gen() 422 for (y1 = 0; y1 <= (int)(cipher_descriptor[x].block_length*2); y1++){ in eax_gen() 467 kl = cipher_descriptor[x].block_length; in ocb_gen() [all …]
|
/external/dropbear/libtomcrypt/src/mac/omac/ |
D | omac_init.c | 42 if (cipher_descriptor[cipher].block_length % sizeof(LTC_FAST_TYPE)) { in omac_init() 48 switch (cipher_descriptor[cipher].block_length) { in omac_init() 65 zeromem(omac->Lu[0], cipher_descriptor[cipher].block_length); in omac_init()
|
/external/qemu/hw/ |
D | goldfish_mmc.c | 78 uint32_t block_length; member 98 QFIELD_INT32(block_length), in QFIELD_INT32() 359 s->block_length = arg; in goldfish_mmc_do_command() 372 arg /= s->block_length; in goldfish_mmc_do_command() 389 arg /= s->block_length; in goldfish_mmc_do_command() 479 s->block_length = val + 1; in goldfish_mmc_write()
|
/external/dropbear/libtomcrypt/src/modes/f8/ |
D | f8_start.c | 51 if (cipher_descriptor[cipher].block_length % sizeof(LTC_FAST_TYPE)) { in f8_start() 59 f8->blocklen = cipher_descriptor[cipher].block_length; in f8_start()
|
/external/flac/libFLAC/ |
D | metadata_iterators.c | 94 …handle, FLAC__IOCallback_Seek seek_cb, FLAC__StreamMetadata_Padding *block, unsigned block_length); 95 …le, FLAC__IOCallback_Read read_cb, FLAC__StreamMetadata_Application *block, unsigned block_length); 96 …ndle, FLAC__IOCallback_Read read_cb, FLAC__StreamMetadata_SeekTable *block, unsigned block_length); 102 …handle, FLAC__IOCallback_Read read_cb, FLAC__StreamMetadata_Unknown *block, unsigned block_length); 109 …FLAC__IOCallback_Write write_cb, const FLAC__StreamMetadata_Padding *block, unsigned block_length); 110 …__IOCallback_Write write_cb, const FLAC__StreamMetadata_Application *block, unsigned block_length); 115 …FLAC__IOCallback_Write write_cb, const FLAC__StreamMetadata_Unknown *block, unsigned block_length); 2146 … handle, FLAC__IOCallback_Seek seek_cb, FLAC__StreamMetadata_Padding *block, unsigned block_length) in read_metadata_block_data_padding_cb_() argument 2150 if(0 != seek_cb(handle, block_length, SEEK_CUR)) in read_metadata_block_data_padding_cb_() 2156 …dle, FLAC__IOCallback_Read read_cb, FLAC__StreamMetadata_Application *block, unsigned block_length) in read_metadata_block_data_application_cb_() argument [all …]
|
/external/dropbear/libtomcrypt/src/misc/crypt/ |
D | crypt_find_cipher_any.c | 39 …if (blocklen <= (int)cipher_descriptor[x].block_length && keylen <= (int)cipher_descriptor[x].max_… in find_cipher_any()
|
/external/dropbear/libtomcrypt/src/modes/ofb/ |
D | ofb_start.c | 46 ofb->blocklen = cipher_descriptor[cipher].block_length; in ofb_start()
|
/external/dropbear/libtomcrypt/src/modes/cbc/ |
D | cbc_start.c | 50 cbc->blocklen = cipher_descriptor[cipher].block_length; in cbc_start()
|
/external/dropbear/libtomcrypt/src/modes/cfb/ |
D | cfb_start.c | 47 cfb->blocklen = cipher_descriptor[cipher].block_length; in cfb_start()
|
/external/dropbear/libtomcrypt/src/encauth/ocb/ |
D | ocb_encrypt.c | 38 if (ocb->block_len != cipher_descriptor[ocb->cipher].block_length) { in ocb_encrypt()
|
D | ocb_decrypt.c | 43 if (ocb->block_len != cipher_descriptor[ocb->cipher].block_length) { in ocb_decrypt()
|
/external/dropbear/libtomcrypt/testprof/ |
D | x86_prof.c | 348 results[no_results].spd1 = a1/(sizeof(pt)/cipher_descriptor[x].block_length); in time_cipher() 349 results[no_results].spd2 = a2/(sizeof(pt)/cipher_descriptor[x].block_length); in time_cipher() 420 results[no_results].spd1 = a1/(sizeof(pt)/cipher_descriptor[x].block_length); in time_cipher2() 421 results[no_results].spd2 = a2/(sizeof(pt)/cipher_descriptor[x].block_length); in time_cipher2() 495 results[no_results].spd1 = a1/(sizeof(pt)/cipher_descriptor[x].block_length); in time_cipher3() 496 results[no_results].spd2 = a2/(sizeof(pt)/cipher_descriptor[x].block_length); in time_cipher3() 524 if (cipher_descriptor[x].block_length != 16) continue; in time_cipher4() 572 results[no_results].spd1 = a1/(sizeof(pt)/cipher_descriptor[x].block_length); in time_cipher4() 573 results[no_results].spd2 = a2/(sizeof(pt)/cipher_descriptor[x].block_length); in time_cipher4()
|
/external/dropbear/libtomcrypt/src/modes/ctr/ |
D | ctr_start.c | 55 ctr->blocklen = cipher_descriptor[cipher].block_length; in ctr_start()
|
/external/dropbear/libtomcrypt/src/modes/lrw/ |
D | lrw_start.c | 59 if (cipher_descriptor[cipher].block_length != 16) { in lrw_start()
|
/external/dropbear/libtomcrypt/src/encauth/gcm/ |
D | gcm_init.c | 50 if (cipher_descriptor[cipher].block_length != 16) { in gcm_init()
|