Home
last modified time | relevance | path

Searched refs:enc_data_len (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/
Dpkcs5.c173 const u8 *enc_data, size_t enc_data_len, in pkcs5_decrypt() argument
194 if (enc_data_len < 16 || enc_data_len % 8) { in pkcs5_decrypt()
196 "%d", (int) enc_data_len); in pkcs5_decrypt()
201 eb = os_malloc(enc_data_len); in pkcs5_decrypt()
207 if ((int)crypto_cipher_decrypt(ctx, enc_data, eb, enc_data_len) < 0) { in pkcs5_decrypt()
216 pad = eb[enc_data_len - 1]; in pkcs5_decrypt()
222 for (i = enc_data_len - pad; i < enc_data_len; i++) { in pkcs5_decrypt()
225 eb + enc_data_len - pad, pad); in pkcs5_decrypt()
232 eb, enc_data_len - pad); in pkcs5_decrypt()
234 *data_len = enc_data_len - pad; in pkcs5_decrypt()
Dpkcs5.h13 const u8 *enc_data, size_t enc_data_len,