- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for newCTR (0.08 sec)
-
lib/fips140/v1.0.0.zip
"math/bits" ) type CTR struct { b Block ivlo, ivhi uint64 // start counter as 64-bit limbs offset uint64 // for XORKeyStream only } func NewCTR(b *Block, iv []byte) *CTR { // Allocate the CTR here, in an easily inlineable function, so // the allocation can be done in the caller's stack frame // instead of the heap. See issue 70499. c := newCTR(b, iv) return &c } func newCTR(b *Block, iv []byte) CTR { if len(iv) != BlockSize { panic("bad IV length") } return CTR{ b: *b, ivlo: byteorder.BEUint64(iv[8:16]),...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)