Searched defs:userKey (Results 1 - 1 of 1) sorted by relevance

/system/keymaster/
H A Docb.c521 static int AES_set_encrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { argument
523 AES_128_Key_Expansion(userKey, key);
525 AES_192_Key_Expansion(userKey, key);
527 AES_256_Key_Expansion(userKey, key);
547 static int AES_set_decrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { argument
549 AES_set_encrypt_key(userKey, bits, &temp_key);

Completed in 26 milliseconds