Home
last modified time | relevance | path

Searched refs:crypt_len (Results 1 – 11 of 11) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Daes-siv.c170 size_t crypt_len; in aes_siv_decrypt() local
179 crypt_len = iv_c_len - AES_BLOCK_SIZE; in aes_siv_decrypt()
189 _len[num_elem] = crypt_len; in aes_siv_decrypt()
192 os_memcpy(out, iv_crypt + AES_BLOCK_SIZE, crypt_len); in aes_siv_decrypt()
197 ret = aes_ctr_encrypt(k2, key_len, iv, out, crypt_len); in aes_siv_decrypt()
Daes-gcm.c230 const u8 *crypt, size_t crypt_len, u8 *S) in aes_gcm_ghash() argument
242 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash()
244 WPA_PUT_BE64(len_buf + 8, crypt_len * 8); in aes_gcm_ghash()
289 const u8 *crypt, size_t crypt_len, in aes_gcm_ad() argument
304 aes_gcm_gctr(aes, J0, crypt, crypt_len, plain); in aes_gcm_ad()
306 aes_gcm_ghash(H, aad, aad_len, crypt, crypt_len, S); in aes_gcm_ad()
Daes-ccm.c180 size_t M, const u8 *crypt, size_t crypt_len, in aes_ccm_ad() argument
200 aes_ccm_encr(aes, L, crypt, crypt_len, plain, a); in aes_ccm_ad()
202 aes_ccm_auth_start(aes, M, L, nonce, aad, aad_len, crypt_len, x); in aes_ccm_ad()
203 aes_ccm_auth(aes, plain, crypt_len, x); in aes_ccm_ad()
Dcrypto_internal-rsa.c112 const u8 *crypt, size_t crypt_len, in crypto_public_key_decrypt_pkcs1() argument
116 crypt, crypt_len, plain, plain_len); in crypto_public_key_decrypt_pkcs1()
Daes_wrap.h59 const u8 *crypt, size_t crypt_len,
69 size_t M, const u8 *crypt, size_t crypt_len,
Dcrypto.h418 struct crypto_public_key *key, const u8 *crypt, size_t crypt_len,
/hal_espressif-latest/components/wpa_supplicant/src/tls/
Dpkcs1.h22 const u8 *crypt, size_t crypt_len,
Dpkcs1.c135 const u8 *crypt, size_t crypt_len, in pkcs1_decrypt_public_key() argument
142 if (crypto_rsa_exptmod(crypt, crypt_len, plain, &len, key, 0) < 0) in pkcs1_decrypt_public_key()
/hal_espressif-latest/components/bt/common/api/include/api/
Desp_blufi_api.h321 typedef int (* esp_blufi_encrypt_func_t)(uint8_t iv8, uint8_t *crypt_data, int crypt_len);
330 typedef int (* esp_blufi_decrypt_func_t)(uint8_t iv8, uint8_t *crypt_data, int crypt_len);
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/crypto/
Dcrypto_mbedtls-rsa.c337 const u8 *crypt, size_t crypt_len, in crypto_public_key_decrypt_pkcs1() argument
344 if (len != crypt_len) { in crypto_public_key_decrypt_pkcs1()
Dcrypto_mbedtls.c840 size_t M, const u8 *crypt, size_t crypt_len, in aes_ccm_ad() argument
855 ret = mbedtls_ccm_star_auth_decrypt(&ccm, crypt_len, in aes_ccm_ad()