- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for gcmHash (0.06 seconds)
-
lib/fips140/v1.26.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...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.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...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0)