/system/keymaster/legacy_support/ |
D | rsa_keymaster1_operation.h | 39 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()
|
D | ecdsa_keymaster1_operation.h | 40 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()
|
D | keymaster_passthrough_operation.h | 46 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,
|
D | ecdsa_keymaster1_operation.cpp | 31 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()
|
D | keymaster_passthrough_operation.cpp | 27 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()
|
D | rsa_keymaster1_operation.cpp | 31 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/ |
D | operation.h | 139 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/ |
D | block_cipher_operation.h | 78 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,
|
D | block_cipher_operation.cpp | 263 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 …]
|
D | rsa_operation.cpp | 277 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()
|
D | hmac_operation.h | 31 virtual keymaster_error_t Begin(const AuthorizationSet& input_params,
|
/system/keymaster/android_keymaster/ |
D | operation.cpp | 149 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/ |
D | ecdsa_operation.h | 62 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,
|
D | rsa_operation.h | 45 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,
|
D | ecdh_operation.h | 41 keymaster_error_t Begin(const AuthorizationSet& input_params,
|