Searched refs:key_data_length (Results 1 – 11 of 11) sorted by relevance
/system/keymaster/km_openssl/ |
D | asymmetric_key.cpp | 41 int key_data_length = i2d_PUBKEY(pkey.get(), nullptr); in formatted_key_material() local 42 if (key_data_length <= 0) return TranslateLastOpenSslError(); in formatted_key_material() 44 material->reset(new (std::nothrow) uint8_t[key_data_length]); in formatted_key_material() 48 if (i2d_PUBKEY(pkey.get(), &tmp) != key_data_length) { in formatted_key_material() 53 *size = key_data_length; in formatted_key_material()
|
/system/keymaster/android_keymaster/ |
D | android_keymaster_messages.cpp | 602 key_data_length = length; in SetKeyMaterial() 606 return sizeof(uint32_t) /* key_data_length */ + key_data_length; in NonErrorSerializedSize() 610 return append_size_and_data_to_buf(buf, end, key_data, key_data_length); in NonErrorSerialize() 617 if (!copy_size_and_data_from_buf(buf_ptr, end, &key_data_length, &deserialized_key_material)) in NonErrorDeserialize()
|
D | android_keymaster.cpp | 731 response->key_data_length = size; in ExportKey()
|
/system/core/trusty/keymaster/keymint/ |
D | TrustyKeyMintDevice.cpp | 319 *ephemeralKeyBlob = {response.key_data, response.key_data + response.key_data_length}; in convertStorageKeyToEphemeral()
|
/system/keymaster/ng/ |
D | AndroidKeymaster3Device.cpp | 354 resultKeyBlob.setToExternal(response.key_data, response.key_data_length); in exportKey()
|
D | AndroidKeymaster4Device.cpp | 420 resultKeyBlob.setToExternal(response.key_data, response.key_data_length); in exportKey()
|
/system/core/trusty/keymaster/3.0/ |
D | TrustyKeymaster3Device.cpp | 310 resultKeyBlob.setToExternal(response.key_data, response.key_data_length); in exportKey()
|
/system/core/trusty/keymaster/4.0/ |
D | TrustyKeymaster4Device.cpp | 451 resultKeyBlob.setToExternal(response.key_data, response.key_data_length); in exportKey()
|
/system/keymaster/tests/ |
D | android_keymaster_messages_test.cpp | 569 EXPECT_EQ(3U, deserialized->key_data_length); in TEST()
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 630 size_t key_data_length; member
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 959 export_data->data_length = response.key_data_length; in export_key()
|