Home
last modified time | relevance | path

Searched refs:ad_len (Results 1 – 3 of 3) sorted by relevance

/system/bt/stack/include/
Dadvertise_data_parser.h51 size_t ad_len = ad.size(); in RemoveTrailingZeros() local
52 while (position != ad_len) { in RemoveTrailingZeros()
65 if (position + len >= ad_len) { in RemoveTrailingZeros()
79 size_t ad_len = ad.size(); in IsValid() local
80 while (position != ad_len) { in IsValid()
87 for (size_t i = position + 1; i < ad_len; i++) { in IsValid()
95 if (position + len >= ad_len) { in IsValid()
111 static const uint8_t* GetFieldByType(const uint8_t* ad, size_t ad_len, in GetFieldByType() argument
115 while (position != ad_len) { in GetFieldByType()
119 if (position + len >= ad_len) break; in GetFieldByType()
/system/keymaster/include/keymaster/key_blob_utils/
Dae.h95 int ad_len, void* ct, void* tag, int final);
125 int ad_len, void* pt, const void* tag, int final);
/system/keymaster/key_blob_utils/
Docb.c791 static void process_ad(ae_ctx* ctx, const void* ad, int ad_len, int final) { in process_ad() argument
803 i = ad_len / (BPI * 16); in process_ad()
853 remaining = ((unsigned)ad_len) % (BPI * 16); in process_ad()
921 int ad_len, void* ct, void* tag, int final) { in ae_encrypt() argument
937 if (ad_len >= 0) in ae_encrypt()
942 if (ad_len > 0) in ae_encrypt()
943 process_ad(ctx, ad, ad_len, final); in ae_encrypt()
1132 int ad_len, void* pt, const void* tag, int final) { in ae_decrypt() argument
1156 if (ad_len >= 0) in ae_decrypt()
1161 if (ad_len > 0) in ae_decrypt()
[all …]