/system/keymaster/ |
D | aes_operation.h | 66 keymaster_error_t Begin(const AuthorizationSet& input_params, 80 keymaster_error_t GetIv(const AuthorizationSet& input_params); 81 bool HandleAad(const AuthorizationSet& input_params, const Buffer& input, 112 keymaster_error_t Begin(const AuthorizationSet& input_params, 130 keymaster_error_t Begin(const AuthorizationSet& input_params,
|
D | android_keymaster_test_utils.cpp | 364 AuthorizationSet input_params(AuthorizationSet(client_params_, array_length(client_params_))); in SignMessage() local 365 input_params.push_back(TAG_DIGEST, digest); in SignMessage() 369 ProcessMessage(KM_PURPOSE_SIGN, message, input_params, update_params, &output_params); in SignMessage() 376 AuthorizationSet input_params(AuthorizationSet(client_params_, array_length(client_params_))); in SignMessage() local 377 input_params.push_back(TAG_DIGEST, digest); in SignMessage() 378 input_params.push_back(TAG_PADDING, padding); in SignMessage() 382 ProcessMessage(KM_PURPOSE_SIGN, message, input_params, update_params, &output_params); in SignMessage() 388 AuthorizationSet input_params(AuthorizationSet(client_params_, array_length(client_params_))); in MacMessage() local 389 input_params.push_back(TAG_MAC_LENGTH, mac_length); in MacMessage() 393 ProcessMessage(KM_PURPOSE_SIGN, message, input_params, update_params, &output_params); in MacMessage() [all …]
|
D | aes_operation.cpp | 348 keymaster_error_t AesEvpOperation::GetIv(const AuthorizationSet& input_params) { in GetIv() argument 350 if (!input_params.GetTagValue(TAG_NONCE, &iv_blob)) { in GetIv() 378 bool AesEvpOperation::HandleAad(const AuthorizationSet& input_params, const Buffer& input, in HandleAad() argument 384 if (input_params.GetTagValue(TAG_ASSOCIATED_DATA, &aad)) { in HandleAad() 469 keymaster_error_t AesEvpEncryptOperation::Begin(const AuthorizationSet& input_params, in Begin() argument 476 if (input_params.find(TAG_NONCE) == -1) in Begin() 479 error = GetIv(input_params); in Begin() 489 return AesEvpOperation::Begin(input_params, output_params); in Begin() 526 keymaster_error_t AesEvpDecryptOperation::Begin(const AuthorizationSet& input_params, in Begin() argument 529 keymaster_error_t error = GetIv(input_params); in Begin() [all …]
|
D | operation.h | 103 virtual keymaster_error_t Begin(const AuthorizationSet& input_params, 105 virtual keymaster_error_t Update(const AuthorizationSet& input_params, const Buffer& input, 108 virtual keymaster_error_t Finish(const AuthorizationSet& input_params, const Buffer& signature,
|
D | android_keymaster_test.cpp | 2383 AuthorizationSet input_params(client_params()); in TEST_P() local 2384 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CTR); in TEST_P() 2385 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P() 2387 EXPECT_EQ(KM_ERROR_OK, BeginOperation(KM_PURPOSE_ENCRYPT, input_params, &output_params)); in TEST_P() 2398 input_params.Reinitialize(output_params); in TEST_P() 2399 input_params.push_back(client_params()); in TEST_P() 2400 input_params.push_back(TAG_BLOCK_MODE, KM_MODE_CTR); in TEST_P() 2401 input_params.push_back(TAG_PADDING, KM_PAD_NONE); in TEST_P() 2404 EXPECT_EQ(KM_ERROR_OK, BeginOperation(KM_PURPOSE_DECRYPT, input_params, &output_params)); in TEST_P() 2486 AuthorizationSet input_params(client_params()); in TEST_P() local [all …]
|
D | ecdsa_operation.h | 54 keymaster_error_t Begin(const AuthorizationSet& input_params, 67 keymaster_error_t Begin(const AuthorizationSet& input_params,
|
D | rsa_operation.h | 42 keymaster_error_t Begin(const AuthorizationSet& input_params, 93 keymaster_error_t Begin(const AuthorizationSet& input_params, 114 keymaster_error_t Begin(const AuthorizationSet& input_params,
|
D | hmac_operation.h | 32 virtual keymaster_error_t Begin(const AuthorizationSet& input_params,
|
D | rsa_operation.cpp | 259 keymaster_error_t RsaSignOperation::Begin(const AuthorizationSet& input_params, in Begin() argument 261 keymaster_error_t error = RsaDigestingOperation::Begin(input_params, output_params); in Begin() 379 keymaster_error_t RsaVerifyOperation::Begin(const AuthorizationSet& input_params, in Begin() argument 381 keymaster_error_t error = RsaDigestingOperation::Begin(input_params, output_params); in Begin()
|