Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for RoundToBlock (0.15 seconds)

  1. lib/fips140/v1.0.0-c2097c7c.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:...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  2. 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:...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
Back to Top