diff --git a/ChangeLog.md b/ChangeLog.md new file mode 100644 index 0000000..7c96046 --- /dev/null +++ b/ChangeLog.md @@ -0,0 +1,11 @@ +# wolfProvider version 1.0.0 (July 17, 2024) + +This is the first release of wolfProvider. It is similar to wolfEngine (which +creates a library to interface with OpenSSL 1.x). WolfProvider interfaces with +OpenSSL 3.x using our wolfCrypt cryptography module. + +This first release has sample applications for Android as well as XCode (iOS). +In addition, there are utility scripts added as a convenience for compiling +all the dependencies of wolfProvider. + +Refer to README.md for more details diff --git a/Makefile.am b/Makefile.am index a5d5634..6d41427 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,7 +18,7 @@ include src/include.am include include/include.am include test/include.am include certs/include.am -#include scripts/include.am +include scripts/include.am #noinst_PROGRAMS += bench #bench_SOURCES = bench.c diff --git a/include/wolfprovider/version.h b/include/wolfprovider/version.h index fc1db12..6b32ea2 100644 --- a/include/wolfprovider/version.h +++ b/include/wolfprovider/version.h @@ -27,7 +27,7 @@ extern "C" { #endif -#define LIBWOLFPROV_VERSION_STRING "0.0.1" +#define LIBWOLFPROV_VERSION_STRING "1.0.0" #define LIBWOLFPROV_VERSION_HEX @HEX_VERSION@ #ifdef __cplusplus diff --git a/scripts/build-wolfprovider.sh b/scripts/build-wolfprovider.sh new file mode 100755 index 0000000..c13aa1e --- /dev/null +++ b/scripts/build-wolfprovider.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# This script provides the bare minimum function definitions for compiling +# the wolfProvider library + +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" +LOG_FILE=${SCRIPT_DIR}/build-release.log +source ${SCRIPT_DIR}/utils-wolfprovider.sh + +kill_servers() { + if [ "$(jobs -p)" != "" ]; then + kill $(jobs -p) + fi +} + +do_cleanup() { + sleep 0.5 # flush buffers + kill_servers +} + +do_trap() { + printf "got trap\n" + do_cleanup + date + exit 1 +} +trap do_trap INT TERM + +echo "Using openssl: $OPENSSL_TAG, wolfssl: $WOLFSSL_TAG" + +init_wolfprov + +exit $? diff --git a/scripts/include.am b/scripts/include.am new file mode 100644 index 0000000..c22cf55 --- /dev/null +++ b/scripts/include.am @@ -0,0 +1,6 @@ +dist_noinst_SCRIPTS += scripts/build-wolfprovider.sh +dist_noinst_SCRIPTS += scripts/test-openssl.sh +dist_noinst_SCRIPTS += scripts/test-wp-cs.sh +dist_noinst_SCRIPTS += scripts/utils-openssl.sh +dist_noinst_SCRIPTS += scripts/utils-wolfssl.sh +dist_noinst_SCRIPTS += scripts/utils-wolfprovider.sh