Home
last modified time | relevance | path

Searched refs:userKey (Results 1 – 13 of 13) sorted by relevance

/openssl/include/crypto/
H A Dsm4_platform.h45 int rv64i_zvksed_sm4_set_encrypt_key(const unsigned char *userKey,
47 int rv64i_zvksed_sm4_set_decrypt_key(const unsigned char *userKey,
57 int HWSM4_set_encrypt_key(const unsigned char *userKey, SM4_KEY *key);
58 int HWSM4_set_decrypt_key(const unsigned char *userKey, SM4_KEY *key);
75 int vpsm4_set_encrypt_key(const unsigned char *userKey, SM4_KEY *key);
76 int vpsm4_set_decrypt_key(const unsigned char *userKey, SM4_KEY *key);
99 int vpsm4_ex_set_encrypt_key(const unsigned char *userKey, SM4_KEY *key);
100 int vpsm4_ex_set_decrypt_key(const unsigned char *userKey, SM4_KEY *key);
H A Daes_platform.h17 int vpaes_set_encrypt_key(const unsigned char *userKey, int bits,
19 int vpaes_set_decrypt_key(const unsigned char *userKey, int bits,
197 int aesni_set_encrypt_key(const unsigned char *userKey, int bits,
199 int aesni_set_decrypt_key(const unsigned char *userKey, int bits,
445 int rv64i_zkne_set_encrypt_key(const unsigned char *userKey, const int bits,
447 int rv64i_zknd_set_decrypt_key(const unsigned char *userKey, const int bits,
454 int rv64i_zvkned_set_encrypt_key(const unsigned char *userKey, const int bits,
456 int rv64i_zvkned_set_decrypt_key(const unsigned char *userKey, const int bits,
521 int rv32i_zkne_set_encrypt_key(const unsigned char *userKey, const int bits,
537 int HWAES_set_encrypt_key(const unsigned char *userKey, const int bits,
[all …]
H A Daria.h43 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,
/openssl/crypto/camellia/
H A Dcmll_misc.c20 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()
/openssl/crypto/aria/
H A Daria.c548 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()
1128 if (!userKey || !key) in ossl_aria_set_encrypt_key()
[all …]
/openssl/crypto/aes/
H A Daes_core.c636 if (!userKey || !key) in AES_set_encrypt_key()
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()
1303 rk[3] = GETU32(userKey + 12); in AES_set_encrypt_key()
1322 rk[4] = GETU32(userKey + 16); in AES_set_encrypt_key()
1323 rk[5] = GETU32(userKey + 20); in AES_set_encrypt_key()
1344 rk[6] = GETU32(userKey + 24); in AES_set_encrypt_key()
1345 rk[7] = GETU32(userKey + 28); in AES_set_encrypt_key()
[all …]
H A Daes_x86core.c472 int AES_set_encrypt_key(const unsigned char *userKey, const int bits, in AES_set_encrypt_key() argument
480 if (!userKey || !key) in AES_set_encrypt_key()
494 rk[0] = GETU32(userKey ); in AES_set_encrypt_key()
495 rk[1] = GETU32(userKey + 4); in AES_set_encrypt_key()
496 rk[2] = GETU32(userKey + 8); in AES_set_encrypt_key()
497 rk[3] = GETU32(userKey + 12); in AES_set_encrypt_key()
516 rk[4] = GETU32(userKey + 16); in AES_set_encrypt_key()
517 rk[5] = GETU32(userKey + 20); in AES_set_encrypt_key()
538 rk[6] = GETU32(userKey + 24); in AES_set_encrypt_key()
539 rk[7] = GETU32(userKey + 28); in AES_set_encrypt_key()
[all …]
/openssl/include/openssl/
H A Daes.h51 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,
H A Dcamellia.h58 OSSL_DEPRECATEDIN_3_0 int Camellia_set_key(const unsigned char *userKey,
/openssl/engines/
H A De_padlock.c150 static int padlock_aes_set_encrypt_key(const unsigned char *userKey,
153 static int padlock_aes_set_decrypt_key(const unsigned char *userKey,
/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha1.c49 int aesni_set_encrypt_key(const unsigned char *userKey, int bits,
51 int aesni_set_decrypt_key(const unsigned char *userKey, int bits,
H A De_aes_cbc_hmac_sha256.c49 int aesni_set_encrypt_key(const unsigned char *userKey, int bits,
51 int aesni_set_decrypt_key(const unsigned char *userKey, int bits,
/openssl/crypto/aes/asm/
H A Daesni-x86_64.pl4382 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

Completed in 56 milliseconds