Home
last modified time | relevance | path

Searched refs:attestation_key (Results 1 – 3 of 3) sorted by relevance

/trusty/user/app/keymaster/
Dsecure_storage_manager.cpp150 UniquePtr<AttestationKey> attestation_key(attestation_key_p); in WriteKeyToStorage() local
151 attestation_key->has_key = true; in WriteKeyToStorage()
152 memcpy(attestation_key->key.bytes, key, key_size); in WriteKeyToStorage()
153 attestation_key->key.size = key_size; in WriteKeyToStorage()
155 err = WriteAttestationKey(key_slot, attestation_key.get(), true); in WriteKeyToStorage()
174 UniquePtr<AttestationKey> attestation_key(attestation_key_p); in ReadKeyFromStorage() local
175 if (!attestation_key->has_key) { in ReadKeyFromStorage()
181 KeymasterKeyBlob result(attestation_key->key.size); in ReadKeyFromStorage()
188 memcpy(result.writable_data(), attestation_key->key.bytes, in ReadKeyFromStorage()
202 UniquePtr<AttestationKey> attestation_key(attestation_key_p); in AttestationKeyExists() local
[all …]
Dsecure_storage_manager.h246 const AttestationKey* attestation_key,
/trusty/user/app/keymint/
Dsecure_storage_manager.rs155 let mut attestation_key = read_attestation_key_content(algorithm)?; in provision_attestation_key_file() localVariable
156 attestation_key.set_key(try_to_vec(key_data)?); in provision_attestation_key_file()
158 write_protobuf_to_attestation_key_file(algorithm, attestation_key) in provision_attestation_key_file()