| /freebsd-14-stable/crypto/openssl/crypto/camellia/ |
| HD | cmll_misc.c | 20 int Camellia_set_key(const unsigned char *userKey, const int bits, in Camellia_set_key() argument 23 if (!userKey || !key) in Camellia_set_key() 27 key->grand_rounds = Camellia_Ekeygen(bits, userKey, key->u.rd_key); in Camellia_set_key()
|
| /freebsd-14-stable/crypto/openssl/crypto/aria/ |
| HD | aria.c | 538 int ossl_aria_set_encrypt_key(const unsigned char *userKey, const int bits, in ossl_aria_set_encrypt_key() argument 548 if (userKey == NULL || key == NULL) { in ossl_aria_set_encrypt_key() 559 w0[0] = GET_U32_BE(userKey, 0); in ossl_aria_set_encrypt_key() 560 w0[1] = GET_U32_BE(userKey, 1); in ossl_aria_set_encrypt_key() 561 w0[2] = GET_U32_BE(userKey, 2); in ossl_aria_set_encrypt_key() 562 w0[3] = GET_U32_BE(userKey, 3); in ossl_aria_set_encrypt_key() 572 w1[0] = GET_U32_BE(userKey, 4); in ossl_aria_set_encrypt_key() 573 w1[1] = GET_U32_BE(userKey, 5); in ossl_aria_set_encrypt_key() 575 w1[2] = GET_U32_BE(userKey, 6); in ossl_aria_set_encrypt_key() 576 w1[3] = GET_U32_BE(userKey, 7); in ossl_aria_set_encrypt_key() [all …]
|
| /freebsd-14-stable/crypto/openssl/crypto/aes/ |
| HD | aes_core.c | 631 int AES_set_encrypt_key(const unsigned char *userKey, const int bits, in AES_set_encrypt_key() argument 636 if (!userKey || !key) in AES_set_encrypt_key() 650 KeyExpansion(userKey, rk, key->rounds, bits/32); in AES_set_encrypt_key() 657 int AES_set_decrypt_key(const unsigned char *userKey, const int bits, in AES_set_decrypt_key() argument 660 return AES_set_encrypt_key(userKey, bits, key); in AES_set_decrypt_key() 1278 int AES_set_encrypt_key(const unsigned char *userKey, const int bits, in AES_set_encrypt_key() argument 1286 if (!userKey || !key) in AES_set_encrypt_key() 1300 rk[0] = GETU32(userKey ); in AES_set_encrypt_key() 1301 rk[1] = GETU32(userKey + 4); in AES_set_encrypt_key() 1302 rk[2] = GETU32(userKey + 8); in AES_set_encrypt_key() [all …]
|
| HD | aes_x86core.c | 474 int AES_set_encrypt_key(const unsigned char *userKey, const int bits, in AES_set_encrypt_key() argument 482 if (!userKey || !key) in AES_set_encrypt_key() 496 rk[0] = GETU32(userKey ); in AES_set_encrypt_key() 497 rk[1] = GETU32(userKey + 4); in AES_set_encrypt_key() 498 rk[2] = GETU32(userKey + 8); in AES_set_encrypt_key() 499 rk[3] = GETU32(userKey + 12); in AES_set_encrypt_key() 518 rk[4] = GETU32(userKey + 16); in AES_set_encrypt_key() 519 rk[5] = GETU32(userKey + 20); in AES_set_encrypt_key() 540 rk[6] = GETU32(userKey + 24); in AES_set_encrypt_key() 541 rk[7] = GETU32(userKey + 28); in AES_set_encrypt_key() [all …]
|
| /freebsd-14-stable/crypto/openssl/include/crypto/ |
| HD | aria.h | 43 int ossl_aria_set_encrypt_key(const unsigned char *userKey, const int bits, 45 int ossl_aria_set_decrypt_key(const unsigned char *userKey, const int bits,
|
| HD | aes_platform.h | 17 int vpaes_set_encrypt_key(const unsigned char *userKey, int bits, 19 int vpaes_set_decrypt_key(const unsigned char *userKey, int bits, 158 int aesni_set_encrypt_key(const unsigned char *userKey, int bits, 160 int aesni_set_decrypt_key(const unsigned char *userKey, int bits, 404 int HWAES_set_encrypt_key(const unsigned char *userKey, const int bits, 406 int HWAES_set_decrypt_key(const unsigned char *userKey, const int bits,
|
| /freebsd-14-stable/sys/crypto/armv8/ |
| HD | armv8_crypto.h | 56 int aes_v8_set_encrypt_key(const unsigned char *userKey, const int bits, const AES_key_t *key); 57 int aes_v8_set_decrypt_key(const unsigned char *userKey, const int bits, const AES_key_t *key);
|
| /freebsd-14-stable/crypto/openssl/include/openssl/ |
| HD | aes.h | 51 int AES_set_encrypt_key(const unsigned char *userKey, const int bits, 54 int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
|
| HD | camellia.h | 58 OSSL_DEPRECATEDIN_3_0 int Camellia_set_key(const unsigned char *userKey,
|
| /freebsd-14-stable/crypto/openssl/engines/ |
| HD | e_padlock.c | 150 static int padlock_aes_set_encrypt_key(const unsigned char *userKey, 153 static int padlock_aes_set_decrypt_key(const unsigned char *userKey,
|
| /freebsd-14-stable/crypto/openssl/crypto/evp/ |
| HD | e_aes_cbc_hmac_sha1.c | 49 int aesni_set_encrypt_key(const unsigned char *userKey, int bits, 51 int aesni_set_decrypt_key(const unsigned char *userKey, int bits,
|
| HD | e_aes_cbc_hmac_sha256.c | 49 int aesni_set_encrypt_key(const unsigned char *userKey, int bits, 51 int aesni_set_decrypt_key(const unsigned char *userKey, int bits,
|
| /freebsd-14-stable/crypto/openssl/crypto/aes/asm/ |
| HD | aesni-x86_64.pl | 4382 movups ($inp),%xmm0 # pull first 128 bits of *userKey 4493 movq 16($inp),%xmm2 # remaining 1/3 of *userKey 4563 movups 16($inp),%xmm2 # remaining half of *userKey
|