Searched refs:enc_data_len (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/wpa/src/tls/ |
H A D | pkcs5.c | 567 const u8 *enc_data, size_t enc_data_len, in pkcs5_decrypt() argument 587 if (enc_data_len < 16 || enc_data_len % 8) { in pkcs5_decrypt() 589 "%d", (int) enc_data_len); in pkcs5_decrypt() 594 eb = os_malloc(enc_data_len); in pkcs5_decrypt() 600 if (crypto_cipher_decrypt(ctx, enc_data, eb, enc_data_len) < 0) { in pkcs5_decrypt() 608 pad = eb[enc_data_len - 1]; in pkcs5_decrypt() 614 for (i = enc_data_len - pad; i < enc_data_len; i++) { in pkcs5_decrypt() 617 eb + enc_data_len - pad, pad); in pkcs5_decrypt() 624 eb, enc_data_len - pad); in pkcs5_decrypt() 626 *data_len = enc_data_len - pad; in pkcs5_decrypt()
|
H A D | pkcs5.h | 13 const u8 *enc_data, size_t enc_data_len,
|