Home
last modified time | relevance | path

Searched refs:Reinitialize (Results 1 – 23 of 23) sorted by relevance

/system/keymaster/include/keymaster/
Dserializable.h204 Buffer(size_t size) : buffer_(NULL) { Reinitialize(size); } in Buffer()
205 Buffer(const void* buf, size_t size) : buffer_(NULL) { Reinitialize(buf, size); } in Buffer()
210 bool Reinitialize(size_t size);
211 bool Reinitialize(const void* buf, size_t size);
214 bool Reinitialize(const Buffer& buffer) { in Reinitialize() function
215 return Reinitialize(buffer.peek_read(), buffer.available_read()); in Reinitialize()
Dauthorization_set.h58 Reinitialize(elems, count); in AuthorizationSet()
63 Reinitialize(set.params, set.length); in AuthorizationSet()
81 Reinitialize(set.elems_, set.elems_size_); in AuthorizationSet()
92 Reinitialize(set.elems_, set.elems_size_);
115 bool Reinitialize(const keymaster_key_param_t* elems, size_t count);
117 bool Reinitialize(const AuthorizationSet& set) { in Reinitialize() function
118 return Reinitialize(set.elems_, set.elems_size_); in Reinitialize()
121 bool Reinitialize(const keymaster_key_param_set_t& set) { in Reinitialize() function
122 return Reinitialize(set.params, set.length); in Reinitialize()
/system/keymaster/
Dandroid_keymaster_messages_test.cpp133 req.key_description.Reinitialize(params, array_length(params)); in TEST()
145 rsp.enforced.Reinitialize(params, array_length(params)); in TEST()
160 rsp.enforced.Reinitialize(params, array_length(params)); in TEST()
173 req.additional_params.Reinitialize(params, array_length(params)); in TEST()
187 msg.enforced.Reinitialize(params, array_length(params)); in TEST()
188 msg.unenforced.Reinitialize(params, array_length(params)); in TEST()
201 msg.additional_params.Reinitialize(params, array_length(params)); in TEST()
265 msg.input.Reinitialize("foo", 3); in TEST()
289 msg.output.Reinitialize("foo", 3); in TEST()
334 msg.signature.Reinitialize("bar", 3); in TEST()
[all …]
Decies_kem.cpp106 z.Reinitialize(output_encrypted_key->peek_read(), output_encrypted_key->available_read()); in Encrypt()
118 output_clear_key->Reinitialize(key_bytes_to_generate_); in Encrypt()
161 z.Reinitialize(public_value.peek_read(), public_value.available_read()); in Decrypt()
174 output_key->Reinitialize(key_bytes_to_generate_); in Decrypt()
Dnist_curve_key_exchange.cpp116 out_result->Reinitialize(result.get(), shared_secret_len_); in CalculateSharedKey()
122 return public_value->Reinitialize(public_key_.get(), public_key_len_); in public_value()
Dserializable.cpp86 bool Buffer::Reinitialize(size_t size) { in Reinitialize() function in keymaster::Buffer
97 bool Buffer::Reinitialize(const void* data, size_t data_len) { in Reinitialize() function in keymaster::Buffer
Dhmac_test.cpp78 digest_buffer.Reinitialize(reinterpret_cast<uint8_t*>(digest_copy), sizeof(digest_copy)); in TEST()
Decdsa_operation.cpp155 output->Reinitialize(ECDSA_size(ecdsa.get())); in Finish()
164 if (!output->Reinitialize(siglen)) in Finish()
Dsoft_keymaster_device.cpp634 request.random_data.Reinitialize(data, data_length); in add_rng_entropy()
742 request.key_description.Reinitialize(*params); in generate_key()
792 request.key_description.Reinitialize(*params); in generate_key()
926 request.key_description.Reinitialize(*params); in import_key()
1062 request.attest_params.Reinitialize(*attest_params); in attest_key()
1119 request.upgrade_params.Reinitialize(*upgrade_params); in upgrade_key()
1216 request.additional_params.Reinitialize(*in_params); in begin()
1285 request.input.Reinitialize(input->data, input->data_length); in update()
1287 request.additional_params.Reinitialize(*in_params); in update()
1361 request.signature.Reinitialize(signature->data, signature->data_length); in finish()
[all …]
Drsa_operation.cpp327 if (!output->Reinitialize(RSA_size(rsa.get()))) in SignUndigested()
375 if (!output->Reinitialize(siglen)) in SignDigested()
551 if (!output->Reinitialize(outlen)) in Finish()
604 if (!output->Reinitialize(outlen)) in Finish()
Decdsa_keymaster1_operation.cpp69 key_data->finish_params.Reinitialize(input_params); in PrepareFinish()
Doperation.h99 key_auths_.Reinitialize(auths.data(), auths.size()); in SetAuthorizations()
Dattestation_record_test.cpp93 unique_id->Reinitialize("foo", 3); in GenerateUniqueId()
Drsa_keymaster1_operation.cpp85 key_data->finish_params.Reinitialize(input_params); in PrepareFinish()
Drsa_key_factory.cpp139 updated_description->Reinitialize(key_description); in UpdateImportKeyDescription()
Dkeymaster1_engine.cpp74 hw_enforced->Reinitialize(characteristics->hw_enforced); in ConvertCharacteristics()
76 sw_enforced->Reinitialize(characteristics->sw_enforced); in ConvertCharacteristics()
Dec_key_factory.cpp165 updated_description->Reinitialize(key_description); in UpdateImportKeyDescription()
Dsoft_keymaster_context.cpp873 hw_enforced->Reinitialize(characteristics->hw_enforced); in ParseKeymaster1HwBlob()
874 sw_enforced->Reinitialize(characteristics->sw_enforced); in ParseKeymaster1HwBlob()
Dandroid_keymaster_test_utils.cpp250 output_set->Reinitialize(out_params); in BeginOperation()
288 output_params->Reinitialize(out_params); in UpdateOperation()
322 output_params->Reinitialize(out_params); in FinishOperation()
Dauthorization_set.cpp123 bool AuthorizationSet::Reinitialize(const keymaster_key_param_t* elems, const size_t count) { in Reinitialize() function in keymaster::AuthorizationSet
Dkeymaster_enforcement_test.cpp733 auth_set.Reinitialize(AuthorizationSetBuilder() in TEST_F()
Dandroid_keymaster_test.cpp2546 input_params.Reinitialize(output_params); in TEST_P()
2700 input_params.Reinitialize(client_params()); in TEST_P()
2764 input_params.Reinitialize(output_params); in TEST_P()
2896 begin_params.Reinitialize(client_params()); in TEST_P()
/system/security/keystore/
Dkeystore_client_impl.cpp211 hardware_enforced_characteristics->Reinitialize(characteristics.characteristics.hw_enforced); in generateKey()
212 software_enforced_characteristics->Reinitialize(characteristics.characteristics.sw_enforced); in generateKey()
226 hardware_enforced_characteristics->Reinitialize(characteristics.characteristics.hw_enforced); in getKeyCharacteristics()
227 software_enforced_characteristics->Reinitialize(characteristics.characteristics.sw_enforced); in getKeyCharacteristics()
244 hardware_enforced_characteristics->Reinitialize(characteristics.characteristics.hw_enforced); in importKey()
245 software_enforced_characteristics->Reinitialize(characteristics.characteristics.sw_enforced); in importKey()
286 output_parameters->Reinitialize(&*result.outParams.params.begin(), in beginOperation()
311 output_parameters->Reinitialize(&*result.outParams.params.begin(), in updateOperation()
336 output_parameters->Reinitialize(&*result.outParams.params.begin(), in finishOperation()