Home
last modified time | relevance | path

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

/system/keymaster/key_blob_utils/
Docb.c521 static int AES_set_encrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { in AES_set_encrypt_key() argument
523 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() argument
549 AES_set_encrypt_key(userKey, bits, &temp_key); in AES_set_decrypt_key()