Home
last modified time | relevance | path

Searched refs:begin_params (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp3136 auto begin_params = AuthorizationSetBuilder() in TEST_P() local
3146 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)) in TEST_P()
3156 begin_params.push_back(begin_out_params); in TEST_P()
3159 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::DECRYPT, begin_params)) << "Begin decrypt"; in TEST_P()
3187 auto begin_params = AuthorizationSetBuilder() in TEST_P() local
3197 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)) in TEST_P()
3208 begin_params.push_back(begin_out_params); in TEST_P()
3211 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::DECRYPT, begin_params)) << "Begin decrypt"; in TEST_P()
3432 auto begin_params = AuthorizationSetBuilder() in TEST_P() local
3441 EXPECT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)); in TEST_P()
[all …]
DKeymasterHidlTest.cpp495 auto begin_params = AuthorizationSetBuilder().BlockMode(block_mode).Padding(padding_mode); in CheckTripleDesTestVector() local
496 if (iv.size()) begin_params.Authorization(TAG_NONCE, iv.data(), iv.size()); in CheckTripleDesTestVector()
498 string output = ProcessMessage(key_blob_, purpose, input, begin_params, &output_params); in CheckTripleDesTestVector()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp3389 auto begin_params = AuthorizationSetBuilder() in TEST_P() local
3399 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)) in TEST_P()
3407 begin_params.push_back(begin_out_params); in TEST_P()
3410 ASSERT_EQ(ErrorCode::OK, Begin(KeyPurpose::DECRYPT, begin_params)) << "Begin decrypt"; in TEST_P()
3597 auto begin_params = AuthorizationSetBuilder() in TEST_P() local
3606 EXPECT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)); in TEST_P()
3628 begin_params.push_back(begin_out_params); in TEST_P()
3634 EXPECT_EQ(ErrorCode::OK, Begin(KeyPurpose::DECRYPT, begin_params)); in TEST_P()
3656 auto begin_params = AuthorizationSetBuilder() in TEST_P() local
3665 EXPECT_EQ(ErrorCode::OK, Begin(KeyPurpose::ENCRYPT, begin_params, &begin_out_params)); in TEST_P()
[all …]