- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for NewCounter (0.39 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
lib/fips140/v1.26.0.zip
0x8c, 0x8d, 0x8e, 0x8f, 0x90, } want := []byte{ 0x6e, 0x6e, 0x47, 0x9d, 0x24, 0xf8, 0x6a, 0x3b, 0x77, 0x87, 0xa8, 0xf8, 0x18, 0x6d, 0x98, 0x5a, 0x53, 0xbe, 0xbe, 0xed, 0xde, 0xab, 0x92, 0x28, 0xf0, 0xf4, 0xac, 0x6e, 0x10, 0xbf, 0x01, 0x93, } c := NewCounter(entropy) c.Reseed(reseedEntropy, additionalInput) got := make([]byte, len(want)) c.Generate(got, additionalInput) if !bytes.Equal(got, want) { return errors.New("unexpected result") } return nil }) } golang.org/fips140@v1.26.0/fips140/v1.26.0/drbg/ctrdrbg.go...Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0)