Lines Matching refs:userKey
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()
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()
1380 int AES_set_decrypt_key(const unsigned char *userKey, const int bits, in AES_set_decrypt_key() argument
1389 status = AES_set_encrypt_key(userKey, bits, key); in AES_set_decrypt_key()
1857 int AES_set_encrypt_key(const unsigned char *userKey, const int bits, in AES_set_encrypt_key() argument
1864 if (!userKey || !key) in AES_set_encrypt_key()
1878 rk[0] = GETU32(userKey ); in AES_set_encrypt_key()
1879 rk[1] = GETU32(userKey + 4); in AES_set_encrypt_key()
1880 rk[2] = GETU32(userKey + 8); in AES_set_encrypt_key()
1881 rk[3] = GETU32(userKey + 12); in AES_set_encrypt_key()
1900 rk[4] = GETU32(userKey + 16); in AES_set_encrypt_key()
1901 rk[5] = GETU32(userKey + 20); in AES_set_encrypt_key()
1922 rk[6] = GETU32(userKey + 24); in AES_set_encrypt_key()
1923 rk[7] = GETU32(userKey + 28); in AES_set_encrypt_key()
1958 int AES_set_decrypt_key(const unsigned char *userKey, const int bits, in AES_set_decrypt_key() argument
1967 status = AES_set_encrypt_key(userKey, bits, key); in AES_set_decrypt_key()