Lines Matching refs:AuthorizationSet
33 ::std::ostream& operator<<(::std::ostream& os, const AuthorizationSet& set) { in operator <<()
67 ErrorCode KeymasterHidlTest::GenerateKey(const AuthorizationSet& key_desc, HidlBuf* key_blob, in GenerateKey()
93 ErrorCode KeymasterHidlTest::GenerateKey(const AuthorizationSet& key_desc) { in GenerateKey()
97 ErrorCode KeymasterHidlTest::ImportKey(const AuthorizationSet& key_desc, KeyFormat format, in ImportKey()
119 ErrorCode KeymasterHidlTest::ImportKey(const AuthorizationSet& key_desc, KeyFormat format, in ImportKey()
125 const AuthorizationSet& wrapping_key_desc, in ImportWrappedKey()
127 const AuthorizationSet& unwrapping_params) { in ImportWrappedKey()
248 const AuthorizationSet& in_params, AuthorizationSet* out_params, in Begin()
269 ErrorCode KeymasterHidlTest::Begin(KeyPurpose purpose, const AuthorizationSet& in_params, in Begin()
270 AuthorizationSet* out_params) { in Begin()
276 ErrorCode KeymasterHidlTest::Begin(KeyPurpose purpose, const AuthorizationSet& in_params) { in Begin()
278 AuthorizationSet out_params; in Begin()
284 ErrorCode KeymasterHidlTest::Update(OperationHandle op_handle, const AuthorizationSet& in_params, in Update()
285 const string& input, AuthorizationSet* out_params, in Update()
296 out_params->push_back(AuthorizationSet(hidl_out_params)); in Update()
306 AuthorizationSet out_params; in Update()
307 ErrorCode error = Update(op_handle_, AuthorizationSet() /* in_params */, input, &out_params, in Update()
313 ErrorCode KeymasterHidlTest::Finish(OperationHandle op_handle, const AuthorizationSet& in_params, in Finish()
315 AuthorizationSet* out_params, string* output) { in Finish()
335 AuthorizationSet out_params; in Finish()
337 ErrorCode error = Finish(op_handle_, AuthorizationSet() /* in_params */, message, in Finish()
349 AuthorizationSet out_params; in Finish()
350 ErrorCode error = Finish(op_handle_, AuthorizationSet() /* in_params */, message, signature, in Finish()
376 const AuthorizationSet& attest_params, in AttestKey()
393 ErrorCode KeymasterHidlTest::AttestKey(const AuthorizationSet& attest_params, in AttestKey()
400 const string& message, const AuthorizationSet& in_params, in ProcessMessage()
401 AuthorizationSet* out_params) { in ProcessMessage()
403 AuthorizationSet begin_out_params; in ProcessMessage()
408 AuthorizationSet update_params; in ProcessMessage()
409 AuthorizationSet update_out_params; in ProcessMessage()
414 AuthorizationSet finish_params; in ProcessMessage()
415 AuthorizationSet finish_out_params; in ProcessMessage()
426 const AuthorizationSet& params) { in SignMessage()
428 AuthorizationSet out_params; in SignMessage()
434 string KeymasterHidlTest::SignMessage(const string& message, const AuthorizationSet& params) { in SignMessage()
479 AuthorizationSet out_params; in CheckAesCtrTestVector()
497 AuthorizationSet output_params; in CheckTripleDesTestVector()
503 const string& signature, const AuthorizationSet& params) { in VerifyMessage()
505 AuthorizationSet begin_out_params; in VerifyMessage()
510 AuthorizationSet update_params; in VerifyMessage()
511 AuthorizationSet update_out_params; in VerifyMessage()
519 AuthorizationSet finish_params; in VerifyMessage()
520 AuthorizationSet finish_out_params; in VerifyMessage()
528 const AuthorizationSet& params) { in VerifyMessage()
534 const AuthorizationSet& in_params, in EncryptMessage()
535 AuthorizationSet* out_params) { in EncryptMessage()
540 string KeymasterHidlTest::EncryptMessage(const string& message, const AuthorizationSet& params, in EncryptMessage()
541 AuthorizationSet* out_params) { in EncryptMessage()
546 string KeymasterHidlTest::EncryptMessage(const string& message, const AuthorizationSet& params) { in EncryptMessage()
548 AuthorizationSet out_params; in EncryptMessage()
558 AuthorizationSet out_params; in EncryptMessage()
568 AuthorizationSet out_params; in EncryptMessage()
584 AuthorizationSet out_params; in EncryptMessage()
598 AuthorizationSet out_params; in EncryptMessage()
604 const AuthorizationSet& params) { in DecryptMessage()
606 AuthorizationSet out_params; in DecryptMessage()
613 string KeymasterHidlTest::DecryptMessage(const string& ciphertext, const AuthorizationSet& params) { in DecryptMessage()