1 implementation of GenRandom
Microsoft.AspNetCore.DataProtection (1)
Cng\BCryptGenRandomImpl.cs (1)
16public 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);