Skip to content

Commit

Permalink
Rebased on latest master
Browse files Browse the repository at this point in the history
  • Loading branch information
danielinux committed Aug 18, 2023
1 parent 5eb7151 commit 7b63233
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gdbinit
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
tar rem:3333
file wolfboot.elf
add-symbol-file test-app/image.elf
foc c


4 changes: 3 additions & 1 deletion include/user_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ extern int tolower(int c);
# define SP_WORD_SIZE 32
# define WOLFSSL_HAVE_SP_ECC
//# define WOLFSSL_SP_MATH_ALL
# define WOLFSSL_KEY_GEN
# define HAVE_ECC_KEY_EXPORT

int hal_trng_get_entropy(unsigned char *out, unsigned len);
# define CUSTOM_RAND_GENERATE_SEED hal_trng_get_entropy
Expand Down Expand Up @@ -348,11 +350,11 @@ int hal_trng_get_entropy(unsigned char *out, unsigned len);
#define WOLFSSL_NO_SOCK
#define WOLFSSL_IGNORE_FILE_WARN
#define NO_ERROR_STRINGS
#define NO_AES_CBC

#ifndef WOLFCRYPT_SECURE_MODE
#define WC_NO_RNG
#define WC_NO_HASHDRBG
#define NO_AES_CBC
#else
#define HAVE_HASHDRBG
#endif
Expand Down
2 changes: 0 additions & 2 deletions test-app/app_stm32l5.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,9 @@ void main(void)
TokenPin,
strlen(TokenPin));
}

if (ret == 0) {
ret = wolfpkcs11nsFunctionList.C_Logout(session);
}

if (ret != 0) {
while(1)
;
Expand Down

0 comments on commit 7b63233

Please sign in to comment.