Searched refs:key_data_length (Results 1 – 10 of 10) sorted by relevance
/system/keymaster/km_openssl/ |
D | asymmetric_key.cpp | 48 int key_data_length = i2d_PUBKEY(pkey.get(), nullptr); in formatted_key_material() local 49 if (key_data_length <= 0) in formatted_key_material() 52 material->reset(new(std::nothrow) uint8_t[key_data_length]); in formatted_key_material() 57 if (i2d_PUBKEY(pkey.get(), &tmp) != key_data_length) { in formatted_key_material() 62 *size = key_data_length; in formatted_key_material()
|
/system/keymaster/android_keymaster/ |
D | android_keymaster_messages.cpp | 328 key_data_length = length; in SetKeyMaterial() 333 sizeof(uint32_t) /* key_data_length */ + key_data_length; in SerializedSize() 339 return append_size_and_data_to_buf(buf, end, key_data, key_data_length); in Serialize() 348 !copy_size_and_data_from_buf(buf_ptr, end, &key_data_length, &deserialized_key_material)) in Deserialize() 397 key_data_length = length; in SetKeyMaterial() 401 return sizeof(uint32_t) /* key_data_length */ + key_data_length; in NonErrorSerializedSize() 405 return append_size_and_data_to_buf(buf, end, key_data, key_data_length); in NonErrorSerialize() 412 if (!copy_size_and_data_from_buf(buf_ptr, end, &key_data_length, &deserialized_key_material)) in NonErrorDeserialize()
|
D | android_keymaster.cpp | 390 response->key_data_length = size; in ExportKey() 445 keymaster_key_blob_t key_material = {request.key_data, request.key_data_length}; in ImportKey()
|
/system/keymaster/tests/ |
D | android_keymaster_messages_test.cpp | 394 EXPECT_EQ(msg.key_data_length, deserialized->key_data_length); in TEST() 395 EXPECT_EQ(0, memcmp(msg.key_data, deserialized->key_data, msg.key_data_length)); in TEST() 439 EXPECT_EQ(3U, deserialized->key_data_length); in TEST()
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 477 size_t key_data_length; member 537 size_t key_data_length; member
|
/system/core/trusty/keymaster/3.0/ |
D | TrustyKeymaster3Device.cpp | 310 resultKeyBlob.setToExternal(response.key_data, response.key_data_length); in exportKey()
|
/system/keymaster/ng/ |
D | AndroidKeymaster3Device.cpp | 352 resultKeyBlob.setToExternal(response.key_data, response.key_data_length); in exportKey()
|
D | AndroidKeymaster4Device.cpp | 424 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/contexts/ |
D | soft_keymaster_device.cpp | 1041 export_data->data_length = response.key_data_length; in export_key()
|