Searched refs:nonces (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | HmacKeySharingTest.cpp | 99 std::vector<ByteString> nonces; in copyNonces() local 101 nonces.emplace_back(param.nonce.data(), param.nonce.size()); in copyNonces() 103 return nonces; in copyNonces() 137 auto nonces = copyNonces(params); in TEST_P() local 138 EXPECT_EQ(allKeymasters().size(), nonces.size()); in TEST_P() 139 std::sort(nonces.begin(), nonces.end()); in TEST_P() 140 std::unique(nonces.begin(), nonces.end()); in TEST_P() 141 EXPECT_EQ(allKeymasters().size(), nonces.size()); in TEST_P()
|
/hardware/interfaces/security/sharedsecret/aidl/vts/functional/ |
D | SharedSecretAidlTest.cpp | 87 vector<vector<uint8_t>> nonces; in copyNonces() local 89 nonces.push_back(param.nonce); in copyNonces() 91 return nonces; in copyNonces() 164 auto nonces = copyNonces(params); in TEST_F() local 165 EXPECT_EQ(sharedSecrets.size(), nonces.size()); in TEST_F() 166 std::sort(nonces.begin(), nonces.end()); in TEST_F() 167 std::unique(nonces.begin(), nonces.end()); in TEST_F() 168 EXPECT_EQ(sharedSecrets.size(), nonces.size()); in TEST_F()
|
/hardware/interfaces/keymaster/4.0/ |
D | types.hal | 831 * GCM nonces are 12 bytes in length; AES-CBC and AES-CTR IVs are 16 bytes in length, 3DES-CBC
|
D | IKeymasterDevice.hal | 1037 * Tag::NONCE in outParams. CBC and CTR IVs are 16 bytes. GCM nonces are 12 bytes. If the key
|