Skip to content

Commit 63cc16f

Browse files
authored
Merge pull request #23 from wolfSSL/rel_v4
wolfSSL Asynchronous release v4
2 parents 93abe23 + 9c0933a commit 63cc16f

3 files changed

Lines changed: 11 additions & 21 deletions

File tree

README-async.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,12 @@ wolfSSL Client Benchmark 16384 bytes
268268

269269
## Change Log
270270

271+
### wolfSSL Async Release v4.0.0 (03/25/2019)
272+
273+
* Fix for building with QuickAssist v1.7 driver (4.4.0-00023) (was missing usdm_drv during configure with check).
274+
* Fix for building async with file system disabled.
275+
* Fix for SHA-3 runtime detection for not supported in hardware.
276+
271277
### wolfSSL Async Release v3.15.8 (03/01/2019) - Intermediate release
272278

273279
* Performance improvements for QuickAssist.

wolfcrypt/src/port/intel/README.md

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The wolfSSL / wolfCrypt libraries support hardware crypto acceleration using the
44

55
## Overview
66

7-
Support has been added for wolfCrypt for RSA public/private (CRT/non-CRT), AES CBC/GCM, ECDH/ECDSA, DH, DES3, SHA, SHA224, SHA256, SHA384, SHA512, MD5 and HMAC. RSA padding is done via software. The wolfCrypt tests and benchmarks have asynchronous. The wolfCrypt benchmark tool support multi-threading. The wolfSSL SSL/TLS async support has been extended to include all PKI, Encryption/Decryption and hashing/HMAC. An async hardware simulator has been added to test the asynchronous support without hardware.
7+
Support has been added for wolfCrypt for RSA public/private (CRT/non-CRT), AES CBC/GCM, ECDH/ECDSA, DH, DES3, SHA, SHA224, SHA256, SHA384, SHA512, MD5 and HMAC. RSA padding is done via software. The wolfCrypt tests and benchmarks have asynchronous support. The wolfCrypt benchmark tool support multi-threading. The wolfSSL SSL/TLS async support has been extended to include all PKI, Encryption/Decryption and hashing/HMAC. An async hardware simulator has been added to test the asynchronous support without hardware.
88

99
The Intel QuickAssist port files are located in `wolfcrypt/src/port/intel/quickassist.c` and `wolfssl/wolfcrypt/port/intel/quickassist.h`. The QuickAssist memory handling for NUMA and normal malloc is in `wolfcrypt/src/port/intel/quickassist_mem.c`.
1010

@@ -29,11 +29,11 @@ Note: If you have the older driver installed you may need to remove it or unload
2929

3030

3131
```
32-
wget https://01.org/sites/default/files/downloads/intelr-quickassist-technology/qat1.7.l.4.3.0-00033.tar.gz
32+
wget https://01.org/sites/default/files/downloads/qat1.7.l.4.4.0-00023.tar.gz
3333
mkdir QAT1.7
34-
mv qat1.7.l.4.3.0-00033.tar.gz QAT1.7
34+
mv qat1.7.l.4.4.0-00023.tar.gz QAT1.7
3535
cd QAT1.7
36-
tar -xvzf qat1.7.l.4.3.0-00033.tar.gz
36+
tar -xvzf qat1.7.l.4.4.0-00023.tar.gz
3737

3838
./configure
3939
make
@@ -42,23 +42,6 @@ Note: If you have the older driver installed you may need to remove it or unload
4242

4343
If you are using the QAT hardware hashing, you'll need to disable the params checking, which doesn't support a last partial with 0 length source input. Code runs and works, but parameter checking will fail.
4444
Use `./configure --disable-param-check && sudo make install`
45-
46-
Build warning fixes:
47-
48-
a. quickassist/lookaside/access_layer/src/common/include/lac_log.h:102
49-
50-
`"%s() - : " log "\n",` -> `(char*)"%s() - : " log "\n",`
51-
52-
b. quickassist/lookaside/access_layer/src/common/include/lac_common.h:1151
53-
54-
Add these above `default:`
55-
56-
```
57-
case ICP_ADF_RING_SERVICE_9:
58-
return SAL_RING_TYPE_TRNG;
59-
case ICP_ADF_RING_SERVICE_10:
60-
```
61-
6245

6346
3. Change owner permissions for build output directory:
6447

wolfssl/wolfcrypt/async.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ WOLFSSL_API int wc_AsyncSleep(word32 ms);
382382

383383
/* Pthread Helpers */
384384
#ifndef WC_NO_ASYNC_THREADING
385+
#include <stdio.h>
385386
#include <pthread.h>
386387
#include <errno.h>
387388
#include <sched.h>

0 commit comments

Comments
 (0)