mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
Merge "Don't send more than 2K to addRngEntropy" into oc-dev am: 7eeb6b5079
am: 35e1be70b4
Change-Id: Ic1b7023117d6531da2f535a6b6cb145a228259bf
This commit is contained in:
@@ -3907,7 +3907,7 @@ TEST_F(AddEntropyTest, AddEmptyEntropy) {
|
||||
* Verifies that the addRngEntropy method doesn't blow up when given a largish amount of data.
|
||||
*/
|
||||
TEST_F(AddEntropyTest, AddLargeEntropy) {
|
||||
EXPECT_EQ(ErrorCode::OK, keymaster().addRngEntropy(HidlBuf(string(16 * 1024, 'a'))));
|
||||
EXPECT_EQ(ErrorCode::OK, keymaster().addRngEntropy(HidlBuf(string(2 * 1024, 'a'))));
|
||||
}
|
||||
|
||||
typedef KeymasterHidlTest AttestationTest;
|
||||
|
||||
Reference in New Issue
Block a user