- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewCounter (0.07 sec)
-
lib/fips140/v1.0.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.0.0/fips140/v1.0.0/drbg/ctrdrbg.go...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)