Home
last modified time | relevance | path

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

/system/keymaster/key_blob_utils/
Docb.c532 static int AES_set_encrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { in AES_set_encrypt_key() argument
534 AES_128_Key_Expansion(userKey, key); in AES_set_encrypt_key()
536 AES_192_Key_Expansion(userKey, key); in AES_set_encrypt_key()
538 AES_256_Key_Expansion(userKey, key); in AES_set_encrypt_key()
558 static int AES_set_decrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { in AES_set_decrypt_key() argument
560 AES_set_encrypt_key(userKey, bits, &temp_key); in AES_set_decrypt_key()