Searched refs:pt_len (Results 1 – 9 of 9) sorted by relevance
/system/keymaster/ |
D | ae.h | 94 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad,
|
D | ocb.c | 918 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad, in ae_encrypt() argument 946 i = pt_len / (BPI * 16); in ae_encrypt() 1007 unsigned remaining = ((unsigned)pt_len) % (BPI * 16); in ae_encrypt() 1094 memcpy((char*)ct + pt_len, &offset, OCB_TAG_LEN); in ae_encrypt() 1095 pt_len += OCB_TAG_LEN; in ae_encrypt() 1097 memcpy((char*)ct + pt_len, &offset, ctx->tag_len); in ae_encrypt() 1098 pt_len += ctx->tag_len; in ae_encrypt() 1102 return (int)pt_len; in ae_encrypt()
|
/system/bt/stack/include/ |
D | smp_api.h | 192 uint8_t pt_len, tSMP_ENC* p_out);
|
D | hcimsgs.h | 763 uint8_t* plain_text, uint8_t pt_len,
|
/system/bt/stack/smp/ |
D | smp_api.cc | 484 uint8_t pt_len, tSMP_ENC* p_out) in SMP_Encrypt() argument 488 status = smp_encrypt_data(key, key_len, plain_text, pt_len, p_out); in SMP_Encrypt()
|
D | smp_keys.cc | 113 uint8_t pt_len, tSMP_ENC* p_out) { in smp_encrypt_data() argument 129 if (pt_len > SMP_ENCRYT_DATA_SIZE) pt_len = SMP_ENCRYT_DATA_SIZE; in smp_encrypt_data() 132 ARRAY_TO_STREAM(p, plain_text, pt_len); /* byte 0 to byte 15 */ in smp_encrypt_data()
|
D | smp_int.h | 480 uint8_t pt_len, tSMP_ENC* p_out);
|
/system/bt/stack/hcic/ |
D | hciblecmds.cc | 368 uint8_t pt_len, void* p_cmd_cplt_cback) { in btsnd_hcic_ble_encrypt() argument 385 if (pt_len > HCIC_BLE_ENCRYT_KEY_SIZE) pt_len = HCIC_BLE_ENCRYT_KEY_SIZE; in btsnd_hcic_ble_encrypt() 389 ARRAY_TO_STREAM(pp, plain_text, pt_len); in btsnd_hcic_ble_encrypt()
|
/system/bt/stack/test/ |
D | ble_advertiser_test.cc | 46 uint8_t pt_len, tSMP_ENC* p_out) { in SMP_Encrypt() argument
|