Home
last modified time | relevance | path

Searched refs:pt_len (Results 1 – 9 of 9) sorted by relevance

/system/keymaster/
Dae.h94 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad,
Docb.c918 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/
Dsmp_api.h192 uint8_t pt_len, tSMP_ENC* p_out);
Dhcimsgs.h763 uint8_t* plain_text, uint8_t pt_len,
/system/bt/stack/smp/
Dsmp_api.cc484 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()
Dsmp_keys.cc113 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()
Dsmp_int.h480 uint8_t pt_len, tSMP_ENC* p_out);
/system/bt/stack/hcic/
Dhciblecmds.cc368 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/
Dble_advertiser_test.cc46 uint8_t pt_len, tSMP_ENC* p_out) { in SMP_Encrypt() argument