Home
last modified time | relevance | path

Searched refs:pt (Results 1 – 6 of 6) sorted by relevance

/system/keymaster/
Docb.c917 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad, in ae_encrypt() argument
927 const block* ptp = (block*)pt; in ae_encrypt()
1129 int ad_len, void* pt, const void* tag, int final) { in ae_decrypt() argument
1138 block* ptp = (block*)pt; in ae_decrypt()
1351 ALIGN(16) char pt[128];
1355 for (i=0; i < 128; i++) pt[i] = i;
1356 i = ae_encrypt(ctx,nonce,pt,len,pt,len,ct,NULL,AE_FINALIZE);
1358 i = ae_encrypt(ctx,nonce,pt,0,pt,len,ct,NULL,AE_FINALIZE);
1360 i = ae_encrypt(ctx,nonce,pt,len,pt,0,ct,NULL,AE_FINALIZE);
1366 ALIGN(16) char pt[1024];
[all …]
Dae.h94 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad,
125 int ad_len, void* pt, const void* tag, int final);
/system/bt/bta/gatt/
Dbta_gatts_utils.c195 UINT8 *ps, *pt; in bta_gatts_uuid_compare() local
223 pt = tu; in bta_gatts_uuid_compare()
226 pt = tar.uu.uuid128; in bta_gatts_uuid_compare()
228 return(memcmp(ps, pt, LEN_UUID_128) == 0); in bta_gatts_uuid_compare()
Dbta_gattc_utils.c79 UINT8 *ps, *pt; in bta_gattc_uuid_compare() local
110 pt = tu; in bta_gattc_uuid_compare()
113 pt = p_tar->uu.uuid128; in bta_gattc_uuid_compare()
115 return(memcmp(ps, pt, LEN_UUID_128) == 0); in bta_gattc_uuid_compare()
/system/bt/stack/avdt/
Davdt_scb_act.c340 AVDT_REPORT_TYPE pt; in avdt_scb_hdl_report() local
349 pt = *p++; in avdt_scb_hdl_report()
356 switch(pt) in avdt_scb_hdl_report()
390 AVDT_TRACE_ERROR( "Bad Report pkt - packet type: %d", pt); in avdt_scb_hdl_report()
395 (*p_scb->cs.p_report_cback)(avdt_scb_to_hdl(p_scb), pt, p_rpt); in avdt_scb_hdl_report()
/system/bt/stack/gatt/
Dgatt_utils.c1003 UINT8 *ps, *pt; in gatt_uuid_compare() local
1042 pt = tu; in gatt_uuid_compare()
1048 pt = tu; in gatt_uuid_compare()
1051 pt = tar.uu.uuid128; in gatt_uuid_compare()
1053 return(memcmp(ps, pt, LEN_UUID_128) == 0); in gatt_uuid_compare()