Skip to content

Commit

Permalink
Bump to version 0.2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
harrison314 committed Mar 30, 2023
1 parent 399c8a9 commit 2f781d2
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
5 changes: 3 additions & 2 deletions Doc/SuportedAlgorithms.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Supported algorithms

Supported algorithms for _Bouncy Hsm_ version 0.1.0.0 (commit _2633fe5187b9bc95258318bb6a795e7209ff6e58_).
Supported algorithms for _Bouncy Hsm_ version 0.2.0.0 (commit _7811585b6178e9dfed4584bc1aa7ca5f6d52983a_).

## Mechanisms
_Bouncy Hsm_ supports 91 mechanisms.
_Bouncy Hsm_ supports 92 mechanisms.

| Mechanism | Min key size | Max key size | Digest | Sign, Verify | Derive | Encrypt, Decrypt | Generate key pair | Generate key | Wrap, Unwrap |
| :--- | ---: | ---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
Expand Down Expand Up @@ -98,6 +98,7 @@ _Bouncy Hsm_ supports 91 mechanisms.
| `CKM_AES_CFB8` | 16 | 32 | | | || | | |
| `CKM_AES_CFB128` | 16 | 32 | | | || | | |
| `CKM_AES_CFB1` | 16 | 32 | | | || | | |
| `CKM_AES_KEY_WRAP_PAD` | 16 | 32 | | | | | | ||

## Elitic curves
_Bouncy Hsm_ supports 80 different named elliptic curves.
Expand Down
8 changes: 4 additions & 4 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ public partial class Build : NukeBuild
CopyDirectoryRecursively(ArtifactsTmpDirectory / "native", ArtifactsTmpDirectory / "BouncyHsm" / "native");
CreateZip(ArtifactsTmpDirectory / "native" / "Win-x64" / "BouncyHsm.Pkcs11Lib.dll",
"Win X64",
"0.1.0.0", //TODO
"0.2.0.0", //TODO
ArtifactsTmpDirectory / "BouncyHsm" / "wwwroot" / "native" / "BouncyHsm.Pkcs11Lib-Winx64.zip");
CreateZip(ArtifactsTmpDirectory / "native" / "Win-x86" / "BouncyHsm.Pkcs11Lib.dll",
"Win X86",
"0.1.0.0", //TODO
"0.2.0.0", //TODO
ArtifactsTmpDirectory / "BouncyHsm" / "wwwroot" / "native" / "BouncyHsm.Pkcs11Lib-Winx86.zip");

AbsolutePath linuxNativeLibx64 = RootDirectory / "build_linux" / "BouncyHsm.Pkcs11Lib-x64.so";
Expand All @@ -113,7 +113,7 @@ public partial class Build : NukeBuild

CreateZip(linuxNativeLibx64,
"Linux X64",
"0.1.0.0", //TODO
"0.2.0.0", //TODO
ArtifactsTmpDirectory / "BouncyHsm" / "wwwroot" / "native" / "BouncyHsm.Pkcs11Lib-Linuxx64.zip");
}
else
Expand All @@ -128,7 +128,7 @@ public partial class Build : NukeBuild

CreateZip(linuxNativeLibx32,
"Linux X86",
"0.1.0.0", //TODO
"0.2.0.0", //TODO
ArtifactsTmpDirectory / "BouncyHsm" / "wwwroot" / "native" / "BouncyHsm.Pkcs11Lib-Linuxx84.zip");
}
else
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
<Copyright>Copyright (c) $([System.DateTime]::Now.ToString('yyyy')), Jozef Gajdoš</Copyright>
<PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
<Version>0.1.1</Version>
<Version>0.2.0</Version>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Src/BouncyHsm.Pkcs11Lib/bouncy-pkcs11.c
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ CK_DEFINE_FUNCTION(CK_RV, C_Initialize)(CK_VOID_PTR pInitArgs)

request.ClientInfo.CkUlongSize = sizeof(CK_ULONG);
request.ClientInfo.PointerSize = sizeof(void*);
request.ClientInfo.LibVersion = "1.0.0"; //TODO
request.ClientInfo.LibVersion = BOUNCY_HSM_LIBVERSION;
request.ClientInfo.Platform = "Unknown";

#if defined(_WIN32) || defined(__CYGWIN__)
Expand Down
2 changes: 2 additions & 0 deletions src/Src/BouncyHsm.Pkcs11Lib/globalContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ void GlobalContextInit();
#define BOUNCY_HSM_DEFAULT_PORT 8765
#define PKCS11_LIB_DESCRIPTION "BouncyHsm.Pkcs11 library"

#define BOUNCY_HSM_LIBVERSION "0.2.0.0"

#endif //GLOBAL_CONTEXT

0 comments on commit 2f781d2

Please sign in to comment.