Searched refs:to_send (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | KeymasterHidlTest.cpp | 470 string to_send; in CheckAesIncrementalEncryptOperation() local 472 to_send.append(message.substr(i, increment)); in CheckAesIncrementalEncryptOperation() 473 EXPECT_EQ(ErrorCode::OK, Update(to_send, &ciphertext, &input_consumed)); in CheckAesIncrementalEncryptOperation() 474 EXPECT_EQ(to_send.length(), input_consumed); in CheckAesIncrementalEncryptOperation() 475 to_send = to_send.substr(input_consumed); in CheckAesIncrementalEncryptOperation() 476 EXPECT_EQ(0U, to_send.length()); in CheckAesIncrementalEncryptOperation() 483 EXPECT_LE(to_send.length(), 16U); in CheckAesIncrementalEncryptOperation() 488 EXPECT_EQ(0U, to_send.length()); in CheckAesIncrementalEncryptOperation() 492 EXPECT_EQ(ErrorCode::OK, Finish(to_send, &ciphertext)) << "Error sending " << to_send; in CheckAesIncrementalEncryptOperation() 527 to_send.append(ciphertext.substr(i, increment)); in CheckAesIncrementalEncryptOperation() [all …]
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 3088 string to_send; in TEST_P() local 3090 to_send.append(message.substr(i, increment)); in TEST_P() 3091 EXPECT_EQ(ErrorCode::OK, Update(to_send, &ciphertext, &input_consumed)); in TEST_P() 3092 to_send = to_send.substr(input_consumed); in TEST_P() 3099 EXPECT_LE(to_send.length(), 16U); in TEST_P() 3104 EXPECT_EQ(0U, to_send.length()); in TEST_P() 3108 EXPECT_EQ(ErrorCode::OK, Finish(to_send, &ciphertext)) << "Error sending " << to_send; in TEST_P() 3143 to_send.append(ciphertext.substr(i, increment)); in TEST_P() 3144 EXPECT_EQ(ErrorCode::OK, Update(to_send, &plaintext, &input_consumed)); in TEST_P() 3145 to_send = to_send.substr(input_consumed); in TEST_P() [all …]
|
/hardware/interfaces/security/keymint/aidl/vts/functional/ |
D | KeyMintAidlTestBase.cpp | 758 string to_send; in CheckAesIncrementalEncryptOperation() local 762 EXPECT_EQ(ErrorCode::OK, Finish(to_send, &ciphertext)) in CheckAesIncrementalEncryptOperation() 763 << "Error sending " << to_send << " with block mode " << block_mode; in CheckAesIncrementalEncryptOperation() 800 ErrorCode error = Finish(to_send, &plaintext); in CheckAesIncrementalEncryptOperation()
|