Searched refs:msglen (Results 1 – 1 of 1) sorted by relevance
/test/vts-testcase/kernel/encryption/ |
D | adiantum.cpp | 188 int msglen, uint8_t out[kPoly1305HashSize]) { in Poly1305() argument 200 CRYPTO_poly1305_update(&state, msg, msglen); in Poly1305() 214 static uint64_t NH_Pass(const uint32_t *key, const uint8_t *msg, int msglen) { in NH_Pass() argument 217 EXPECT_TRUE(msglen % kNHMessageUnit == 0); in NH_Pass() 218 while (msglen >= kNHMessageUnit) { in NH_Pass() 223 msglen -= kNHMessageUnit; in NH_Pass() 229 static void NH(const uint32_t *key, const uint8_t *msg, int msglen, in NH() argument 234 put_unaligned_le64(NH_Pass(key, msg, msglen), &result[i]); in NH() 244 int msglen, uint8_t result[kPoly1305HashSize]) { in AdiantumHash() argument 250 const int num_nh_blocks = (msglen + kNHBlockSize - 1) / kNHBlockSize; in AdiantumHash() [all …]
|