- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for sealGeneric (0.06 sec)
-
lib/fips140/v1.0.0.zip
gcmPlatformData struct { productTable [256]byte } func initGCM(g *GCM) { if !supportsAESGCM { return } gcmAesInit(&g.productTable, aes.EncryptionKeySchedul(&g.cipher)) } func seal(out []byte, g *GCM, nonce, plaintext, data []byte) { if !supportsAESGCM { sealGeneric(out, g, nonce, plaintext, data) return } var counter, tagMask [gcmBlockSize]byte if len(nonce) == gcmStandardNonceSize { // Init counter to nonce||1 copy(counter[:], nonce) counter[gcmBlockSize-1] = 1 } else { // Otherwise counter = GHASH(nonce)...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)