Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/key_blob_utils/
Dae.h94 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad,
/system/keymaster/key_blob_utils/
Docb.c938 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad, in ae_encrypt() argument
966 i = pt_len / (BPI * 16); in ae_encrypt()
1027 unsigned remaining = ((unsigned)pt_len) % (BPI * 16); in ae_encrypt()
1120 memcpy((char*)ct + pt_len, &offset, OCB_TAG_LEN); in ae_encrypt()
1121 pt_len += OCB_TAG_LEN; in ae_encrypt()
1123 memcpy((char*)ct + pt_len, &offset, ctx->tag_len); in ae_encrypt()
1124 pt_len += ctx->tag_len; in ae_encrypt()
1128 return (int)pt_len; in ae_encrypt()
/system/bt/stack/hcic/
Dhciblecmds.cc354 uint8_t pt_len, void* p_cmd_cplt_cback) { in btsnd_hcic_ble_encrypt() argument
371 if (pt_len > HCIC_BLE_ENCRYT_KEY_SIZE) pt_len = HCIC_BLE_ENCRYT_KEY_SIZE; in btsnd_hcic_ble_encrypt()
375 ARRAY_TO_STREAM(pp, plain_text, pt_len); in btsnd_hcic_ble_encrypt()
/system/bt/stack/include/
Dhcimsgs.h785 uint8_t* plain_text, uint8_t pt_len,