Searched refs:aes_key (Results 1 – 6 of 6) sorted by relevance
/system/keymaster/key_blob_utils/ |
D | ocb_utils.cpp | 99 AES_KEY aes_key; in InitializeKeyWrappingContext() local 102 AES_set_encrypt_key(master_key.key_material, master_key.key_material_size * 8, &aes_key)) in InitializeKeyWrappingContext() 105 AES_encrypt(hash_buf.get(), derived_key.get(), &aes_key); in InitializeKeyWrappingContext()
|
/system/security/keystore/ |
D | blob.cpp | 310 const std::vector<uint8_t>& aes_key, State state) { in writeBlob() argument 329 aes_key, rawBlob->initialization_vector, rawBlob->aead_tag); in writeBlob() 368 const std::vector<uint8_t>& aes_key, in writeBlobs() argument 376 rc = writeBlob(entry_->getKeyBlobPath(), std::move(keyBlob), rawBlob, aes_key, state); in writeBlobs() 385 rawBlob, aes_key, state); in writeBlobs() 390 ResponseCode Blob::readBlob(const std::string& filename, const std::vector<uint8_t>& aes_key, in readBlob() argument 430 aes_key, rawBlob->initialization_vector, rawBlob->aead_tag); in readBlob() 462 AES_set_decrypt_key(aes_key.data(), kAesKeySize * 8, &key); in readBlob() 496 LockedKeyBlobEntry::readBlobs(const std::vector<uint8_t>& aes_key, State state) const { in readBlobs() argument 501 rc = keyBlob.readBlob(entry_->getKeyBlobPath(), aes_key, state); in readBlobs() [all …]
|
D | blob.h | 160 ResponseCode readBlob(const std::string& filename, const std::vector<uint8_t>& aes_key, 271 const std::vector<uint8_t>& aes_key, State state) const; 272 std::tuple<ResponseCode, Blob, Blob> readBlobs(const std::vector<uint8_t>& aes_key,
|
/system/keymaster/contexts/ |
D | pure_soft_keymaster_context.cpp | 390 UniquePtr<Key> aes_key; in UnwrapKey() local 392 AuthorizationSet(), &aes_key); in UnwrapKey() 399 aes_operation_factory->CreateOperation(move(*aes_key), gcm_params, &error)); in UnwrapKey()
|
/system/keymaster/ |
D | Makefile | 63 km_openssl/aes_key.cpp \ 356 km_openssl/aes_key.o \ 357 km_openssl/aes_key.o \
|
D | Android.bp | 90 "km_openssl/aes_key.cpp",
|