Skip to content

Commit 0cfe12d

Browse files
Merge pull request #45 from dgarske/async_v5.3.0
Async v5.3.0
2 parents 6323ee5 + 65cab51 commit 0cfe12d

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

README-async.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,16 @@ wolfSSL Server Benchmark 16384 bytes
284284

285285
## Change Log
286286

287-
### wolfSSL Async Release 5.2.0 (Feb 21, 2022)
287+
### wolfSSL Async Release v5.3.0 (May 5, 2022)
288+
289+
* Added Intel QuickAssist ECC Key Generation acceleration. Specifically point multiplication similar to our `wc_ecc_mulmod_ex2`.
290+
* Fix for building Intel QAT with SP math all
291+
* Fix for `error: unused function 'IntelQaFreeFlatBuffer'`.
292+
* Fix for handling the Koblitz curve param "a", which is all zeros.
293+
* Fixes for scan-build warnings.
294+
* Includes wolfSSL PR https://github.com/wolfSSL/wolfssl/pull/5101
295+
296+
### wolfSSL Async Release v5.2.0 (Feb 21, 2022)
288297

289298
* Adds `WC_NO_ASYNC_SLEEP` option to hide wc_AsyncSleep for platforms that do not need it.
290299
* Fix for async test anonymous union on some platforms (`#pragma anon_unions` and `HAVE_ANONYMOUS_INLINE_AGGREGATES`)

wolfcrypt/src/port/intel/quickassist.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ static WC_INLINE int IntelQaAllocFlatBuffer(CpaFlatBuffer* buf, int size, void*
207207
buf->dataLenInBytes = size;
208208
return 0;
209209
}
210+
#ifdef WOLFSSL_KEY_GEN
210211
static WC_INLINE void IntelQaFreeFlatBuffer(CpaFlatBuffer* buf, void* heap)
211212
{
212213
if (buf && buf->pData) {
@@ -215,6 +216,7 @@ static WC_INLINE void IntelQaFreeFlatBuffer(CpaFlatBuffer* buf, void* heap)
215216
buf->dataLenInBytes = 0;
216217
}
217218
}
219+
#endif
218220
static WC_INLINE int IntelQaBigIntToFlatBuffer(WC_BIGINT* src, CpaFlatBuffer* dst)
219221
{
220222
if (src == NULL || src->buf == NULL || dst == NULL) {
@@ -558,6 +560,10 @@ int IntelQaOpen(WC_ASYNC_DEV* dev, int devId)
558560
dev->qat.devId = devId;
559561
dev->qat.handle = g_cyInstances[devId];
560562

563+
#ifdef QAT_DEBUG
564+
printf("IntelQaOpen %p\n", dev);
565+
#endif
566+
561567
#ifdef QAT_USE_POLLING_THREAD
562568
/* start polling thread */
563569
IntelQaStartPollingThread(dev);

0 commit comments

Comments
 (0)