Skip to content

Commit 1fa1595

Browse files
Merge pull request #343 from dgarske/v3.2.0-relprep
wolfTPM release v3.2.0 prep
2 parents 1126c2e + c98ee9a commit 1fa1595

Some content is hidden

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

101 files changed

+174
-112
lines changed

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**

IDE/OPENSTM32/Inc/wolftpm_example.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* wolftpm_example.h
22
*
3-
* Copyright (C) 2006-2022 wolfSSL Inc.
3+
* Copyright (C) 2006-2024 wolfSSL Inc.
44
*
55
* This file is part of wolfTPM.
66
*

IDE/OPENSTM32/Src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* main.c
22
*
3-
* Copyright (C) 2006-2022 wolfSSL Inc.
3+
* Copyright (C) 2006-2024 wolfSSL Inc.
44
*
55
* This file is part of wolfTPM.
66
*
@@ -18,7 +18,7 @@
1818
* along with this program; if not, write to the Free Software
1919
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
21-
21+
2222

2323
#include "wolftpm_example.h"
2424

IDE/OPENSTM32/Src/wolftpm_example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* wolftpm_example.c
22
*
3-
* Copyright (C) 2006-2022 wolfSSL Inc.
3+
* Copyright (C) 2006-2024 wolfSSL Inc.
44
*
55
* This file is part of wolfTPM.
66
*

IDE/VisualStudio/user_settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* user_settings.h
22
*
3-
* Copyright (C) 2006-2023 wolfSSL Inc.
3+
* Copyright (C) 2006-2024 wolfSSL Inc.
44
*
55
* This file is part of wolfTPM.
66
*

configure.ac

Lines changed: 8 additions & 9 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

@@ -479,7 +478,7 @@ rm -f $OPTION_FILE
479478
echo "/* wolftpm options.h" > $OPTION_FILE
480479
echo " * generated from configure options" >> $OPTION_FILE
481480
echo " *" >> $OPTION_FILE
482-
echo " * Copyright (C) 2006-2021 wolfSSL Inc." >> $OPTION_FILE
481+
echo " * Copyright (C) 2006-2024 wolfSSL Inc." >> $OPTION_FILE
483482
echo " *" >> $OPTION_FILE
484483
echo " * * This file is part of wolfTPM." >> $OPTION_FILE
485484
echo " *" >> $OPTION_FILE

examples/attestation/activate_credential.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* activate_credential.c
22
*
3-
* Copyright (C) 2006-2022 wolfSSL Inc.
3+
* Copyright (C) 2006-2024 wolfSSL Inc.
44
*
55
* This file is part of wolfTPM.
66
*

examples/attestation/credential.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* credential.h
22
*
3-
* Copyright (C) 2006-2022 wolfSSL Inc.
3+
* Copyright (C) 2006-2024 wolfSSL Inc.
44
*
55
* This file is part of wolfTPM.
66
*

examples/attestation/make_credential.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* make_credential.c
22
*
3-
* Copyright (C) 2006-2022 wolfSSL Inc.
3+
* Copyright (C) 2006-2024 wolfSSL Inc.
44
*
55
* This file is part of wolfTPM.
66
*

0 commit comments

Comments
 (0)