Home
last modified time | relevance | path

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

/third_party/mbedtls/include/mbedtls/
Dccm.h181 const unsigned char *ad, size_t ad_len,
230 const unsigned char *ad, size_t ad_len,
267 const unsigned char *ad, size_t ad_len,
313 const unsigned char *ad, size_t ad_len,
414 size_t ad_len );
Dcipher.h910 const unsigned char *ad, size_t ad_len );
1094 const unsigned char *ad, size_t ad_len,
1150 const unsigned char *ad, size_t ad_len,
/third_party/mbedtls/library/
Dcipher.c463 const unsigned char *ad, size_t ad_len ) in mbedtls_cipher_update_ad() argument
466 CIPHER_VALIDATE_RET( ad_len == 0 || ad != NULL ); in mbedtls_cipher_update_ad()
484 ad, ad_len ) ); in mbedtls_cipher_update_ad()
505 ad, ad_len ) ); in mbedtls_cipher_update_ad()
1344 const unsigned char *ad, size_t ad_len, in mbedtls_cipher_aead_encrypt() argument
1370 ad, ad_len, in mbedtls_cipher_aead_encrypt()
1386 ilen, iv, iv_len, ad, ad_len, in mbedtls_cipher_aead_encrypt()
1395 iv, iv_len, ad, ad_len, input, output, in mbedtls_cipher_aead_encrypt()
1411 ilen, iv, ad, ad_len, input, output, tag ) ); in mbedtls_cipher_aead_encrypt()
1424 const unsigned char *ad, size_t ad_len, in mbedtls_cipher_aead_decrypt() argument
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dtls_internal.c490 size_t res_len, ad_len; in tls_connection_handshake2() local
500 &res_len, &ad, &ad_len, need_more_data); in tls_connection_handshake2()
511 *appl_data = wpabuf_alloc_ext_data(ad, ad_len); in tls_connection_handshake2()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dtls_internal.c490 size_t res_len, ad_len; in tls_connection_handshake2() local
500 &res_len, &ad, &ad_len, need_more_data); in tls_connection_handshake2()
511 *appl_data = wpabuf_alloc_ext_data(ad, ad_len); in tls_connection_handshake2()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ft.c76 size_t ad_len[3] = { ETH_ALEN, auth_len, sizeof(type) }; in wpa_ft_rrb_decrypt() local
104 if (aes_siv_decrypt(key, key_len, enc, enc_len, 3, ad, ad_len, in wpa_ft_rrb_decrypt()
113 if (aes_siv_decrypt(key, key_len, enc, enc_len, 3, ad, ad_len, in wpa_ft_rrb_decrypt()
479 size_t ad_len[3] = { ETH_ALEN, auth_len, sizeof(type) }; in wpa_ft_rrb_encrypt() local
492 3, ad, ad_len, enc) < 0) { in wpa_ft_rrb_encrypt()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_ft.c77 size_t ad_len[3] = { ETH_ALEN, auth_len, sizeof(type) }; in wpa_ft_rrb_decrypt() local
105 if (aes_siv_decrypt(key, key_len, enc, enc_len, 3, ad, ad_len, in wpa_ft_rrb_decrypt()
114 if (aes_siv_decrypt(key, key_len, enc, enc_len, 3, ad, ad_len, in wpa_ft_rrb_decrypt()
480 size_t ad_len[3] = { ETH_ALEN, auth_len, sizeof(type) }; in wpa_ft_rrb_encrypt() local
493 3, ad, ad_len, enc) < 0) { in wpa_ft_rrb_encrypt()