| /freebsd-11-stable/sys/mips/cavium/cryptocteon/ |
| HD | cavium_crypto.c | 328 int crypt_off, int crypt_len, in octo_des_cbc_encrypt() argument 337 (crypt_off & 0x7) || (crypt_off + crypt_len > iovlen))) { in octo_des_cbc_encrypt() 341 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); in octo_des_cbc_encrypt() 371 while (crypt_len > 0) { in octo_des_cbc_encrypt() 375 crypt_len -= 8; in octo_des_cbc_encrypt() 387 int crypt_off, int crypt_len, in octo_des_cbc_decrypt() argument 396 (crypt_off & 0x7) || (crypt_off + crypt_len > iovlen))) { in octo_des_cbc_decrypt() 400 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); in octo_des_cbc_decrypt() 429 while (crypt_len > 0) { in octo_des_cbc_decrypt() 433 crypt_len -= 8; in octo_des_cbc_decrypt() [all …]
|
| HD | cryptocteonvar.h | 37 …t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, ui… 38 …t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, ui…
|
| HD | cryptocteon.c | 350 int auth_off = 0, auth_len = 0, crypt_off = 0, crypt_len = 0, icv_off = 0; in cryptocteon_process() local 434 crypt_len = enccrd->crd_len; in cryptocteon_process() 496 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); in cryptocteon_process() 499 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); in cryptocteon_process()
|
| /freebsd-11-stable/contrib/wpa/src/crypto/ |
| HD | aes-gcm.c | 230 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()
|
| HD | aes-siv.c | 170 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()
|
| HD | aes-ccm.c | 179 size_t M, const u8 *crypt, size_t crypt_len, in aes_ccm_ad() argument 199 aes_ccm_encr(aes, L, crypt, crypt_len, plain, a); in aes_ccm_ad() 201 aes_ccm_auth_start(aes, M, L, nonce, aad, aad_len, crypt_len, x); in aes_ccm_ad() 202 aes_ccm_auth(aes, plain, crypt_len, x); in aes_ccm_ad()
|
| HD | crypto_internal-rsa.c | 112 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()
|
| HD | aes_wrap.h | 59 const u8 *crypt, size_t crypt_len, 69 size_t M, const u8 *crypt, size_t crypt_len,
|
| HD | crypto_libtomcrypt.c | 616 const u8 *crypt, size_t crypt_len, in crypto_public_key_decrypt_pkcs1() argument 624 res = rsa_exptmod(crypt, crypt_len, plain, &len, PK_PUBLIC, in crypto_public_key_decrypt_pkcs1()
|
| HD | crypto.h | 417 struct crypto_public_key *key, const u8 *crypt, size_t crypt_len,
|
| /freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
| HD | mesh_rsn.c | 643 size_t crypt_len; in mesh_rsn_process_ampe() local 677 crypt_len = elems_len - (elems->mic - start); in mesh_rsn_process_ampe() 678 if (crypt_len < 2 + AES_BLOCK_SIZE) { in mesh_rsn_process_ampe() 684 crypt = os_zalloc(crypt_len); in mesh_rsn_process_ampe() 691 os_memcpy(crypt, elems->mic, crypt_len); in mesh_rsn_process_ampe() 693 if (aes_siv_decrypt(sta->aek, sizeof(sta->aek), crypt, crypt_len, 3, in mesh_rsn_process_ampe() 700 crypt_len -= AES_BLOCK_SIZE; in mesh_rsn_process_ampe() 702 ampe_buf, crypt_len); in mesh_rsn_process_ampe() 708 (size_t) 2 + ampe_ie_len > crypt_len || in mesh_rsn_process_ampe()
|
| /freebsd-11-stable/contrib/wpa/src/tls/ |
| HD | pkcs1.c | 135 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()
|
| HD | pkcs1.h | 22 const u8 *crypt, size_t crypt_len,
|