Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RoundToBlock (0.08 sec)

  1. lib/fips140/v1.0.0.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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top