use version from wolfssl/version.h with driver

This commit is contained in:
Jacob Barthelmeh
2021-07-13 22:39:39 +07:00
parent 3bebcaaf54
commit 3f22721a86
2 changed files with 5 additions and 3 deletions

View File

@ -9,7 +9,7 @@ CC = qcc -Vgcc_nto$(PLATFORM)
CXX = qcc -lang-c++ -Vgcc_nto$(PLATFORM)
LD = $(CC)
INCLUDES += -I../../../wolfssl/wolfcrypt/port/caam/
INCLUDES += -I../../../ -I../../../wolfssl/wolfcrypt/port/caam/
CCFLAGS += -O2 -Wall
SRCS = \

View File

@ -20,6 +20,7 @@
*/
#include "caam_driver.h"
#include "wolfssl/version.h"
#include <errno.h>
#include <stdio.h>
@ -1190,8 +1191,9 @@ static int getSupported(char* in)
#endif
char cannedResponse[] = {
"wolfCrypt QNX CAAM driver version 4.8.1\n"
"Supports:\n"
"wolfCrypt QNX CAAM driver version "
LIBWOLFSSL_VERSION_STRING
"\nSupports:\n"
"\tAES-CMAC\n"
"\tECC (sign, verify, ecdh, keygen)\n"
"\tBlobs (black and red)\n"