/system/keymaster/ |
D | aes_operation.h | 67 AuthorizationSet* output_params) override; 69 AuthorizationSet* output_params, Buffer* output, 72 const Buffer& signature, AuthorizationSet* output_params, 90 AuthorizationSet* output_params, Buffer* output, keymaster_error_t* error); 116 AuthorizationSet* output_params) override; 118 const Buffer& signature, AuthorizationSet* output_params, 135 AuthorizationSet* output_params) override; 137 AuthorizationSet* output_params, Buffer* output, 140 const Buffer& signature, AuthorizationSet* output_params,
|
D | ecdsa_operation.h | 55 AuthorizationSet* output_params) override; 57 AuthorizationSet* output_params, Buffer* output, 60 const Buffer& signature, AuthorizationSet* output_params, 69 AuthorizationSet* output_params) override; 71 AuthorizationSet* output_params, Buffer* output, 74 const Buffer& signature, AuthorizationSet* output_params,
|
D | android_keymaster_test_utils.cpp | 276 AuthorizationSet* output_params, string* output, in UpdateOperation() argument 287 if (output_params) in UpdateOperation() 288 output_params->Reinitialize(out_params); in UpdateOperation() 299 AuthorizationSet output_params; in FinishOperation() local 300 return FinishOperation(additional_params, signature, &output_params, output); in FinishOperation() 305 AuthorizationSet* output_params, string* output) { in FinishOperation() argument 321 if (output_params) in FinishOperation() 322 output_params->Reinitialize(out_params); in FinishOperation() 381 AuthorizationSet* output_params) { in ProcessMessage() argument 382 EXPECT_EQ(KM_ERROR_OK, BeginOperation(purpose, begin_params, output_params)); in ProcessMessage() [all …]
|
D | rsa_operation.h | 43 AuthorizationSet* output_params) override; 45 AuthorizationSet* output_params, Buffer* output, 94 AuthorizationSet* output_params) override; 96 AuthorizationSet* output_params, Buffer* output, 99 const Buffer& signature, AuthorizationSet* output_params, 116 AuthorizationSet* output_params) override; 118 AuthorizationSet* output_params, Buffer* output, 121 const Buffer& signature, AuthorizationSet* output_params, 154 const Buffer& signature, AuthorizationSet* output_params, 166 const Buffer& signature, AuthorizationSet* output_params,
|
D | aes_operation.cpp | 216 AuthorizationSet* output_params, Buffer* output) { in Finish() argument 218 if (!UpdateForFinish(additional_params, input, output_params, output, &error)) in Finish() 469 const Buffer& input, AuthorizationSet* output_params, in UpdateForFinish() argument 473 *error = Update(additional_params, input, output_params, output, &input_consumed); in UpdateForFinish() 486 AuthorizationSet* output_params) { in Begin() argument 487 if (!output_params) in Begin() 500 output_params->push_back(TAG_NONCE, iv_.get(), iv_length_); in Begin() 505 return AesEvpOperation::Begin(input_params, output_params); in Begin() 510 AuthorizationSet* output_params, Buffer* output) { in Finish() argument 515 AesEvpOperation::Finish(additional_params, input, signature, output_params, output); in Finish() [all …]
|
D | hmac_operation.h | 33 AuthorizationSet* output_params); 35 AuthorizationSet* output_params, Buffer* output, 39 const Buffer& signature, AuthorizationSet* output_params,
|
D | ecdsa_keymaster1_operation.h | 65 AuthorizationSet* output_params) override { in Begin() argument 69 return super::Begin(input_params, output_params); in Begin() 73 const Buffer& signature, AuthorizationSet* output_params, in Finish() argument 78 error = super::Finish(input_params, input, signature, output_params, output); in Finish()
|
D | rsa_keymaster1_operation.h | 65 AuthorizationSet* output_params) override { in Begin() argument 69 return super::Begin(input_params, output_params); in Begin() 73 const Buffer& signature, AuthorizationSet* output_params, in Finish() argument 78 error = super::Finish(input_params, input, signature, output_params, output); in Finish()
|
D | operation.h | 104 AuthorizationSet* output_params) = 0; 106 AuthorizationSet* output_params, Buffer* output, 109 const Buffer& signature, AuthorizationSet* output_params,
|
D | operation.cpp | 142 AuthorizationSet output_params; in UpdateForFinish() local 144 Update(input_params, input, &output_params, &output, &input_consumed); in UpdateForFinish() 148 assert(output_params.empty()); in UpdateForFinish()
|
D | android_keymaster_messages.cpp | 155 return sizeof(op_handle) + output_params.SerializedSize(); in NonErrorSerializedSize() 161 buf = output_params.Serialize(buf, end); in NonErrorSerialize() 168 retval = output_params.Deserialize(buf_ptr, end); in NonErrorDeserialize() 199 size += output_params.SerializedSize(); in NonErrorSerializedSize() 220 buf = output_params.Serialize(buf, end); in NonErrorSerialize() 229 retval = output_params.Deserialize(buf_ptr, end); in NonErrorDeserialize() 278 return output.SerializedSize() + output_params.SerializedSize(); in NonErrorSerializedSize() 284 buf = output_params.Serialize(buf, end); in NonErrorSerialize() 291 retval = output_params.Deserialize(buf_ptr, end); in NonErrorDeserialize()
|
D | rsa_operation.cpp | 263 AuthorizationSet* output_params) { in Begin() argument 264 keymaster_error_t error = RsaDigestingOperation::Begin(input_params, output_params); in Begin() 279 const Buffer& input, AuthorizationSet* output_params, in Update() argument 283 return RsaOperation::Update(additional_params, input, output_params, output, in Update() 387 AuthorizationSet* output_params) { in Begin() argument 388 keymaster_error_t error = RsaDigestingOperation::Begin(input_params, output_params); in Begin() 402 const Buffer& input, AuthorizationSet* output_params, in Update() argument 406 return RsaOperation::Update(additional_params, input, output_params, output, in Update()
|
D | android_keymaster_test_utils.h | 200 const std::string& message, AuthorizationSet* output_params, 210 const std::string& signature, AuthorizationSet* output_params, 225 AuthorizationSet* output_params = NULL); 229 AuthorizationSet* output_params = NULL); 259 AuthorizationSet* output_params);
|
D | android_keymaster.cpp | 280 response->output_params.Clear(); in BeginOperation() 281 response->error = operation->Begin(request.additional_params, &response->output_params); in BeginOperation() 310 operation->Update(request.additional_params, request.input, &response->output_params, in UpdateOperation() 339 &response->output_params, &response->output); in FinishOperation()
|
D | android_keymaster_messages_test.cpp | 216 msg.output_params.push_back(Authorization(TAG_NONCE, "foo", 3)); in TEST() 237 EXPECT_EQ(0U, deserialized->output_params.size()); in TEST() 242 EXPECT_EQ(msg.output_params, deserialized->output_params); in TEST() 291 msg.output_params.push_back(TAG_APPLICATION_ID, "bar", 3); in TEST() 322 EXPECT_EQ(1U, deserialized->output_params.size()); in TEST()
|
D | android_keymaster_test.cpp | 2534 AuthorizationSet output_params; in TEST_P() local 2535 EXPECT_EQ(KM_ERROR_OK, BeginOperation(KM_PURPOSE_ENCRYPT, input_params, &output_params)); in TEST_P() 2546 input_params.Reinitialize(output_params); in TEST_P() 2550 output_params.Clear(); in TEST_P() 2552 EXPECT_EQ(KM_ERROR_OK, BeginOperation(KM_PURPOSE_DECRYPT, input_params, &output_params)); in TEST_P() 2687 AuthorizationSet output_params; in TEST_P() local 2692 ProcessMessage(KM_PURPOSE_ENCRYPT, message, input_params, update_params, &output_params); in TEST_P() 2696 &output_params); in TEST_P() 2705 &output_params); in TEST_P() 2730 AuthorizationSet output_params; in TEST_P() local [all …]
|
D | soft_keymaster_device.cpp | 1223 if (response.output_params.size() > 0) { in begin() 1225 response.output_params.CopyToParamSet(out_params); in begin() 1294 if (response.output_params.size() > 0) { in update() 1296 response.output_params.CopyToParamSet(out_params); in update() 1369 if (response.output_params.size() > 0) { in finish() 1371 response.output_params.CopyToParamSet(out_params); in finish()
|
/system/security/keystore/ |
D | keystore_cli_v2.cpp | 346 AuthorizationSet output_params; in SignAndVerify() local 349 &output_params, &handle); in SignAndVerify() 358 &num_input_bytes_consumed, &output_params, &output_data); in SignAndVerify() 364 &output_params, &output_data); in SignAndVerify() 373 result = keystore->beginOperation(KM_PURPOSE_VERIFY, name, sign_params.build(), &output_params, in SignAndVerify() 380 &num_input_bytes_consumed, &output_params, &output_data); in SignAndVerify() 385 result = keystore->finishOperation(handle, empty_params, signature_to_verify, &output_params, in SignAndVerify()
|
D | keystore_client_impl.cpp | 94 AuthorizationSet output_params; in encryptWithAuthentication() local 98 &output_params, &raw_encrypted_data)) { in encryptWithAuthentication() 103 if (!output_params.GetTagValue(keymaster::TAG_NONCE, &init_vector_blob)) { in encryptWithAuthentication() 116 &output_params, &raw_authentication_data)) { in encryptWithAuthentication() 142 AuthorizationSet output_params; in decryptWithAuthentication() local 146 protobuf.authentication_data(), &output_params, &output_data)) { in decryptWithAuthentication() 158 &output_params, data)) { in decryptWithAuthentication()
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 349 AuthorizationSet output_params; member 374 AuthorizationSet output_params; member 398 AuthorizationSet output_params; member
|