Home
last modified time | relevance | path

Searched refs:input_params (Results 1 – 15 of 15) sorted by relevance

/system/keymaster/legacy_support/
Drsa_keymaster1_operation.h39 keymaster_error_t Begin(EVP_PKEY* rsa_key, const AuthorizationSet& input_params);
40 keymaster_error_t PrepareFinish(EVP_PKEY* rsa_key, const AuthorizationSet& input_params);
67 keymaster_error_t Begin(const AuthorizationSet& input_params, in Begin() argument
69 keymaster_error_t error = wrapped_operation_.Begin(super::rsa_key_, input_params); in Begin()
71 return super::Begin(input_params, output_params); in Begin()
74 keymaster_error_t Finish(const AuthorizationSet& input_params, const Buffer& input, in Finish() argument
77 keymaster_error_t error = wrapped_operation_.PrepareFinish(super::rsa_key_, input_params); in Finish()
79 error = super::Finish(input_params, input, signature, output_params, output); in Finish()
Decdsa_keymaster1_operation.h40 keymaster_error_t Begin(EVP_PKEY* ecdsa_key, const AuthorizationSet& input_params);
41 keymaster_error_t PrepareFinish(EVP_PKEY* ecdsa_key, const AuthorizationSet& input_params);
68 keymaster_error_t Begin(const AuthorizationSet& input_params, in Begin() argument
70 keymaster_error_t error = wrapped_operation_.Begin(super::ecdsa_key_, input_params); in Begin()
72 return super::Begin(input_params, output_params); in Begin()
75 keymaster_error_t Finish(const AuthorizationSet& input_params, const Buffer& input, in Finish() argument
78 keymaster_error_t error = wrapped_operation_.PrepareFinish(super::ecdsa_key_, input_params); in Finish()
80 error = super::Finish(input_params, input, signature, output_params, output); in Finish()
Dkeymaster_passthrough_operation.h46 keymaster_error_t Begin(const AuthorizationSet& input_params, in Begin() argument
50 rc = km_device_->begin(km_device_, purpose(), &key_blob_, &input_params, &out_params, in Begin()
56 keymaster_error_t Update(const AuthorizationSet& input_params, const Buffer& input, in Update() argument
63 rc = km_device_->update(km_device_, operation_handle_, &input_params, &in, input_consumed, in Update()
73 keymaster_error_t Finish(const AuthorizationSet& input_params, const Buffer& input,
85 const AuthorizationSet& input_params, const Buffer& input, const Buffer& signature,
89 const AuthorizationSet& input_params, const Buffer& input, const Buffer& signature,
Decdsa_keymaster1_operation.cpp31 const AuthorizationSet& input_params) { in Begin() argument
48 AuthorizationSet begin_params(input_params); in Begin()
59 const AuthorizationSet& input_params) { in PrepareFinish() argument
66 key_data->finish_params.Reinitialize(input_params); in PrepareFinish()
Dkeymaster_passthrough_operation.cpp27 const AuthorizationSet& input_params, const Buffer& input, const Buffer& signature, in Finish() argument
36 AuthorizationSet mutable_input_params = input_params; in Finish()
96 const AuthorizationSet& input_params, const Buffer& input, const Buffer& signature, in Finish() argument
103 rc = km_device_->finish(km_device_, operation_handle_, &input_params, &in, &sig, &out_params, in Finish()
Drsa_keymaster1_operation.cpp31 const AuthorizationSet& input_params) { in Begin() argument
47 AuthorizationSet begin_params(input_params); in Begin()
80 const AuthorizationSet& input_params) { in PrepareFinish() argument
87 key_data->finish_params.Reinitialize(input_params); in PrepareFinish()
/system/keymaster/include/keymaster/
Doperation.h139 virtual keymaster_error_t Begin(const AuthorizationSet& input_params,
141 virtual keymaster_error_t Update(const AuthorizationSet& input_params, const Buffer& input,
144 virtual keymaster_error_t Finish(const AuthorizationSet& input_params, const Buffer& input,
152 keymaster_error_t UpdateForFinish(const AuthorizationSet& input_params, const Buffer& input);
/system/keymaster/km_openssl/
Dblock_cipher_operation.h78 keymaster_error_t Begin(const AuthorizationSet& input_params,
93 keymaster_error_t GetIv(const AuthorizationSet& input_params);
94 bool HandleAad(const AuthorizationSet& input_params, const Buffer& input,
128 keymaster_error_t Begin(const AuthorizationSet& input_params,
149 keymaster_error_t Begin(const AuthorizationSet& input_params,
Dblock_cipher_operation.cpp263 keymaster_error_t BlockCipherEvpOperation::GetIv(const AuthorizationSet& input_params) { in GetIv() argument
265 if (!input_params.GetTagValue(TAG_NONCE, &iv_blob)) { in GetIv()
294 bool BlockCipherEvpOperation::HandleAad(const AuthorizationSet& input_params, const Buffer& input, in HandleAad() argument
300 if (input_params.GetTagValue(TAG_ASSOCIATED_DATA, &aad)) { in HandleAad()
402 keymaster_error_t BlockCipherEvpEncryptOperation::Begin(const AuthorizationSet& input_params, in Begin() argument
408 if (input_params.find(TAG_NONCE) == -1) { in Begin()
411 error = GetIv(input_params); in Begin()
420 return BlockCipherEvpOperation::Begin(input_params, output_params); in Begin()
454 keymaster_error_t BlockCipherEvpDecryptOperation::Begin(const AuthorizationSet& input_params, in Begin() argument
457 keymaster_error_t error = GetIv(input_params); in Begin()
[all …]
Drsa_operation.cpp277 keymaster_error_t RsaSignOperation::Begin(const AuthorizationSet& input_params, in Begin() argument
279 keymaster_error_t error = RsaDigestingOperation::Begin(input_params, output_params); in Begin()
389 keymaster_error_t RsaVerifyOperation::Begin(const AuthorizationSet& input_params, in Begin() argument
391 keymaster_error_t error = RsaDigestingOperation::Begin(input_params, output_params); in Begin()
497 keymaster_error_t RsaCryptOperation::Begin(const AuthorizationSet& input_params, in Begin() argument
499 keymaster_error_t error = RsaOperation::Begin(input_params, output_params); in Begin()
Dhmac_operation.h31 virtual keymaster_error_t Begin(const AuthorizationSet& input_params,
/system/keymaster/android_keymaster/
Doperation.cpp149 keymaster_error_t Operation::UpdateForFinish(const AuthorizationSet& input_params, in UpdateForFinish() argument
151 if (!input_params.empty() || input.available_read()) { in UpdateForFinish()
156 Update(input_params, input, &output_params, &output, &input_consumed); in UpdateForFinish()
/system/keymaster/include/keymaster/km_openssl/
Decdsa_operation.h62 keymaster_error_t Begin(const AuthorizationSet& input_params,
78 keymaster_error_t Begin(const AuthorizationSet& input_params,
93 keymaster_error_t Begin(const AuthorizationSet& input_params,
Drsa_operation.h45 keymaster_error_t Begin(const AuthorizationSet& input_params,
99 keymaster_error_t Begin(const AuthorizationSet& input_params,
123 keymaster_error_t Begin(const AuthorizationSet& input_params,
150 keymaster_error_t Begin(const AuthorizationSet& input_params,
Decdh_operation.h41 keymaster_error_t Begin(const AuthorizationSet& input_params,