Skip to content

Commit d7b76cd

Browse files
authored
Merge pull request #233 from dgarske/release_v2.5.0
wolfTPM v2.5.0 release
2 parents 3d2a9e8 + 3f84b2e commit d7b76cd

86 files changed

Lines changed: 199 additions & 161 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
cmake_minimum_required(VERSION 3.16)
2323

24-
project(wolfTPM VERSION 2.4.0 LANGUAGES C)
24+
project(wolfTPM VERSION 2.5.0 LANGUAGES C)
2525

2626
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
2727
set(WOLFTPM_DEFINITIONS)

ChangeLog.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# Release Notes
22

3+
## wolfTPM Release 2.5 (07/22/2022)
4+
5+
**Summary**
6+
7+
Major expansion of the C# wrapper for key handling, CSR/Cert generation, RSA enc/dec and sign/verify.
8+
Added Infineon SLB9672 support.
9+
Enhancements to the CMake support.
10+
Added new keygen example for creating a primary key.
11+
12+
**Detail**
13+
14+
* Fixed issue with sign signature buffer size checking (PR #232)
15+
* Fixed support for using nonce from TPM (when using no wolfCrypt RNG `WOLFTPM2_USE_HW_RNG`) (PR #216)
16+
* Fixed workaround for Windows TBS self test (PR #224)
17+
* Fixed issue with CSharp handle unloading (PR #212)
18+
* Fixed TPM support for using the public key with TLS (PR #210)
19+
* Added crypto callback support for seeding RNG with TPM (PR #216)
20+
* Added Infineon SLB9672 support (PR #214)
21+
* Added support for using a unique template with create and create primary (PR #215)
22+
* Added CSharp wrapper support for RSA encrypt/decrypt and Sign/Verify. (PR #232)
23+
* Added CSharp wrapper documentation for CSR functions (PR #232)
24+
* Added CSharp support for handling TPM errors with exception (PR #224)
25+
* Added CSR wrappers and tests to assist with TPM based CSR/Self-Signed-Cert generation (including CSharp wrappers) (PR #219)
26+
- Support for subject, key usage, custom request extensions and output as PEM or DER
27+
- New structure `WOLFTPM2_CSR`, new API's `wolfTPM2_CSR_*` and new CSharp class `Csr`
28+
* Added CSharp create primary key example (PR #215)
29+
* Added CSharp wrapper and tests for `wolfTPM2_CreatePrimaryKey()` (PR #213)
30+
* Added CSharp tests for authenticated sessions (PR #212)
31+
* Added CSharp wrappers `wolfTPM2_SetAuthSession` and `wolfTPM2_NVStoreKey` (PR #209)
32+
* Added CSharp `IDisposable` in classes for cleanup of unmanaged resources (PR #225)
33+
* Added support for wolfTPM CMake to output the options.h (PR #211)
34+
* Added CMake `WOLFTPM_DEBUG` option (PR #211)
35+
* Improved the byte swapping logic for GCC (PR #231)
36+
37+
338
## wolfTPM Release 2.4 (05/06/2022)
439

540
**Summary**

IDE/OPENSTM32/Inc/wolftpm_example.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* wolftpm_example.h
22
*
3-
* Copyright (C) 2006-2021 wolfSSL Inc.
3+
* Copyright (C) 2006-2022 wolfSSL Inc.
44
*
55
* This file is part of wolfTPM.
66
*
@@ -16,7 +16,7 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

2222

IDE/OPENSTM32/Src/main.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* main.c
22
*
3-
* Copyright (C) 2006-2021 wolfSSL Inc.
3+
* Copyright (C) 2006-2022 wolfSSL Inc.
44
*
55
* This file is part of wolfTPM.
66
*
@@ -16,8 +16,9 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
21+
2122

2223
#include "wolftpm_example.h"
2324

IDE/OPENSTM32/Src/wolftpm_example.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* wolftpm_example.c
22
*
3-
* Copyright (C) 2006-2021 wolfSSL Inc.
3+
* Copyright (C) 2006-2022 wolfSSL Inc.
44
*
55
* This file is part of wolfTPM.
66
*
@@ -16,7 +16,7 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

2222

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# All right reserved.
44

55
AC_COPYRIGHT([Copyright (C) 2014-2021 wolfSSL Inc.])
6-
AC_INIT([wolftpm],[2.4.0],[https://github.com/wolfssl/wolfTPM/issues],[wolftpm],[http://www.wolfssl.com])
6+
AC_INIT([wolftpm],[2.5.0],[https://github.com/wolfssl/wolfTPM/issues],[wolftpm],[http://www.wolfssl.com])
77

88
AC_PREREQ([2.63])
99
AC_CONFIG_AUX_DIR([build-aux])
@@ -23,7 +23,7 @@ AC_ARG_PROGRAM
2323
AC_CONFIG_MACRO_DIR([m4])
2424
AC_CONFIG_HEADERS([src/config.h])
2525

26-
WOLFTPM_LIBRARY_VERSION=13:0:0
26+
WOLFTPM_LIBRARY_VERSION=14:0:0
2727
# | | |
2828
# +------+ | +---+
2929
# | | |

examples/attestation/activate_credential.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* activate_credential.c
22
*
3-
* Copyright (C) 2006-2021 wolfSSL Inc.
3+
* Copyright (C) 2006-2022 wolfSSL Inc.
44
*
55
* This file is part of wolfTPM.
66
*
@@ -16,7 +16,7 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

2222
/* This example shows how to decrypt a credential for Remote Attestation

examples/attestation/credential.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* credential.h
22
*
3-
* Copyright (C) 2006-2021 wolfSSL Inc.
3+
* Copyright (C) 2006-2022 wolfSSL Inc.
44
*
55
* This file is part of wolfTPM.
66
*
@@ -16,7 +16,7 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

2222
#ifndef _CREDENTIAL_H_

examples/attestation/make_credential.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* make_credential.c
22
*
3-
* Copyright (C) 2006-2021 wolfSSL Inc.
3+
* Copyright (C) 2006-2022 wolfSSL Inc.
44
*
55
* This file is part of wolfTPM.
66
*
@@ -16,7 +16,7 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

2222
/* This example shows how to create a challenge for Remote Attestation */

examples/bench/bench.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* bench.c
22
*
3-
* Copyright (C) 2006-2021 wolfSSL Inc.
3+
* Copyright (C) 2006-2022 wolfSSL Inc.
44
*
55
* This file is part of wolfTPM.
66
*
@@ -16,7 +16,7 @@
1616
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with this program; if not, write to the Free Software
19-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

2222
/* This example shows benchmarks using the TPM2 wrapper API's in

0 commit comments

Comments
 (0)