- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for RoundToBlock (0.07 sec)
-
lib/fips140/v1.1.0-rc1.zip
c.XORKeyStreamAt(dst, src, c.offset) var carry uint64 c.offset, carry = bits.Add64(c.offset, uint64(len(src)), 0) if carry != 0 { panic("crypto/aes: counter overflow") } } // RoundToBlock is used by CTR_DRBG, which discards the rightmost unused bits at // each request. It rounds the offset up to the next block boundary. func RoundToBlock(c *CTR) { if remainder := c.offset % BlockSize; remainder != 0 { var carry uint64 c.offset, carry = bits.Add64(c.offset, BlockSize-remainder, 0) if carry != 0 { panic("crypto/aes:...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)