Lines Matching refs:AES_KEY
168 static int8_t encrypt_blob(char *name, AES_KEY *aes_key)
189 AES_cbc_encrypt(blob.encrypted, blob.encrypted, length, aes_key, vector,
201 static int8_t decrypt_blob(char *name, AES_KEY *aes_key)
217 AES_cbc_encrypt(blob.encrypted, blob.encrypted, length, aes_key,
256 static AES_KEY encryption_key;
257 static AES_KEY decryption_key;
376 AES_KEY aes_key;
395 AES_set_decrypt_key(key, MASTER_KEY_SIZE * 8, &aes_key);
396 response = decrypt_blob(MASTER_KEY_FILE, &aes_key);
422 AES_set_encrypt_key(key, MASTER_KEY_SIZE * 8, &aes_key);
426 response = encrypt_blob(MASTER_KEY_FILE, &aes_key);