- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for pseudorandomKey (0.08 seconds)
-
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() }...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0)