Home
last modified time | relevance | path

Searched refs:plain_len (Results 1 – 19 of 19) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Daes-ccm.c29 const u8 *aad, size_t aad_len, size_t plain_len, in aes_ccm_auth_start() argument
41 WPA_PUT_BE16(&b[AES_BLOCK_SIZE - L], plain_len); in aes_ccm_auth_start()
149 size_t M, const u8 *plain, size_t plain_len, in aes_ccm_ae() argument
163 aes_ccm_auth_start(aes, M, L, nonce, aad, aad_len, plain_len, x); in aes_ccm_ae()
164 aes_ccm_auth(aes, plain, plain_len, x); in aes_ccm_ae()
168 aes_ccm_encr(aes, L, plain, plain_len, crypt, a); in aes_ccm_ae()
Dcrypto_internal-rsa.c113 u8 *plain, size_t *plain_len) in crypto_public_key_decrypt_pkcs1() argument
116 crypt, crypt_len, plain, plain_len); in crypto_public_key_decrypt_pkcs1()
Daes-gcm.c255 const u8 *plain, size_t plain_len, in aes_gcm_ae() argument
270 aes_gcm_gctr(aes, J0, plain, plain_len, crypt); in aes_gcm_ae()
272 aes_gcm_ghash(H, aad, aad_len, crypt, plain_len, S); in aes_gcm_ae()
Daes_wrap.h54 const u8 *plain, size_t plain_len,
66 size_t M, const u8 *plain, size_t plain_len,
Dcrypto_libtomcrypt.c617 u8 *plain, size_t *plain_len) in crypto_public_key_decrypt_pkcs1() argument
623 len = *plain_len; in crypto_public_key_decrypt_pkcs1()
668 *plain_len = len; in crypto_public_key_decrypt_pkcs1()
Dcrypto.h418 u8 *plain, size_t *plain_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Daes-ccm.c29 const u8 *aad, size_t aad_len, size_t plain_len, in aes_ccm_auth_start() argument
41 WPA_PUT_BE16(&b[AES_BLOCK_SIZE - L], plain_len); in aes_ccm_auth_start()
149 size_t M, const u8 *plain, size_t plain_len, in aes_ccm_ae() argument
163 aes_ccm_auth_start(aes, M, L, nonce, aad, aad_len, plain_len, x); in aes_ccm_ae()
164 aes_ccm_auth(aes, plain, plain_len, x); in aes_ccm_ae()
168 aes_ccm_encr(aes, L, plain, plain_len, crypt, a); in aes_ccm_ae()
Dcrypto_internal-rsa.c113 u8 *plain, size_t *plain_len) in crypto_public_key_decrypt_pkcs1() argument
116 crypt, crypt_len, plain, plain_len); in crypto_public_key_decrypt_pkcs1()
Daes-gcm.c255 const u8 *plain, size_t plain_len, in aes_gcm_ae() argument
270 aes_gcm_gctr(aes, J0, plain, plain_len, crypt); in aes_gcm_ae()
272 aes_gcm_ghash(H, aad, aad_len, crypt, plain_len, S); in aes_gcm_ae()
Daes_wrap.h54 const u8 *plain, size_t plain_len,
66 size_t M, const u8 *plain, size_t plain_len,
Dcrypto_libtomcrypt.c617 u8 *plain, size_t *plain_len) in crypto_public_key_decrypt_pkcs1() argument
623 len = *plain_len; in crypto_public_key_decrypt_pkcs1()
668 *plain_len = len; in crypto_public_key_decrypt_pkcs1()
Dcrypto.h418 u8 *plain, size_t *plain_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dpkcs1.c136 u8 *plain, size_t *plain_len) in pkcs1_decrypt_public_key() argument
141 len = *plain_len; in pkcs1_decrypt_public_key()
194 *plain_len = len; in pkcs1_decrypt_public_key()
Dpkcs1.h23 u8 *plain, size_t *plain_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dpkcs1.c136 u8 *plain, size_t *plain_len) in pkcs1_decrypt_public_key() argument
141 len = *plain_len; in pkcs1_decrypt_public_key()
190 *plain_len = len; in pkcs1_decrypt_public_key()
Dpkcs1.h23 u8 *plain, size_t *plain_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ft.c137 static int wpa_ft_rrb_get_tlv(const u8 *plain, size_t plain_len, in wpa_ft_rrb_get_tlv() argument
145 left = plain_len; in wpa_ft_rrb_get_tlv()
174 static void wpa_ft_rrb_dump(const u8 *plain, const size_t plain_len) in wpa_ft_rrb_dump() argument
180 left = plain_len; in wpa_ft_rrb_dump()
223 static int wpa_ft_rrb_get_tlv_vlan(const u8 *plain, const size_t plain_len, in wpa_ft_rrb_get_tlv_vlan() argument
233 left = plain_len; in wpa_ft_rrb_get_tlv_vlan()
435 u8 **plain, size_t *plain_len) in wpa_ft_rrb_lin() argument
444 *plain_len = tlv_len; in wpa_ft_rrb_lin()
468 *plain_len = 0; in wpa_ft_rrb_lin()
474 const u8 *plain, const size_t plain_len, in wpa_ft_rrb_encrypt() argument
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_ft.c138 static int wpa_ft_rrb_get_tlv(const u8 *plain, size_t plain_len, in wpa_ft_rrb_get_tlv() argument
146 left = plain_len; in wpa_ft_rrb_get_tlv()
175 static void wpa_ft_rrb_dump(const u8 *plain, const size_t plain_len) in wpa_ft_rrb_dump() argument
181 left = plain_len; in wpa_ft_rrb_dump()
224 static int wpa_ft_rrb_get_tlv_vlan(const u8 *plain, const size_t plain_len, in wpa_ft_rrb_get_tlv_vlan() argument
234 left = plain_len; in wpa_ft_rrb_get_tlv_vlan()
436 u8 **plain, size_t *plain_len) in wpa_ft_rrb_lin() argument
445 *plain_len = tlv_len; in wpa_ft_rrb_lin()
469 *plain_len = 0; in wpa_ft_rrb_lin()
475 const u8 *plain, const size_t plain_len, in wpa_ft_rrb_encrypt() argument
[all …]
Dwpa_auth.c2757 size_t plain_len; in fils_prepare_plainbuf() local
2760 plain_len = 1000 + ieee80211w_kde_len(sm); in fils_prepare_plainbuf()
2762 plain_len += 2 + RSN_SELECTOR_LEN + 1; in fils_prepare_plainbuf()
2763 plain = wpabuf_alloc(plain_len); in fils_prepare_plainbuf()