Skip to content

Commit 4157ed5

Browse files
committed
Release v3.2.0 prep.
1 parent 1126c2e commit 4157ed5

5 files changed

Lines changed: 74 additions & 12 deletions

File tree

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 3.1.0 LANGUAGES C)
24+
project(wolfTPM VERSION 3.2.0 LANGUAGES C)
2525

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

ChangeLog.md

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

3+
## wolfTPM Release 3.2.0 (Apr 24, 2024)
4+
5+
**Summary**
6+
7+
Added TPM Firmware update support (Infineon SLB9672/SLB9673). Added support for pre-provisioned device identity keys/certificates (STMicro ST33). Fixed issue with sealing secret to prevent `userWithAuth` by default. Expanded the TPM get capabilities support.
8+
9+
**Detail**
10+
11+
* Added new API `wolfTPM2_NVCreateAuthPolicy` for allowing NV creation with policy (PR #344)
12+
* Added Infineon firmware update recovery support (PR #342)
13+
* Added support for Infineon Firmware upgrade (PR #339)
14+
- Added support for Infineon SLB9672/SLB9673 Firmware upgrade (see examples/firmware/README.md)
15+
- Added Infineon Modus Toolbox support. See `wolfssl/IDE/Infineon/README.md` for setup instructions.
16+
- Added support for Infineon CyHal I2C support.
17+
- Added Firmware extraction tool
18+
- Added Firmware update example application `examples/firmware/ifx_fw_update`.
19+
- Added support for vendor capabilities `TPM_CAP_VENDOR_PROPERTY`.
20+
- Added `XSLEEP_MS` macro for firmware update delay.
21+
- Added support for getting key group id, operational mode and update counts.
22+
- Added support for abandoning an update.
23+
- Added support for firmware update done, but not finalized
24+
- Added Infineon CyHal SPI support.
25+
- Fixed auto-detect to not define SLB9672/SLB9673.
26+
* Fixed TLS examples to not use openssl compatibility macros (PR #341)
27+
* Added ST33 support for pre-provisioned device identity key and certificate (PR #336)
28+
- Added support for pre-provisioned TPM using the "TPM 2.0 Keys for Device Identity and Attestation" specification. See build macro: `WOLFTPM_MFG_IDENTITY`.
29+
- Added example for using TPM pre-provisioned device identity to TLS client example.
30+
- Fixed ST33 vendor command to enable command codes (TPM2_SetCommandSet) (it requires platform auth to be set).
31+
- Added benchmarks for new ST33KTPM2XI2C.
32+
- Fixed 0x1XX error code parsing.
33+
- Fixed ST33 part descriptions.
34+
- Updated example certificates.
35+
* Fixes for building wolfTPM examples with `NO_FILESYSTEM` (PR #338)
36+
* Fixed crypto callback hashing return code initialization (PR #334)
37+
* Updated documentation for Infineon SLB9673 (I2C) (PR #337)
38+
* Fixed Documentation references for generated user manual (PR #335)
39+
* Fixed netdb.h include (PR #333)
40+
* Fixes for building with "-Wpedantic" (PR #332)
41+
* Added new API `wolfTPM2_GetHandles` to get list of handles from the TPM capabilities. (PR #328)
42+
* Fixed config.h, which should only be included from .c files, not headers. (PR #330/#331)
43+
* Fixed CMake tests (PR #329)
44+
* Fixed and improved secret sealing/unsealing (PR #327)
45+
- Do not set userWithAuth by default when creating sealed objects. That flag allows password auth for the sealed object. Without the flag it only allows policy auth.
46+
- Allow setting policy auth with flags.
47+
- Fix secret_unseal to use policy session and valid sealed name.
48+
- Added expected failure test cases for seal/unseal with policy.
49+
- Improve the run_examples.sh script
50+
* Improved types for htons and byte swap (PR #326)
51+
- Match byte swap logic with wolfSSL (use WOLF_ALLOW_BUILTIN).
52+
- Remove unused `XHTONS` and `arpa/inet.h`.
53+
* Improved STMicro product naming (PR #325)
54+
* Improved the STM32Cube template (PR #324)
55+
- Setup so next pack can add small stack and transport options: `WOLFTPM_CONF_SMALL_STACK` and `WOLFTPM_CONF_TRANSPORT` (0=SPI, 1=I2C).
56+
* Fixed build error with missing `wc_RsaKeyToPublicDer_ex` (PR #323)
57+
* Improved the ECC macro checks for `wc_EccPublicKeyToDer` (PR #323)
58+
* Added PKCS7 ECC support to example (PR #322)
59+
- Added wrapper function to export TPM public key as DER/ASN.1 or PEM.
60+
- Fixed for crypto callback ECC sign to handle getting keySz for unknown cases (like PKCS7 without privateKey set).
61+
* Added expanded key template and cleanups (PR #321)
62+
- Fixed mixed variable declaration.
63+
- Added _ex version for GetKeyTemplate RSA/ECC to allow setting all template parameters.
64+
65+
366
## wolfTPM Release 3.1.0 (Dec 29, 2023)
467

568
**Summary**

configure.ac

Lines changed: 7 additions & 8 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],[3.1.0],[https://github.com/wolfssl/wolfTPM/issues],[wolftpm],[http://www.wolfssl.com])
6+
AC_INIT([wolftpm],[3.2.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])
@@ -28,18 +28,17 @@ AC_ARG_PROGRAM
2828

2929
AC_CONFIG_HEADERS([src/config.h])
3030

31-
WOLFTPM_LIBRARY_VERSION=16:1:0
31+
WOLFTPM_LIBRARY_VERSION=16:2:0
3232
# | | |
3333
# +------+ | +---+
3434
# | | |
3535
# current:revision:age
3636
# | | |
37-
# | | +- increment if interfaces have been added
38-
# | | set to zero if interfaces have been removed
39-
# | | or changed
40-
# | +- increment if source code has changed
41-
# | set to zero if current is incremented
42-
# +- increment if interfaces have been added, removed or changed
37+
# | | +- increment if source code has changed
38+
# | | set to zero if [current] or [revision] is incremented
39+
# | +- increment if interfaces have been added
40+
# | set to zero if [current] is incremented
41+
# +- increment if interfaces have been removed or changed
4342
AC_SUBST([WOLFTPM_LIBRARY_VERSION])
4443

4544

examples/tls/tls_server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static int mStop = 0;
5757
* This example server listens on port 11111 by default, but can be set at
5858
* build-time using `TLS_PORT`.
5959
*
60-
* By default this example will loads RSA keys unless RSA is disabled (NO_RSA)
60+
* By default this example will load RSA keys unless RSA is disabled (NO_RSA)
6161
* or the TLS_USE_ECC build option is used.
6262
*
6363
* You can validate using the wolfSSL example client this like:

wolftpm/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
extern "C" {
3535
#endif
3636

37-
#define LIBWOLFTPM_VERSION_STRING "3.1.0"
38-
#define LIBWOLFTPM_VERSION_HEX 0x03001000
37+
#define LIBWOLFTPM_VERSION_STRING "3.2.0"
38+
#define LIBWOLFTPM_VERSION_HEX 0x03002000
3939

4040
#ifdef __cplusplus
4141
}

0 commit comments

Comments
 (0)