Searched refs:begin_params (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 3253 auto begin_params = AuthorizationSetBuilder() in TEST_P() local 3263 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)) in TEST_P() 3273 begin_params.push_back(begin_out_params); in TEST_P() 3276 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::DECRYPT, begin_params)) << "Begin decrypt"; in TEST_P() 3304 auto begin_params = AuthorizationSetBuilder() in TEST_P() local 3314 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)) in TEST_P() 3325 begin_params.push_back(begin_out_params); in TEST_P() 3328 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::DECRYPT, begin_params)) << "Begin decrypt"; in TEST_P() 3549 auto begin_params = AuthorizationSetBuilder() in TEST_P() local 3558 EXPECT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)); in TEST_P() [all …]
|
D | KeymasterHidlTest.cpp | 590 auto begin_params = AuthorizationSetBuilder().BlockMode(block_mode).Padding(padding_mode); in CheckTripleDesTestVector() local 591 if (iv.size()) begin_params.Authorization(TAG_NONCE, iv.data(), iv.size()); in CheckTripleDesTestVector() 593 string output = ProcessMessage(key_blob_, purpose, input, begin_params, &output_params); in CheckTripleDesTestVector()
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 3392 auto begin_params = AuthorizationSetBuilder() in TEST_P() local 3402 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)) in TEST_P() 3410 begin_params.push_back(begin_out_params); in TEST_P() 3413 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::DECRYPT, begin_params)) << "Begin decrypt"; in TEST_P() 3600 auto begin_params = AuthorizationSetBuilder() in TEST_P() local 3609 EXPECT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)); in TEST_P() 3631 begin_params.push_back(begin_out_params); in TEST_P() 3637 EXPECT_EQ(ErrorCode::OK, Begin(KeyPurpose::DECRYPT, begin_params)); in TEST_P() 3659 auto begin_params = AuthorizationSetBuilder() in TEST_P() local 3668 EXPECT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)); in TEST_P() [all …]
|
/hardware/interfaces/security/keymint/aidl/vts/functional/ |
D | KeyMintTest.cpp | 6855 auto begin_params = AuthorizationSetBuilder() in TEST_P() local 6862 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)) in TEST_P() 6870 begin_params.push_back(begin_out_params); in TEST_P() 6873 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::DECRYPT, begin_params)) << "Begin decrypt"; in TEST_P() 6898 auto begin_params = AuthorizationSetBuilder() in TEST_P() local 6905 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)) in TEST_P() 6916 begin_params.push_back(begin_out_params); in TEST_P() 6919 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::DECRYPT, begin_params)) << "Begin decrypt"; in TEST_P() 7159 auto begin_params = AuthorizationSetBuilder() in TEST_P() local 7165 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)); in TEST_P() [all …]
|
D | KeyMintAidlTestBase.cpp | 955 auto begin_params = AuthorizationSetBuilder().BlockMode(block_mode).Padding(padding_mode); in CheckTripleDesTestVector() local 956 if (iv.size()) begin_params.Authorization(TAG_NONCE, iv.data(), iv.size()); in CheckTripleDesTestVector() 958 string output = ProcessMessage(key_blob_, purpose, input, begin_params, &output_params); in CheckTripleDesTestVector()
|