From c96aeb4550f0152d0f7985391c6d535a76661397 Mon Sep 17 00:00:00 2001 From: David Garske Date: Fri, 24 Aug 2018 11:03:14 -0700 Subject: [PATCH] Added documentation and benchmarks for STM32 and STSAFE-A100 support. --- wolfcrypt/src/include.am | 1 + wolfcrypt/src/port/atmel/README.md | 2 +- wolfcrypt/src/port/st/stsafe.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wolfcrypt/src/include.am b/wolfcrypt/src/include.am index b8d8c0c50..94eff74a5 100644 --- a/wolfcrypt/src/include.am +++ b/wolfcrypt/src/include.am @@ -63,6 +63,7 @@ EXTRA_DIST += wolfcrypt/src/port/ti/ti-aes.c \ wolfcrypt/src/port/caam/caam_doc.pdf \ wolfcrypt/src/port/st/stm32.c \ wolfcrypt/src/port/st/stsafe.c \ + wolfcrypt/src/port/st/README.md \ wolfcrypt/src/port/af_alg/afalg_aes.c \ wolfcrypt/src/port/af_alg/afalg_hash.c diff --git a/wolfcrypt/src/port/atmel/README.md b/wolfcrypt/src/port/atmel/README.md index e966fe9b2..f67b29be9 100644 --- a/wolfcrypt/src/port/atmel/README.md +++ b/wolfcrypt/src/port/atmel/README.md @@ -70,4 +70,4 @@ ATECC508A HW accelerated implementation: `EC-DSA verify time 208.400 milliseconds, avg over 5 iterations` -For details see our [wolfSSL Atmel ATECC508A](wolfhttps://wolfssl.com/wolfSSL/wolfssl-atmel.html) page. +For details see our [wolfSSL Atmel ATECC508A](https://wolfssl.com/wolfSSL/wolfssl-atmel.html) page. diff --git a/wolfcrypt/src/port/st/stsafe.c b/wolfcrypt/src/port/st/stsafe.c index 60d39dc45..a8e1b9f44 100644 --- a/wolfcrypt/src/port/st/stsafe.c +++ b/wolfcrypt/src/port/st/stsafe.c @@ -309,7 +309,7 @@ int SSL_STSAFE_SetupPkCallbacks(WOLFSSL_CTX* ctx) wolfSSL_CTX_SetEccSignCb(ctx, SSL_STSAFE_SignCertificateCb); wolfSSL_CTX_SetEccVerifyCb(ctx, SSL_STSAFE_VerifyPeerCertCb); wolfSSL_CTX_SetEccSharedSecretCb(ctx, SSL_STSAFE_SharedSecretCb); - wolfSSL_CTX_SetDevId(ctx, 0); + wolfSSL_CTX_SetDevId(ctx, 0); /* enables wolfCrypt `wc_ecc_*` ST-Safe use */ return 0; }