| /src/crypto/openssl/include/crypto/ |
| H A D | sm4_platform.h | 42 int rv64i_zvksed_sm4_set_encrypt_key(const unsigned char *userKey, 44 int rv64i_zvksed_sm4_set_decrypt_key(const unsigned char *userKey, 54 int HWSM4_set_encrypt_key(const unsigned char *userKey, SM4_KEY *key); 55 int HWSM4_set_decrypt_key(const unsigned char *userKey, SM4_KEY *key); 72 int vpsm4_set_encrypt_key(const unsigned char *userKey, SM4_KEY *key); 73 int vpsm4_set_decrypt_key(const unsigned char *userKey, SM4_KEY *key); 96 int vpsm4_ex_set_encrypt_key(const unsigned char *userKey, SM4_KEY *key); 97 int vpsm4_ex_set_decrypt_key(const unsigned char *userKey, SM4_KEY *key);
|
| H A D | 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, 188 int aesni_set_encrypt_key(const unsigned char *userKey, int bits, 190 int aesni_set_decrypt_key(const unsigned char *userKey, int bits, 423 int rv64i_zkne_set_encrypt_key(const unsigned char *userKey, const int bits, 425 int rv64i_zknd_set_decrypt_key(const unsigned char *userKey, const int bits, 432 int rv64i_zvkned_set_encrypt_key(const unsigned char *userKey, const int bits, 434 int rv64i_zvkned_set_decrypt_key(const unsigned char *userKey, const int bits, 498 int rv32i_zkne_set_encrypt_key(const unsigned char *userKey, const int bits, 501 int rv32i_zknd_zkne_set_decrypt_key(const unsigned char *userKey, const int bits, [all …]
|
| H A D | aria.h | 42 int ossl_aria_set_encrypt_key(const unsigned char *userKey, const int bits, 44 int ossl_aria_set_decrypt_key(const unsigned char *userKey, const int bits,
|
| /src/crypto/openssl/crypto/camellia/ |
| H A D | 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()
|
| /src/crypto/openssl/crypto/aria/ |
| H A D | aria.c | 471 int ossl_aria_set_encrypt_key(const unsigned char *userKey, const int bits, in ossl_aria_set_encrypt_key() argument 481 if (userKey == NULL || key == NULL) { in ossl_aria_set_encrypt_key() 492 w0[0] = GET_U32_BE(userKey, 0); in ossl_aria_set_encrypt_key() 493 w0[1] = GET_U32_BE(userKey, 1); in ossl_aria_set_encrypt_key() 494 w0[2] = GET_U32_BE(userKey, 2); in ossl_aria_set_encrypt_key() 495 w0[3] = GET_U32_BE(userKey, 3); in ossl_aria_set_encrypt_key() 505 w1[0] = GET_U32_BE(userKey, 4); in ossl_aria_set_encrypt_key() 506 w1[1] = GET_U32_BE(userKey, 5); in ossl_aria_set_encrypt_key() 508 w1[2] = GET_U32_BE(userKey, 6); in ossl_aria_set_encrypt_key() 509 w1[3] = GET_U32_BE(userKey, 7); in ossl_aria_set_encrypt_key() [all …]
|
| /src/crypto/openssl/crypto/aes/ |
| H A D | 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() 3045 int AES_set_encrypt_key(const unsigned char *userKey, const int bits, in AES_set_encrypt_key() argument 3053 if (!userKey || !key) in AES_set_encrypt_key() 3067 rk[0] = GETU32(userKey); in AES_set_encrypt_key() 3068 rk[1] = GETU32(userKey + 4); in AES_set_encrypt_key() 3069 rk[2] = GETU32(userKey + 8); in AES_set_encrypt_key() [all …]
|
| H A D | aes_x86core.c | 479 int AES_set_encrypt_key(const unsigned char *userKey, const int bits, in AES_set_encrypt_key() argument 487 if (!userKey || !key) in AES_set_encrypt_key() 501 rk[0] = GETU32(userKey); in AES_set_encrypt_key() 502 rk[1] = GETU32(userKey + 4); in AES_set_encrypt_key() 503 rk[2] = GETU32(userKey + 8); in AES_set_encrypt_key() 504 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() 535 rk[6] = GETU32(userKey + 24); in AES_set_encrypt_key() 536 rk[7] = GETU32(userKey + 28); in AES_set_encrypt_key() [all …]
|
| /src/sys/crypto/armv8/ |
| H A D | 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);
|
| /src/crypto/openssl/include/openssl/ |
| H A D | aes.h | 50 int AES_set_encrypt_key(const unsigned char *userKey, const int bits, 53 int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
|
| H A D | camellia.h | 58 OSSL_DEPRECATEDIN_3_0 int Camellia_set_key(const unsigned char *userKey,
|
| /src/crypto/openssl/engines/ |
| H A D | e_padlock.c | 146 static int padlock_aes_set_encrypt_key(const unsigned char *userKey, 149 static int padlock_aes_set_decrypt_key(const unsigned char *userKey,
|
| /src/crypto/openssl/crypto/evp/ |
| H A D | e_aes_cbc_hmac_sha1.c | 47 int aesni_set_encrypt_key(const unsigned char *userKey, int bits, 49 int aesni_set_decrypt_key(const unsigned char *userKey, int bits,
|
| H A D | e_aes_cbc_hmac_sha256.c | 47 int aesni_set_encrypt_key(const unsigned char *userKey, int bits, 49 int aesni_set_decrypt_key(const unsigned char *userKey, int bits,
|
| /src/crypto/openssl/crypto/aes/asm/ |
| H A D | 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
|