1 implementation of GenRandom
Microsoft.AspNetCore.DataProtection (1)
Cng\BCryptGenRandomImpl.cs (1)
16
public void
GenRandom
(byte* pbBuffer, uint cbBuffer)
2 references to GenRandom
Microsoft.AspNetCore.DataProtection (2)
Cng\CbcAuthenticatedEncryptor.cs (1)
314
_genRandom.
GenRandom
(pbKeyModifierAndIV, cbKeyModifierAndIV);
Cng\CngGcmAuthenticatedEncryptor.cs (1)
247
_genRandom.
GenRandom
(pbKeyModifier, KEY_MODIFIER_SIZE_IN_BYTES + NONCE_SIZE_IN_BYTES);