MCPcopy Create free account
hub / github.com/celzero/firestack / mgf1XOR

Function mgf1XOR

intra/core/brsa/rsa.go:49–66  ·  view source on GitHub ↗

mgf1XOR XORs the bytes in out with a mask generated using the MGF1 function specified in PKCS #1 v2.1.

(out []byte, hash hash.Hash, seed []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

emsaPSSEncodeFunction · 0.85
emsaPSSVerifyFunction · 0.85

Calls 3

incCounterFunction · 0.85
WriteMethod · 0.65
ResetMethod · 0.45

Tested by

no test coverage detected