Skip to content

API testing additions: cipher tests#10174

Open
SparkiDev wants to merge 1 commit intowolfSSL:masterfrom
SparkiDev:api_test_cipher_algs_1
Open

API testing additions: cipher tests#10174
SparkiDev wants to merge 1 commit intowolfSSL:masterfrom
SparkiDev:api_test_cipher_algs_1

Conversation

@SparkiDev
Copy link
Copy Markdown
Contributor

Description

Fixed wc_AesEaxAuthDataUpdate to check eax for NULL before dereferencing.

Added tests for:

  • AES-EAX streaming
  • AES-SIV
  • Poly1305
  • DES-CBC

Testing

./configure --disable-shared --enable-all

@SparkiDev SparkiDev self-assigned this Apr 9, 2026
@SparkiDev SparkiDev force-pushed the api_test_cipher_algs_1 branch from 013483f to 431ef44 Compare April 9, 2026 21:35
@SparkiDev
Copy link
Copy Markdown
Contributor Author

retest this please

Fixed wc_AesEaxAuthDataUpdate to check eax for NULL before
dereferencing.

Fix AesSivCipher to delete/free AES if new/initialization succeeded.
Memsetting to 0 doesn't work when WC_DEBUG_CIPHER_LIFECYCLE is defined.

Added tests for:
 - AES-EAX streaming
 - AES-SIV
 - Poly1305
 - DES-CBC
@SparkiDev SparkiDev force-pushed the api_test_cipher_algs_1 branch from 431ef44 to b764aac Compare April 10, 2026 05:45
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.

1 participant