Searched refs:enc_data_len (Results 1 – 2 of 2) sorted by relevance
/external/wpa_supplicant_8/src/tls/ |
D | pkcs5.c | 589 const u8 *enc_data, size_t enc_data_len, in pkcs5_decrypt() argument 609 if (enc_data_len < 16 || enc_data_len % 8) { in pkcs5_decrypt() 611 "%d", (int) enc_data_len); in pkcs5_decrypt() 616 eb = os_malloc(enc_data_len); in pkcs5_decrypt() 622 if (crypto_cipher_decrypt(ctx, enc_data, eb, enc_data_len) < 0) { in pkcs5_decrypt() 630 pad = eb[enc_data_len - 1]; in pkcs5_decrypt() 636 for (i = enc_data_len - pad; i < enc_data_len; i++) { in pkcs5_decrypt() 639 eb + enc_data_len - pad, pad); in pkcs5_decrypt() 646 eb, enc_data_len - pad); in pkcs5_decrypt() 648 *data_len = enc_data_len - pad; in pkcs5_decrypt()
|
D | pkcs5.h | 13 const u8 *enc_data, size_t enc_data_len,
|