Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20240518-XtsAesStreamData #7560

Merged
merged 2 commits into from
May 19, 2024
Merged

Conversation

douzzer
Copy link
Contributor

@douzzer douzzer commented May 18, 2024

wolfcrypt/src/aes.c and wolfssl/wolfcrypt/aes.h: add FIPS_AES_XTS_MAX_BYTES_PER_TWEAK and struct XtsAesStreamData, with improved error checking on streaming AES-XTS APIs;

wolfcrypt/test/test.c and linuxkm/lkcapi_glue.c: update AES-XTS streaming calls to use struct XtsAesStreamData;

linuxkm/lkcapi_glue.c: add handling for CONFIG_CRYPTO_MANAGER*.

wolfcrypt/src/misc.c: fix -Wconversions in CopyString();
src/ssl.c: fix missing semicolon in wolfSSL_CTX_check_private_key().

tested with wolfssl-multi-test.sh ... super-quick-check

(the fixes in misc.c and ssl.c are just to get tests passing.)

src/ssl.c: fix missing semicolon in wolfSSL_CTX_check_private_key().
@douzzer
Copy link
Contributor Author

douzzer commented May 18, 2024

retest this please

@kaleb-himes kaleb-himes requested review from wolfSSL-Bot and removed request for kaleb-himes May 18, 2024 22:46
@kaleb-himes
Copy link
Contributor

kaleb-himes commented May 18, 2024

This PR has some code I originally authored in it, assigning to PR captain for review.

…_BYTES_PER_TWEAK and struct XtsAesStreamData, with improved error checking on streaming AES-XTS APIs;

wolfcrypt/test/test.c and linuxkm/lkcapi_glue.c: update AES-XTS streaming calls to use struct XtsAesStreamData;

linuxkm/lkcapi_glue.c: add handling for CONFIG_CRYPTO_MANAGER*.
@douzzer douzzer force-pushed the 20240518-XtsAesStreamData branch from 590a01c to d0e7378 Compare May 19, 2024 03:00
@douzzer douzzer mentioned this pull request May 19, 2024
4 tasks
@SparkiDev SparkiDev self-assigned this May 19, 2024
@SparkiDev SparkiDev removed the request for review from wolfSSL-Bot May 19, 2024 22:33
@SparkiDev SparkiDev merged commit b8aec63 into wolfSSL:master May 19, 2024
105 checks passed
jefferyq2 pushed a commit to jefferyq2/wolfssl that referenced this pull request Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants