Skip to content

Commit 0f9e8b5

Browse files
committed
wolfTPM Release v2.3.0
1 parent 05d5a0b commit 0f9e8b5

5 files changed

Lines changed: 26 additions & 9 deletions

File tree

ChangeLog.md

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

3+
## wolfTPM Release 2.3 (11/08/2021)
4+
5+
**Summary**
6+
7+
Fixes for minor build issues, refactor of GPIO configure to combine and new PCR Read example.
8+
9+
**Detail**
10+
11+
* Refactor GPIO support (single gpio_config) (PR #194)
12+
* Fix for Linux HAL IO try again timeout logic (PR #194)
13+
* Fix for big endian in TIS layer (PR #191)
14+
* Fix for RSAES padding (RSA_Encrypt) (PR #187)
15+
* Fix in tests to allow command code error for CreateLoaded (not supported on hardware) (PR #184)
16+
* Fix for compiler warning for file read in make_credential.c (PR #182)
17+
* Fixes for Windows builds (PR #181)
18+
* Fixes for RSA RNG in edge case builds (fixes wolfBoot build error) (PR #180)
19+
* Added PCR Read example (PR #185)
20+
21+
322
## wolfTPM Release 2.2 (07/13/2021)
423

524
**Summary**

configure.ac

Lines changed: 5 additions & 5 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.2.0],[https://github.com/wolfssl/wolfTPM/issues],[wolftpm],[http://www.wolfssl.com])
6+
AC_INIT([wolftpm],[2.3.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=12:0:0
26+
WOLFTPM_LIBRARY_VERSION=12:1:0
2727
# | | |
2828
# +------+ | +---+
2929
# | | |
@@ -366,7 +366,7 @@ AC_ARG_ENABLE([autodetect],
366366
if test "x$ENABLED_AUTODETECT" = "xtest"
367367
then
368368
# If a module hasn't been selected then enable auto-detection
369-
if test "x$ENABLED_INFINEON" = "xno" && test "x$ENABLED_MCHP" = "xno" && test "x$ENABLED_ST" = "xno" && test "x$ENABLED_NUVOTON" = "xno"
369+
if test "x$ENABLED_INFINEON" = "xno" && test "x$ENABLED_MCHP" = "xno" && test "x$ENABLED_ST33" = "xno" && test "x$ENABLED_NUVOTON" = "xno"
370370
then
371371
ENABLED_AUTODETECT=yes
372372
fi
@@ -400,7 +400,7 @@ AM_CONDITIONAL([BUILD_WRAPPER], [test "x$ENABLED_WRAPPER" = "xyes"])
400400
AM_CONDITIONAL([HAVE_LIBWOLFSSL], [test "x$ENABLED_WOLFCRYPT" = "xyes"])
401401
AM_CONDITIONAL([BUILD_I2C], [test "x$ENABLED_I2C" = "xyes"])
402402
AM_CONDITIONAL([BUILD_ADVIO], [test "x$ENABLED_ADVIO" = "xyes"])
403-
AM_CONDITIONAL([BUILD_ST], [test "x$ENABLED_ST" = "xyes"])
403+
AM_CONDITIONAL([BUILD_ST], [test "x$ENABLED_ST33" = "xyes"])
404404
AM_CONDITIONAL([BUILD_MICROCHIP], [test "x$ENABLED_MICROCHIP" = "xyes"])
405405
AM_CONDITIONAL([BUILD_INFINEON], [test "x$ENABLED_INFINEON" = "xyes"])
406406
AM_CONDITIONAL([BUILD_DEVTPM], [test "x$ENABLED_DEVTPM" = "xyes"])
@@ -529,7 +529,7 @@ echo " * WINAPI: $ENABLED_WINAPI"
529529
echo " * TIS/SPI Check Wait State: $ENABLED_CHECKWAITSTATE"
530530

531531
echo " * Infineon SLB9670 $ENABLED_INFINEON"
532-
echo " * STM ST33: $ENABLED_ST"
532+
echo " * STM ST33: $ENABLED_ST33"
533533
echo " * Microchip ATTPM20: $ENABLED_MICROCHIP"
534534
echo " * Nuvoton NPCT75x: $ENABLED_NUVOTON"
535535

examples/native/native_test.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,6 @@ int TPM2_Native_TestArgs(void* userCtx, int argc, char *argv[])
757757
}
758758
else if (rc == TPM_RC_COMMAND_CODE) {
759759
printf("TPM2_CreatLoaded: Command is not supported on this hardware\n");
760-
rc = TPM_RC_SUCCESS; /* clear error code */
761760
}
762761
else {
763762
printf("TPM2_CreateLoaded failed %d: %s\n", rc,

examples/wrap/wrap_test.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@ int TPM2_Wrapper_TestArgs(void* userCtx, int argc, char *argv[])
272272
}
273273
else if (rc == TPM_RC_COMMAND_CODE) {
274274
printf("CreateLoadedKey: Feature is not suppored on this hardware\n");
275-
rc = TPM_RC_SUCCESS; /* clear error code */
276275
}
277276
else {
278277
goto exit;

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 "2.2.0"
38-
#define LIBWOLFTPM_VERSION_HEX 0x02002000
37+
#define LIBWOLFTPM_VERSION_STRING "2.3.0"
38+
#define LIBWOLFTPM_VERSION_HEX 0x02003000
3939

4040
#ifdef __cplusplus
4141
}

0 commit comments

Comments
 (0)