Home
last modified time | relevance | path

Searched refs:masking_key (Results 1 – 10 of 10) sorted by relevance

/system/keymaster/include/keymaster/contexts/
Dkeymaster2_passthrough_context.h107 const AuthorizationSet& wrapping_key_params, const KeymasterKeyBlob& masking_key,
Dkeymaster1_passthrough_context.h120 const AuthorizationSet& wrapping_key_params, const KeymasterKeyBlob& masking_key,
Dpure_soft_keymaster_context.h91 const AuthorizationSet& wrapping_key_params, const KeymasterKeyBlob& masking_key,
Dsoft_keymaster_context.h89 const AuthorizationSet& wrapping_key_params, const KeymasterKeyBlob& masking_key,
/system/keymaster/include/keymaster/
Dkeymaster_context.h143 const AuthorizationSet& wrapping_key_params, const KeymasterKeyBlob& masking_key,
Dandroid_keymaster_messages.h798 KeymasterKeyBlob masking_key; member
/system/keymaster/contexts/
Dpure_soft_keymaster_context.cpp302 const AuthorizationSet& /* wrapping_key_params */, const KeymasterKeyBlob& masking_key, in UnwrapKey() argument
360 if (key_material.key_material_size != masking_key.key_material_size) { in UnwrapKey()
364 key_material.writable_data()[i] ^= masking_key.key_material[i]; in UnwrapKey()
/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp637 sizeof(uint32_t) /* masking_key_data_length */ + masking_key.key_material_size + in SerializedSize()
645 buf = serialize_key_blob(masking_key, buf, end); in Serialize()
654 deserialize_key_blob(&masking_key, buf_ptr, end) && in Deserialize()
669 set_key_blob(&masking_key, key_material, length); in SetMaskingKeyMaterial()
Dandroid_keymaster.cpp499 request.masking_key, &key_description, &key_format, &secret_key); in ImportWrappedKey()
/system/keymaster/tests/
Dandroid_keymaster_test.cpp1865 string masking_key = hex2str("D796B02C370F1FA4CC0124F14EC8CBEBE987E825246265050F399A51FD477DFC"); variable
1994 request.SetMaskingKeyMaterial(reinterpret_cast<const uint8_t*>(masking_key.c_str()), in TEST_F()
1995 masking_key.size()); in TEST_F()