Home
last modified time | relevance | path

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

/system/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.cpp132 KmErrorOr<Buffer> kek = DeriveAesGcmKeyEncryptionKey(format, hw_enforced, sw_enforced, hidden, in AesGcmEncryptKey() local
134 if (!kek) return kek.error(); in AesGcmEncryptKey()
147 if (!(EVP_EncryptInit_ex(ctx.get(), EVP_aes_256_gcm(), nullptr /* engine */, kek->peek_read(), in AesGcmEncryptKey()
170 KmErrorOr<Buffer> kek = in AesGcmDecryptKey() local
173 if (!kek) return kek.error(); in AesGcmDecryptKey()
181 if (!(EVP_DecryptInit_ex(ctx.get(), EVP_aes_256_gcm(), nullptr /* engine */, kek->peek_read(), in AesGcmDecryptKey()
/system/keymint/common/src/
Dkeyblob.rs383 let kek = in encrypt() localVariable
394 kek.into(), in encrypt()
440 let kek = derive_kek( in decrypt() localVariable
457 kek.into(), in decrypt()