- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for pseudorandomKey (0.08 sec)
-
lib/fips140/v1.0.0-c2097c7c.zip
salt = make([]byte, h().Size()) } extractor := hmac.New(h, salt) hmac.MarkAsUsedInKDF(extractor) extractor.Write(secret) return extractor.Sum(nil) } func Expand[H fips140.Hash](h func() H, pseudorandomKey []byte, info string, keyLen int) []byte { out := make([]byte, 0, keyLen) expander := hmac.New(h, pseudorandomKey) hmac.MarkAsUsedInKDF(expander) var counter uint8 var buf []byte for len(out) < keyLen { counter++ if counter == 0 { panic("hkdf: counter overflow") } if counter > 1 { expander.Reset() }...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 25 19:53:19 UTC 2025 - 642.7K bytes - Viewed (0) -
lib/fips140/v1.1.0-rc1.zip
salt = make([]byte, h().Size()) } extractor := hmac.New(h, salt) hmac.MarkAsUsedInKDF(extractor) extractor.Write(secret) return extractor.Sum(nil) } func Expand[H hash.Hash](h func() H, pseudorandomKey []byte, info string, keyLen int) []byte { out := make([]byte, 0, keyLen) expander := hmac.New(h, pseudorandomKey) hmac.MarkAsUsedInKDF(expander) var counter uint8 var buf []byte for len(out) < keyLen { counter++ if counter == 0 { panic("hkdf: counter overflow") } if counter > 1 { expander.Reset() }...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)