Searched refs:userKey (Results 1 – 1 of 1) sorted by relevance
521 static int AES_set_encrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { in AES_set_encrypt_key() argument523 AES_128_Key_Expansion(userKey, key); in AES_set_encrypt_key()525 AES_192_Key_Expansion(userKey, key); in AES_set_encrypt_key()527 AES_256_Key_Expansion(userKey, key); in AES_set_encrypt_key()547 static int AES_set_decrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { in AES_set_decrypt_key() argument549 AES_set_encrypt_key(userKey, bits, &temp_key); in AES_set_decrypt_key()