Lines Matching refs:update_params
365 const AuthorizationSet& update_params,
371 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, nullptr /* output_params */,
374 EXPECT_EQ(KM_ERROR_OK, FinishOperation(update_params, "", &result));
380 const AuthorizationSet& update_params,
386 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, nullptr /* output_params */,
389 EXPECT_EQ(KM_ERROR_OK, FinishOperation(update_params, signature, &result));
410 AuthorizationSet update_params;
413 ProcessMessage(KM_PURPOSE_SIGN, message, input_params, update_params, &output_params);
423 AuthorizationSet update_params;
426 ProcessMessage(KM_PURPOSE_SIGN, message, input_params, update_params, &output_params);
434 AuthorizationSet update_params;
437 ProcessMessage(KM_PURPOSE_SIGN, message, input_params, update_params, &output_params);
446 AuthorizationSet update_params;
448 ProcessMessage(KM_PURPOSE_VERIFY, message, signature, input_params, update_params,
458 AuthorizationSet update_params;
460 ProcessMessage(KM_PURPOSE_VERIFY, message, signature, input_params, update_params,
474 AuthorizationSet update_params;
476 ProcessMessage(KM_PURPOSE_ENCRYPT, message, begin_params, update_params, &output_params);
489 AuthorizationSet update_params;
490 return EncryptMessage(update_params, message, digest, padding, generated_nonce);
495 AuthorizationSet update_params;
496 return EncryptMessage(update_params, message, block_mode, padding, generated_nonce);
499 string Keymaster2Test::EncryptMessage(const AuthorizationSet& update_params, const string& message,
507 ProcessMessage(KM_PURPOSE_ENCRYPT, message, begin_params, update_params, &output_params);
518 string Keymaster2Test::EncryptMessage(const AuthorizationSet& update_params, const string& message,
526 ProcessMessage(KM_PURPOSE_ENCRYPT, message, begin_params, update_params, &output_params);
539 const AuthorizationSet& update_params,
542 return ProcessMessage(KM_PURPOSE_ENCRYPT, message, begin_params, update_params, output_params);
549 AuthorizationSet update_params;
550 return ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext, begin_params, update_params);
559 AuthorizationSet update_params;
560 return ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext, begin_params, update_params);
569 AuthorizationSet update_params;
570 return ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext, begin_params, update_params);
580 AuthorizationSet update_params;
581 return ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext, begin_params, update_params);
591 AuthorizationSet update_params;
592 return ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext, begin_params, update_params);
595 string Keymaster2Test::DecryptMessage(const AuthorizationSet& update_params,
603 return ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext, begin_params, update_params);
647 AuthorizationSet begin_params(client_params()), update_params, output_params;
652 EncryptMessageWithParams(message, begin_params, update_params, &output_params);