BCryptGenRandomFlags.cs 428 B

123456789101112131415
  1. // Copyright (c) .NET Foundation. All rights reserved.
  2. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
  3. using System;
  4. namespace Microsoft.AspNetCore.Cryptography.Cng
  5. {
  6. // from bcrypt.h
  7. [Flags]
  8. internal enum BCryptGenRandomFlags
  9. {
  10. BCRYPT_RNG_USE_ENTROPY_IN_BUFFER = 0x00000001,
  11. BCRYPT_USE_SYSTEM_PREFERRED_RNG = 0x00000002,
  12. }
  13. }