Home
last modified time | relevance | path

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

/system/keymaster/key_blob_utils/
Docb_utils.cpp99 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/
Dblob.cpp310 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 …]
Dblob.h160 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/
Dpure_soft_keymaster_context.cpp390 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/core/trusty/keymaster/legacy/
DMakefile56 $(KM)/aes_key.cpp \
155 $(KM)/aes_key.o \
/system/keymaster/
DMakefile64 km_openssl/aes_key.cpp \
357 km_openssl/aes_key.o \
358 km_openssl/aes_key.o \
DAndroid.bp82 "km_openssl/aes_key.cpp",