/external/wpa_supplicant_8/src/crypto/ |
D | crypto_nss.c | 25 size_t num_elem, const u8 *addr[], const size_t *len, in nss_hash() argument 37 for (i = 0; i < num_elem; i++) in nss_hash() 119 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() argument 121 return nss_hash(HASH_AlgMD5, 16, num_elem, addr, len, mac); in md5_vector() 125 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() argument 127 return nss_hash(HASH_AlgSHA1, 20, num_elem, addr, len, mac); in sha1_vector() 131 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, in sha256_vector() argument 134 return nss_hash(HASH_AlgSHA256, 32, num_elem, addr, len, mac); in sha256_vector()
|
D | sha1.c | 26 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector() argument 34 if (num_elem > 5) { in hmac_sha1_vector() 69 for (i = 0; i < num_elem; i++) { in hmac_sha1_vector() 73 if (sha1_vector(1 + num_elem, _addr, _len, mac)) in hmac_sha1_vector()
|
D | md5.c | 26 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector() argument 34 if (num_elem > 5) { in hmac_md5_vector() 70 for (i = 0; i < num_elem; i++) { in hmac_md5_vector() 74 if (md5_vector(1 + num_elem, _addr, _len, mac)) in hmac_md5_vector()
|
D | sha256.c | 26 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() argument 34 if (num_elem > 5) { in hmac_sha256_vector() 69 for (i = 0; i < num_elem; i++) { in hmac_sha256_vector() 73 if (sha256_vector(1 + num_elem, _addr, _len, mac) < 0) in hmac_sha256_vector()
|
D | crypto_gnutls.c | 15 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() argument 23 for (i = 0; i < num_elem; i++) in md4_vector() 55 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() argument 63 for (i = 0; i < num_elem; i++) in md5_vector() 73 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() argument 81 for (i = 0; i < num_elem; i++) in sha1_vector()
|
D | crypto_openssl.c | 81 static int openssl_digest_vector(const EVP_MD *type, size_t num_elem, in openssl_digest_vector() argument 94 for (i = 0; i < num_elem; i++) { in openssl_digest_vector() 112 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() argument 114 return openssl_digest_vector(EVP_md4(), num_elem, addr, len, mac); in md4_vector() 176 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() argument 178 return openssl_digest_vector(EVP_md5(), num_elem, addr, len, mac); in md5_vector() 182 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() argument 184 return openssl_digest_vector(EVP_sha1(), num_elem, addr, len, mac); in sha1_vector() 189 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, in sha256_vector() argument 192 return openssl_digest_vector(EVP_sha256(), num_elem, addr, len, mac); in sha256_vector() [all …]
|
D | crypto_cryptoapi.c | 106 int cryptoapi_hash_vector(ALG_ID alg, size_t hash_len, size_t num_elem, in cryptoapi_hash_vector() argument 126 for (i = 0; i < num_elem; i++) { in cryptoapi_hash_vector() 147 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() argument 149 return cryptoapi_hash_vector(CALG_MD4, 16, num_elem, addr, len, mac); in md4_vector() 218 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() argument 220 return cryptoapi_hash_vector(CALG_MD5, 16, num_elem, addr, len, mac); in md5_vector() 224 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() argument 226 return cryptoapi_hash_vector(CALG_SHA, 20, num_elem, addr, len, mac); in sha1_vector()
|
D | crypto.h | 32 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac); 42 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac); 53 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, 79 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len,
|
D | aes-omac1.c | 42 int omac1_aes_128_vector(const u8 *key, size_t num_elem, in omac1_aes_128_vector() argument 56 for (e = 0; e < num_elem; e++) in omac1_aes_128_vector()
|
D | crypto_libtomcrypt.c | 25 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() argument 31 for (i = 0; i < num_elem; i++) in md4_vector() 59 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() argument 65 for (i = 0; i < num_elem; i++) in md5_vector() 72 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() argument 78 for (i = 0; i < num_elem; i++) in sha1_vector()
|
D | crypto_none.c | 15 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() argument
|
D | md5.h | 14 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem,
|
D | sha256-internal.c | 25 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, in sha256_vector() argument 32 for (i = 0; i < num_elem; i++) in sha256_vector()
|
D | sha256.h | 14 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem,
|
D | sha1.h | 14 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem,
|
D | md4-internal.c | 29 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() argument 35 for (i = 0; i < num_elem; i++) in md4_vector()
|
D | aes_wrap.h | 25 int __must_check omac1_aes_128_vector(const u8 *key, size_t num_elem,
|
D | md5-internal.c | 31 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() argument 37 for (i = 0; i < num_elem; i++) in md5_vector()
|
/external/bluetooth/bluedroid/stack/sdp/ |
D | sdp_db.c | 219 static int sdp_compose_proto_list( UINT8 *p, UINT16 num_elem, in sdp_compose_proto_list() argument 231 for (xx = 0; xx < num_elem; xx++, p_elem_list++) in sdp_compose_proto_list() 536 BOOLEAN SDP_AddSequence (UINT32 handle, UINT16 attr_id, UINT16 num_elem, in SDP_AddSequence() argument 554 for (xx = 0; xx < num_elem; xx++) in SDP_AddSequence() 594 SDP_TRACE_ERROR ("SDP_AddSequence - too long, add %d elements of %d", xx, num_elem); in SDP_AddSequence() 669 BOOLEAN SDP_AddProtocolList (UINT32 handle, UINT16 num_elem, in SDP_AddProtocolList() argument 683 offset = sdp_compose_proto_list(p_buff, num_elem, p_elem_list); in SDP_AddProtocolList() 705 BOOLEAN SDP_AddAdditionProtoLists (UINT32 handle, UINT16 num_elem, in SDP_AddAdditionProtoLists() argument 724 for (xx = 0; xx < num_elem; xx++, p_proto_list++) in SDP_AddAdditionProtoLists()
|
/external/bluetooth/bluedroid/stack/include/ |
D | sdp_api.h | 503 UINT16 num_elem, UINT8 type[], 535 SDP_API extern BOOLEAN SDP_AddProtocolList (UINT32 handle, UINT16 num_elem, 551 SDP_API extern BOOLEAN SDP_AddAdditionProtoLists (UINT32 handle, UINT16 num_elem,
|
/external/bluetooth/bluedroid/bta/hl/ |
D | bta_hl_sdp.c | 95 int bta_hl_compose_supported_feature_list( UINT8 *p, UINT16 num_elem, in bta_hl_compose_supported_feature_list() argument 101 for (xx = 0; xx < num_elem; xx++, p_elem_list++) in bta_hl_compose_supported_feature_list() 144 BOOLEAN bta_hl_add_sup_feature_list (UINT32 handle, UINT16 num_elem, in bta_hl_add_sup_feature_list() argument 153 offset = bta_hl_compose_supported_feature_list(p_buf, num_elem, p_elem_list); in bta_hl_add_sup_feature_list()
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_gatt_multi_adv_util.c | 369 p_prop->num_elem = 0; in btif_gattc_copy_datacb() 371 p_prop->num_elem = 1; in btif_gattc_copy_datacb() 372 p_prop->p_elem = GKI_getbuf(sizeof(tBTA_BLE_PROP_ELEM) * p_prop->num_elem); in btif_gattc_copy_datacb() 549 while (i++ != p_multi_inst_cb->data.p_proprietary->num_elem in btif_gattc_cleanup_multi_inst_cb()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_eke_common.c | 217 size_t num_elem = 1; in eap_eke_prf() local 222 num_elem++; in eap_eke_prf() 228 return hmac_sha1_vector(key, key_len, num_elem, addr, len, res); in eap_eke_prf() 230 return hmac_sha256_vector(key, key_len, num_elem, addr, len, in eap_eke_prf()
|
D | ikev2_common.c | 96 size_t num_elem, const u8 *addr[], const size_t *len, in ikev2_prf_hash() argument 101 hmac_sha1_vector(key, key_len, num_elem, addr, len, hash); in ikev2_prf_hash() 104 hmac_md5_vector(key, key_len, num_elem, addr, len, hash); in ikev2_prf_hash()
|
/external/libpcap/ |
D | pcap-dos.c | 1391 if (!q || !q->num_elem || !q->buf_start) in pktq_check() 1397 for (i = 0; i < q->num_elem; i++) in pktq_check() 1412 q->num_elem = num; in pktq_init() 1443 if (q->out_index >= q->num_elem) in pktq_inc_out() 1456 if (index >= q->num_elem) in pktq_in_index()
|