/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()
|
/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/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()
|
/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/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/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/bluetooth/bluez/tools/ |
D | avinfo.c | 178 uint8_t block_length:4; member 230 uint8_t block_length:4; member 374 if (sbc->block_length & SBC_BLOCK_LENGTH_4) in print_sbc() 376 if (sbc->block_length & SBC_BLOCK_LENGTH_8) in print_sbc() 378 if (sbc->block_length & SBC_BLOCK_LENGTH_12) in print_sbc() 380 if (sbc->block_length & SBC_BLOCK_LENGTH_16) in print_sbc()
|
/external/bluetooth/bluez/audio/ |
D | source.c | 385 if (supported->block_length & SBC_BLOCK_LENGTH_16) in select_sbc_params() 386 cap->block_length = SBC_BLOCK_LENGTH_16; in select_sbc_params() 387 else if (supported->block_length & SBC_BLOCK_LENGTH_12) in select_sbc_params() 388 cap->block_length = SBC_BLOCK_LENGTH_12; in select_sbc_params() 389 else if (supported->block_length & SBC_BLOCK_LENGTH_8) in select_sbc_params() 390 cap->block_length = SBC_BLOCK_LENGTH_8; in select_sbc_params() 391 else if (supported->block_length & SBC_BLOCK_LENGTH_4) in select_sbc_params() 392 cap->block_length = SBC_BLOCK_LENGTH_4; in select_sbc_params()
|
D | liba2dp.c | 394 if (cap->block_length & BT_A2DP_BLOCK_LENGTH_16) in bluetooth_a2dp_init() 395 cap->block_length = BT_A2DP_BLOCK_LENGTH_16; in bluetooth_a2dp_init() 396 else if (cap->block_length & BT_A2DP_BLOCK_LENGTH_12) in bluetooth_a2dp_init() 397 cap->block_length = BT_A2DP_BLOCK_LENGTH_12; in bluetooth_a2dp_init() 398 else if (cap->block_length & BT_A2DP_BLOCK_LENGTH_8) in bluetooth_a2dp_init() 399 cap->block_length = BT_A2DP_BLOCK_LENGTH_8; in bluetooth_a2dp_init() 400 else if (cap->block_length & BT_A2DP_BLOCK_LENGTH_4) in bluetooth_a2dp_init() 401 cap->block_length = BT_A2DP_BLOCK_LENGTH_4; in bluetooth_a2dp_init() 475 switch (active_capabilities.block_length) { in bluetooth_a2dp_setup() 595 switch (data->sbc_capabilities.block_length) { in bluetooth_a2dp_hw_params() [all …]
|
D | sink.c | 418 if (supported->block_length & SBC_BLOCK_LENGTH_16) in select_sbc_params() 419 cap->block_length = SBC_BLOCK_LENGTH_16; in select_sbc_params() 420 else if (supported->block_length & SBC_BLOCK_LENGTH_12) in select_sbc_params() 421 cap->block_length = SBC_BLOCK_LENGTH_12; in select_sbc_params() 422 else if (supported->block_length & SBC_BLOCK_LENGTH_8) in select_sbc_params() 423 cap->block_length = SBC_BLOCK_LENGTH_8; in select_sbc_params() 424 else if (supported->block_length & SBC_BLOCK_LENGTH_4) in select_sbc_params() 425 cap->block_length = SBC_BLOCK_LENGTH_4; in select_sbc_params()
|
D | pcm_bluetooth.c | 122 uint8_t block_length; /* A2DP only */ member 573 cap->block_length = cfg->block_length; in bluetooth_a2dp_init() 574 else if (cap->block_length & BT_A2DP_BLOCK_LENGTH_16) in bluetooth_a2dp_init() 575 cap->block_length = BT_A2DP_BLOCK_LENGTH_16; in bluetooth_a2dp_init() 576 else if (cap->block_length & BT_A2DP_BLOCK_LENGTH_12) in bluetooth_a2dp_init() 577 cap->block_length = BT_A2DP_BLOCK_LENGTH_12; in bluetooth_a2dp_init() 578 else if (cap->block_length & BT_A2DP_BLOCK_LENGTH_8) in bluetooth_a2dp_init() 579 cap->block_length = BT_A2DP_BLOCK_LENGTH_8; in bluetooth_a2dp_init() 580 else if (cap->block_length & BT_A2DP_BLOCK_LENGTH_4) in bluetooth_a2dp_init() 581 cap->block_length = BT_A2DP_BLOCK_LENGTH_4; in bluetooth_a2dp_init() [all …]
|
D | a2dp.h | 78 uint8_t block_length:4; member 100 uint8_t block_length:4; member
|
D | gstavdtpsink.c | 342 cfg->block_length = BT_A2DP_BLOCK_LENGTH_16; in gst_avdtp_sink_init_sbc_pkt_conf() 344 cfg->block_length = BT_A2DP_BLOCK_LENGTH_12; in gst_avdtp_sink_init_sbc_pkt_conf() 346 cfg->block_length = BT_A2DP_BLOCK_LENGTH_8; in gst_avdtp_sink_init_sbc_pkt_conf() 348 cfg->block_length = BT_A2DP_BLOCK_LENGTH_4; in gst_avdtp_sink_init_sbc_pkt_conf() 500 if (sbc->block_length & BT_A2DP_BLOCK_LENGTH_16) { in gst_avdtp_sink_parse_sbc_caps() 504 if (sbc->block_length & BT_A2DP_BLOCK_LENGTH_12) { in gst_avdtp_sink_parse_sbc_caps() 508 if (sbc->block_length & BT_A2DP_BLOCK_LENGTH_8) { in gst_avdtp_sink_parse_sbc_caps() 512 if (sbc->block_length & BT_A2DP_BLOCK_LENGTH_4) { in gst_avdtp_sink_parse_sbc_caps()
|
/external/bluetooth/bluez/test/ |
D | ipctest.c | 444 if (cap->block_length & BT_A2DP_BLOCK_LENGTH_16) in setup_a2dp() 445 cap->block_length = BT_A2DP_BLOCK_LENGTH_16; in setup_a2dp() 446 else if (cap->block_length & BT_A2DP_BLOCK_LENGTH_12) in setup_a2dp() 447 cap->block_length = BT_A2DP_BLOCK_LENGTH_12; in setup_a2dp() 448 else if (cap->block_length & BT_A2DP_BLOCK_LENGTH_8) in setup_a2dp() 449 cap->block_length = BT_A2DP_BLOCK_LENGTH_8; in setup_a2dp() 450 else if (cap->block_length & BT_A2DP_BLOCK_LENGTH_4) in setup_a2dp() 451 cap->block_length = BT_A2DP_BLOCK_LENGTH_4; in setup_a2dp() 549 switch (active_capabilities->block_length) { in setup_sbc()
|
/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/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/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()
|