Home
last modified time | relevance | path

Searched refs:aes_ctr_encrypt (Results 1 – 4 of 4) sorted by relevance

/freebsd-src/contrib/wpa/src/crypto/
H A Daes-ctr.c25 int aes_ctr_encrypt(const u8 *key, size_t key_len, const u8 *nonce, in aes_ctr_encrypt() function
70 return aes_ctr_encrypt(key, 16, nonce, data, data_len); in aes_128_ctr_encrypt()
H A Daes-siv.c158 return aes_ctr_encrypt(k2, key_len, v, crypt_pw, pwlen); in aes_siv_encrypt()
197 ret = aes_ctr_encrypt(k2, key_len, iv, out, crypt_len); in aes_siv_decrypt()
H A Daes_wrap.h36 int __must_check aes_ctr_encrypt(const u8 *key, size_t key_len, const u8 *nonce,
H A Dcrypto_module_tests.c849 if (aes_ctr_encrypt(key128, sizeof(key128), counter128, tmp, len) < 0) { in test_aes_ctr()
850 wpa_printf(MSG_ERROR, "aes_ctr_encrypt() failed"); in test_aes_ctr()
865 if (aes_ctr_encrypt(key192, sizeof(key192), counter192, tmp, len) < 0) { in test_aes_ctr()
866 wpa_printf(MSG_ERROR, "aes_ctr_encrypt() failed"); in test_aes_ctr()
881 if (aes_ctr_encrypt(key256, sizeof(key256), counter256, tmp, len) < 0) { in test_aes_ctr()
882 wpa_printf(MSG_ERROR, "aes_ctr_encrypt() failed"); in test_aes_ctr()