- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for gcmHash (0.07 sec)
-
lib/fips140/v1.0.0.zip
calculates a new value for hash using the ghash // algorithm. func paddedGHASH(hash *[16]byte, data []byte, productTable *[256]byte) { if siz := len(data) - (len(data) % gcmBlockSize); siz > 0 { gcmHash(hash[:], productTable, data[:], siz) data = data[siz:] } if len(data) > 0 { var s [16]byte copy(s[:], data) gcmHash(hash[:], productTable, s[:], len(s)) } } // auth calculates GHASH(ciphertext, additionalData), masks the result with // tagMask and writes the result to out. func auth(out, ciphertext, aad...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)