freebsd-dev/tests/sys/opencrypto
Kornel Dulęba fdbd0ba75d test/sys/opencrypto: Fix NIST KAT parser iterator
When yield a.k.a "generator" iterator is used we need to return all
data using "yield", before returning from the function.
Because of that only encryption tests were run for AES-CBC, other modes
were affected as well.
Add one more loop to the iterator "next" routine to fix that.
This unveiled a problem in the GCM AEAD parser logic, which didn't
correctly handle tests cases with empty plaintext, i.e. AAD only.
Include the fix in this patch as it's a rather trivial one.

Obtained from:	Semihalf
Differential Revision: https://reviews.freebsd.org/D36861
2022-10-06 16:42:31 +02:00
..
blake2_test.c Remove uses of CRIOGET in OCF tests after r368005. 2020-11-25 01:31:00 +00:00
blake2-kat.h Import Blake2 algorithms (blake2b, blake2s) from libb2 2018-03-21 16:18:14 +00:00
cryptodev.py test/sys/opencrypto: Fix NIST KAT parser iterator 2022-10-06 16:42:31 +02:00
cryptodevh.py cdefs.h: Remove __GNUCLIKE___OFFSETOF, it's unused 2021-05-06 16:34:55 -06:00
cryptotest.py ossl: Add support for AES-CBC cipher 2021-11-08 10:53:31 +01:00
Makefile Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
Makefile.depend
poly1305_test.c Remove uses of CRIOGET in OCF tests after r368005. 2020-11-25 01:31:00 +00:00
runtests.sh ossl: port to arm64 2020-12-04 21:12:17 +00:00