Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Add BCryptKeyDerivation #478

Merged
merged 2 commits into from
Jul 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions src/BCrypt/BCrypt+BCryptKeyDerivationFlags.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Copyright © .NET Foundation and Contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace PInvoke
{
/// <content>
/// Contains the <see cref="BCryptKeyDerivationFlags"/> nested type.
/// </content>
public partial class BCrypt
{
/// <summary>
/// Flags that may be passed to the <see cref="BCryptKeyDerivation(SafeKeyHandle, BCryptBufferDesc*, byte*, int, out int, BCryptKeyDerivationFlags)"/> method.
/// </summary>
public enum BCryptKeyDerivationFlags : uint
{
/// <summary>
/// No flags.
/// </summary>
None = 0x0,

/// <summary>
/// Specifies that the target algorithm is AES and that the key therefore must be double expanded. This flag is only valid with the CAPI_KDF algorithm.
/// </summary>
BCRYPT_CAPI_AES_FLAG = 0x00000010,
}
}
}
Loading