Home
last modified time | relevance | path

Searched refs:SerializedSize (Results 1 – 13 of 13) sorted by relevance

/system/keymaster/
Dgoogle_keymaster_messages.cpp22 size_t KeymasterResponse::SerializedSize() const { in SerializedSize() function in keymaster::KeymasterResponse
68 enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize()
99 size_t GetKeyCharacteristicsRequest::SerializedSize() const { in SerializedSize() function in keymaster::GetKeyCharacteristicsRequest
101 additional_params.SerializedSize(); in SerializedSize()
122 return enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize()
141 size_t BeginOperationRequest::SerializedSize() const { in SerializedSize() function in keymaster::BeginOperationRequest
143 key_blob.key_material_size + additional_params.SerializedSize(); in SerializedSize()
177 size_t UpdateOperationRequest::SerializedSize() const { in SerializedSize() function in keymaster::UpdateOperationRequest
178 return sizeof(op_handle) + input.SerializedSize(); in SerializedSize()
191 return output.SerializedSize(); in NonErrorSerializedSize()
[all …]
Dkey_blob_test.cpp84 size_t size = blob_->SerializedSize(); in TEST_F()
101 size_t size = blob_->SerializedSize(); in TEST_F()
115 size_t size = blob_->SerializedSize(); in TEST_F()
135 size_t size = blob_->SerializedSize(); in TEST_F()
155 size_t size = blob_->SerializedSize(); in TEST_F()
178 size_t size = blob_->SerializedSize(); in TEST_F()
195 size_t size = blob_->SerializedSize(); in TEST_F()
202 size_t enforced_size = enforced_.SerializedSize(); in TEST_F()
220 size_t size = blob_->SerializedSize(); in TEST_F()
227 size_t unenforced_size = unenforced_.SerializedSize(); in TEST_F()
[all …]
Dkey_blob.cpp115 size_t KeyBlob::SerializedSize() const { in SerializedSize() function in keymaster::KeyBlob
117 enforced_.SerializedSize() + unenforced_.SerializedSize(); in SerializedSize()
127 assert(buf - start == static_cast<ptrdiff_t>(SerializedSize())); in Serialize()
240 hidden_.SerializedSize() + enforced_.SerializedSize() + unenforced_.SerializedSize(); in BuildDerivationData()
Dauthorization_set_test.cpp161 size_t size = set.SerializedSize(); in TEST()
191 size_t size = set.SerializedSize(); in TEST()
238 size_t size = set.SerializedSize(); in TEST()
272 size_t size = set.SerializedSize(); in TEST()
361 size_t serialize_size = growable.SerializedSize(); in TEST()
Dserializable.cpp114 size_t Buffer::SerializedSize() const { in SerializedSize() function in keymaster::Buffer
Dgoogle_keymaster_test.cpp206 EXPECT_EQ(12U, rsp.enforced.SerializedSize()); in TEST_F()
207 EXPECT_GT(rsp.unenforced.SerializedSize(), 12U); in TEST_F()
257 EXPECT_EQ(12U, rsp.enforced.SerializedSize()); in TEST_F()
258 EXPECT_GT(rsp.unenforced.SerializedSize(), 12U); in TEST_F()
316 EXPECT_EQ(12U, rsp.enforced.SerializedSize()); in TEST_F()
317 EXPECT_GT(rsp.unenforced.SerializedSize(), 12U); in TEST_F()
Dgoogle_keymaster_messages_test.cpp40 size_t size = message.SerializedSize(); in round_trip()
Dauthorization_set.cpp328 size_t AuthorizationSet::SerializedSize() const { in SerializedSize() function in keymaster::AuthorizationSet
Dgoogle_keymaster.cpp331 size_t size = blob->SerializedSize(); in SerializeKey()
/system/keymaster/include/keymaster/
Dgoogle_keymaster_messages.h44 size_t SerializedSize() const;
107 size_t SerializedSize() const { return key_description.SerializedSize(); } in SerializedSize() function
144 size_t SerializedSize() const;
170 size_t SerializedSize() const;
188 size_t SerializedSize() const;
205 size_t SerializedSize() const;
222 size_t SerializedSize() const;
235 size_t SerializedSize() const;
272 size_t SerializedSize() const;
Dserializable.h38 virtual size_t SerializedSize() const = 0;
210 size_t SerializedSize() const;
Dkey_blob.h91 size_t SerializedSize() const;
Dauthorization_set.h242 size_t SerializedSize() const;