/system/keymaster/include/keymaster/ |
D | serializable.h | 204 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()
|
D | authorization_set.h | 58 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/ |
D | android_keymaster_messages_test.cpp | 133 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 …]
|
D | ecies_kem.cpp | 106 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()
|
D | nist_curve_key_exchange.cpp | 116 out_result->Reinitialize(result.get(), shared_secret_len_); in CalculateSharedKey() 122 return public_value->Reinitialize(public_key_.get(), public_key_len_); in public_value()
|
D | serializable.cpp | 86 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
|
D | hmac_test.cpp | 78 digest_buffer.Reinitialize(reinterpret_cast<uint8_t*>(digest_copy), sizeof(digest_copy)); in TEST()
|
D | ecdsa_operation.cpp | 155 output->Reinitialize(ECDSA_size(ecdsa.get())); in Finish() 164 if (!output->Reinitialize(siglen)) in Finish()
|
D | soft_keymaster_device.cpp | 634 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 …]
|
D | rsa_operation.cpp | 327 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()
|
D | ecdsa_keymaster1_operation.cpp | 69 key_data->finish_params.Reinitialize(input_params); in PrepareFinish()
|
D | operation.h | 99 key_auths_.Reinitialize(auths.data(), auths.size()); in SetAuthorizations()
|
D | attestation_record_test.cpp | 93 unique_id->Reinitialize("foo", 3); in GenerateUniqueId()
|
D | rsa_keymaster1_operation.cpp | 85 key_data->finish_params.Reinitialize(input_params); in PrepareFinish()
|
D | rsa_key_factory.cpp | 139 updated_description->Reinitialize(key_description); in UpdateImportKeyDescription()
|
D | keymaster1_engine.cpp | 74 hw_enforced->Reinitialize(characteristics->hw_enforced); in ConvertCharacteristics() 76 sw_enforced->Reinitialize(characteristics->sw_enforced); in ConvertCharacteristics()
|
D | ec_key_factory.cpp | 165 updated_description->Reinitialize(key_description); in UpdateImportKeyDescription()
|
D | soft_keymaster_context.cpp | 873 hw_enforced->Reinitialize(characteristics->hw_enforced); in ParseKeymaster1HwBlob() 874 sw_enforced->Reinitialize(characteristics->sw_enforced); in ParseKeymaster1HwBlob()
|
D | android_keymaster_test_utils.cpp | 250 output_set->Reinitialize(out_params); in BeginOperation() 288 output_params->Reinitialize(out_params); in UpdateOperation() 322 output_params->Reinitialize(out_params); in FinishOperation()
|
D | authorization_set.cpp | 123 bool AuthorizationSet::Reinitialize(const keymaster_key_param_t* elems, const size_t count) { in Reinitialize() function in keymaster::AuthorizationSet
|
D | keymaster_enforcement_test.cpp | 733 auth_set.Reinitialize(AuthorizationSetBuilder() in TEST_F()
|
D | android_keymaster_test.cpp | 2546 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/ |
D | keystore_client_impl.cpp | 211 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()
|