/system/keymaster/ |
D | android_keymaster_messages.cpp | 103 return key_blob_size(key_blob) + additional_params.SerializedSize(); in SerializedSize() 108 return additional_params.Serialize(buf, end); in Serialize() 113 additional_params.Deserialize(buf_ptr, end); in Deserialize() 136 additional_params.SerializedSize(); in SerializedSize() 142 return additional_params.Serialize(buf, end); in Serialize() 148 additional_params.Deserialize(buf_ptr, end); in Deserialize() 176 return sizeof(op_handle) + input.SerializedSize() + additional_params.SerializedSize(); in SerializedSize() 183 buf = additional_params.Serialize(buf, end); in Serialize() 190 retval = additional_params.Deserialize(buf_ptr, end); in Deserialize() 230 return sizeof(op_handle) + signature.SerializedSize() + additional_params.SerializedSize(); in SerializedSize() [all …]
|
D | android_keymaster.cpp | 192 context_->ParseKeyBlob(KeymasterKeyBlob(request.key_blob), request.additional_params, in GetKeyCharacteristics() 222 response->error = LoadKey(request.key_blob, request.additional_params, &hw_enforced, in BeginOperation() 238 factory->CreateOperation(*key, request.additional_params, &response->error)); in BeginOperation() 249 request.purpose, key_id, key->authorizations(), request.additional_params, in BeginOperation() 256 response->error = operation->Begin(request.additional_params, &response->output_params); in BeginOperation() 277 request.additional_params, request.op_handle, false /* is_begin_operation */); in UpdateOperation() 285 operation->Update(request.additional_params, request.input, &response->output_params, in UpdateOperation() 306 request.additional_params, request.op_handle, false /* is_begin_operation */); in FinishOperation() 313 response->error = operation->Finish(request.additional_params, request.signature, in FinishOperation() 341 context_->ParseKeyBlob(KeymasterKeyBlob(request.key_blob), request.additional_params, in ExportKey() [all …]
|
D | aes_operation.h | 68 keymaster_error_t Update(const AuthorizationSet& additional_params, const Buffer& input, 71 keymaster_error_t Finish(const AuthorizationSet& additional_params, const Buffer& signature, 114 keymaster_error_t Finish(const AuthorizationSet& additional_params, const Buffer& signature, 132 keymaster_error_t Update(const AuthorizationSet& additional_params, const Buffer& input, 135 keymaster_error_t Finish(const AuthorizationSet& additional_params, const Buffer& signature,
|
D | ecdsa_operation.h | 56 keymaster_error_t Update(const AuthorizationSet& additional_params, const Buffer& input, 59 keymaster_error_t Finish(const AuthorizationSet& additional_params, const Buffer& signature, 69 keymaster_error_t Update(const AuthorizationSet& additional_params, const Buffer& input, 72 keymaster_error_t Finish(const AuthorizationSet& additional_params, const Buffer& signature,
|
D | rsa_operation.h | 44 keymaster_error_t Update(const AuthorizationSet& additional_params, const Buffer& input, 95 keymaster_error_t Update(const AuthorizationSet& additional_params, const Buffer& input, 98 keymaster_error_t Finish(const AuthorizationSet& additional_params, const Buffer& signature, 116 keymaster_error_t Update(const AuthorizationSet& additional_params, const Buffer& input, 119 keymaster_error_t Finish(const AuthorizationSet& additional_params, const Buffer& signature, 151 keymaster_error_t Finish(const AuthorizationSet& additional_params, const Buffer& signature, 162 keymaster_error_t Finish(const AuthorizationSet& additional_params, const Buffer& signature,
|
D | keymaster1_engine.h | 69 RSA* BuildRsaKey(const KeymasterKeyBlob& blob, const AuthorizationSet& additional_params, 71 EC_KEY* BuildEcKey(const KeymasterKeyBlob& blob, const AuthorizationSet& additional_params, 81 const AuthorizationSet& additional_params,
|
D | keymaster1_engine.cpp | 125 const AuthorizationSet& additional_params, in BuildRsaKey() argument 134 KeyData* key_data = new KeyData(blob, additional_params); in BuildRsaKey() 167 const AuthorizationSet& additional_params, in BuildEcKey() argument 176 KeyData* key_data = new KeyData(blob, additional_params); in BuildEcKey() 185 GetKeymaster1PublicKey(blob, additional_params, error)); in BuildEcKey() 351 const AuthorizationSet& additional_params, in GetKeymaster1PublicKey() argument 357 if (additional_params.GetTagValue(TAG_APPLICATION_ID, &client_id)) in GetKeymaster1PublicKey() 359 if (additional_params.GetTagValue(TAG_APPLICATION_DATA, &app_data)) in GetKeymaster1PublicKey()
|
D | hmac_operation.h | 34 virtual keymaster_error_t Update(const AuthorizationSet& additional_params, const Buffer& input, 38 virtual keymaster_error_t Finish(const AuthorizationSet& additional_params,
|
D | aes_operation.cpp | 195 keymaster_error_t AesEvpOperation::Update(const AuthorizationSet& additional_params, in Update() argument 201 if (!HandleAad(additional_params, input, &error)) in Update() 492 keymaster_error_t AesEvpEncryptOperation::Finish(const AuthorizationSet& additional_params, in Finish() argument 499 AesEvpOperation::Finish(additional_params, signature, output_params, output); in Finish() 544 keymaster_error_t AesEvpDecryptOperation::Update(const AuthorizationSet& additional_params, in Update() argument 556 if (!HandleAad(additional_params, input, &error)) in Update() 613 keymaster_error_t AesEvpDecryptOperation::Finish(const AuthorizationSet& additional_params, in Finish() argument 622 return AesEvpOperation::Finish(additional_params, signature, output_params, output); in Finish()
|
D | ec_keymaster1_key.cpp | 84 const AuthorizationSet& additional_params, in LoadKey() argument 93 engine_->BuildEcKey(key_material, additional_params, &error)); in LoadKey()
|
D | soft_keymaster_context.cpp | 292 const AuthorizationSet& additional_params, in ParseKeyBlob() argument 329 keymaster_error_t error = BuildHiddenAuthorizations(additional_params, &hidden); in ParseKeyBlob() 354 return ParseKeymaster1HwBlob(blob, additional_params, key_material, hw_enforced, in ParseKeyBlob() 375 const KeymasterKeyBlob& blob, const AuthorizationSet& additional_params, in ParseKeymaster1HwBlob() argument 384 if (additional_params.GetTagValue(TAG_APPLICATION_ID, &client_id)) in ParseKeymaster1HwBlob() 386 if (additional_params.GetTagValue(TAG_APPLICATION_DATA, &app_data)) in ParseKeymaster1HwBlob()
|
D | ec_keymaster0_key.cpp | 99 const AuthorizationSet& additional_params, in LoadKey() argument 107 return super::LoadKey(key_material, additional_params, hw_enforced, sw_enforced, key); in LoadKey()
|
D | rsa_keymaster1_key.cpp | 105 const AuthorizationSet& additional_params, in LoadKey() argument 113 unique_ptr<RSA, RSA_Delete> rsa(engine_->BuildRsaKey(key_material, additional_params, &error)); in LoadKey()
|
D | rsa_keymaster0_key.cpp | 102 const AuthorizationSet& additional_params, in LoadKey() argument 110 return super::LoadKey(key_material, additional_params, hw_enforced, sw_enforced, key); in LoadKey()
|
D | android_keymaster_messages_test.cpp | 173 req.additional_params.Reinitialize(params, array_length(params)); in TEST() 177 EXPECT_EQ(7U, deserialized->additional_params.size()); in TEST() 201 msg.additional_params.Reinitialize(params, array_length(params)); in TEST() 207 EXPECT_EQ(msg.additional_params, deserialized->additional_params); in TEST() 410 msg.additional_params.Reinitialize(params, array_length(params)); in TEST() 415 EXPECT_EQ(msg.additional_params, deserialized->additional_params); in TEST()
|
D | hmac_key.h | 31 const AuthorizationSet& additional_params,
|
D | aes_key.h | 36 const AuthorizationSet& additional_params,
|
D | rsa_keymaster0_key.h | 52 const AuthorizationSet& additional_params,
|
D | ec_keymaster0_key.h | 52 const AuthorizationSet& additional_params,
|
D | ec_keymaster1_key.h | 56 const AuthorizationSet& additional_params,
|
D | rsa_keymaster1_key.h | 56 const AuthorizationSet& additional_params,
|
/system/keymaster/include/keymaster/ |
D | soft_keymaster_context.h | 66 const AuthorizationSet& additional_params, 83 const AuthorizationSet& additional_params,
|
D | asymmetric_key_factory.h | 33 const AuthorizationSet& additional_params,
|
D | key_factory.h | 52 const AuthorizationSet& additional_params,
|
D | keymaster_context.h | 93 const AuthorizationSet& additional_params,
|