• Home
  • Raw
  • Download

Lines Matching refs:signature

301 keymaster_error_t Keymaster2Test::FinishOperation(const string& input, const string& signature,  in FinishOperation()  argument
305 return FinishOperation(additional_params, input, signature, &output_params, output); in FinishOperation()
309 const string& input, const string& signature, in FinishOperation() argument
312 keymaster_blob_t sig = {reinterpret_cast<const uint8_t*>(signature.c_str()), in FinishOperation()
313 signature.length()}; in FinishOperation()
381 const string& signature, const AuthorizationSet& begin_params, in ProcessMessage() argument
387 EXPECT_EQ(KM_ERROR_OK, FinishOperation(update_params, message, signature, &result)); in ProcessMessage()
392 const string& signature) { in ProcessMessage() argument
396 EXPECT_EQ(KM_ERROR_OK, FinishOperation(message, signature, &result)); in ProcessMessage()
400 void Keymaster2Test::SignMessage(const string& message, string* signature, in SignMessage() argument
407 *signature = in SignMessage()
409 EXPECT_GT(signature->size(), 0U); in SignMessage()
412 void Keymaster2Test::SignMessage(const string& message, string* signature, in SignMessage() argument
420 *signature = in SignMessage()
422 EXPECT_GT(signature->size(), 0U); in SignMessage()
425 void Keymaster2Test::MacMessage(const string& message, string* signature, size_t mac_length) { in MacMessage() argument
431 *signature = in MacMessage()
433 EXPECT_GT(signature->size(), 0U); in MacMessage()
436 void Keymaster2Test::VerifyMessage(const string& message, const string& signature, in VerifyMessage() argument
443 ProcessMessage(KM_PURPOSE_VERIFY, message, signature, input_params, update_params, in VerifyMessage()
447 void Keymaster2Test::VerifyMessage(const string& message, const string& signature, in VerifyMessage() argument
455 ProcessMessage(KM_PURPOSE_VERIFY, message, signature, input_params, update_params, in VerifyMessage()
459 void Keymaster2Test::VerifyMac(const string& message, const string& signature) { in VerifyMac() argument
461 ProcessMessage(KM_PURPOSE_VERIFY, message, signature); in VerifyMac()
635 string signature; in CheckHmacTestVector() local
636 MacMessage(message, &signature, expected_mac.size() * 8); in CheckHmacTestVector()
637 EXPECT_EQ(expected_mac, signature) << "Test vector didn't match for digest " << (int)digest; in CheckHmacTestVector()
903 const keymaster_blob_t* signature, in finish() argument
906 return unwrap(dev)->finish(unwrap(dev), operation_handle, in_params, signature, out_params, in finish()