Lines Matching defs:Keymaster2Test

176 Keymaster2Test::Keymaster2Test() : op_handle_(OP_HANDLE_SENTINEL) {
184 Keymaster2Test::~Keymaster2Test() {
190 keymaster2_device_t* Keymaster2Test::device() {
194 keymaster_error_t Keymaster2Test::GenerateKey(const AuthorizationSetBuilder& builder) {
204 keymaster_error_t Keymaster2Test::DeleteKey() {
208 keymaster_error_t Keymaster2Test::ImportKey(const AuthorizationSetBuilder& builder,
222 AuthorizationSet Keymaster2Test::UserAuthParams() {
230 AuthorizationSet Keymaster2Test::ClientParams() {
236 keymaster_error_t Keymaster2Test::BeginOperation(keymaster_purpose_t purpose) {
246 keymaster_error_t Keymaster2Test::BeginOperation(keymaster_purpose_t purpose,
264 keymaster_error_t Keymaster2Test::UpdateOperation(const string& message, string* output,
278 keymaster_error_t Keymaster2Test::UpdateOperation(const AuthorizationSet& additional_params,
297 keymaster_error_t Keymaster2Test::FinishOperation(string* output) {
301 keymaster_error_t Keymaster2Test::FinishOperation(const string& input, const string& signature,
308 keymaster_error_t Keymaster2Test::FinishOperation(const AuthorizationSet& additional_params,
333 keymaster_error_t Keymaster2Test::AbortOperation() {
337 keymaster_error_t Keymaster2Test::AttestKey(const string& attest_challenge,
350 keymaster_error_t Keymaster2Test::UpgradeKey(const AuthorizationSet& upgrade_params) {
361 string Keymaster2Test::ProcessMessage(keymaster_purpose_t purpose, const string& message) {
369 string Keymaster2Test::ProcessMessage(keymaster_purpose_t purpose, const string& message,
380 string Keymaster2Test::ProcessMessage(keymaster_purpose_t purpose, const string& message,
391 string Keymaster2Test::ProcessMessage(keymaster_purpose_t purpose, const string& message,
400 void Keymaster2Test::SignMessage(const string& message, string* signature,
412 void Keymaster2Test::SignMessage(const string& message, string* signature,
425 void Keymaster2Test::MacMessage(const string& message, string* signature, size_t mac_length) {
436 void Keymaster2Test::VerifyMessage(const string& message, const string& signature,
447 void Keymaster2Test::VerifyMessage(const string& message, const string& signature,
459 void Keymaster2Test::VerifyMac(const string& message, const string& signature) {
464 string Keymaster2Test::EncryptMessage(const string& message, keymaster_padding_t padding,
482 string Keymaster2Test::EncryptMessage(const string& message, keymaster_digest_t digest,
488 string Keymaster2Test::EncryptMessage(const string& message, keymaster_block_mode_t block_mode,
494 string Keymaster2Test::EncryptMessage(const AuthorizationSet& update_params, const string& message,
513 string Keymaster2Test::EncryptMessage(const AuthorizationSet& update_params, const string& message,
532 string Keymaster2Test::EncryptMessageWithParams(const string& message,
540 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_padding_t padding) {
548 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_digest_t digest,
558 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_block_mode_t block_mode,
568 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_digest_t digest,
579 string Keymaster2Test::DecryptMessage(const string& ciphertext, keymaster_block_mode_t block_mode,
590 string Keymaster2Test::DecryptMessage(const AuthorizationSet& update_params,
601 keymaster_error_t Keymaster2Test::GetCharacteristics() {
607 keymaster_error_t Keymaster2Test::ExportKey(keymaster_key_format_t format, string* export_data) {
620 void Keymaster2Test::CheckHmacTestVector(const string& key, const string& message,
632 void Keymaster2Test::CheckAesCtrTestVector(const string& key, const string& nonce,
651 AuthorizationSet Keymaster2Test::hw_enforced() {
655 AuthorizationSet Keymaster2Test::sw_enforced() {
659 void Keymaster2Test::FreeCharacteristics() {
663 void Keymaster2Test::FreeKeyBlob() {
668 void Keymaster2Test::corrupt_key_blob() {