mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 23:39:54 +01:00
- Tag checking in AES-GCM is done in Final call - Reset `WOLFSSL_EVP_CIPHER_CTX` structure after Final call - Don't zero `ctx->authTag` struct in Init call so that user can get the AES-GCM tag using `EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_GET_TAG, AES_BLOCK_SIZE, tag)` - `ctx->authTag` is only zeroed before authenticated, non-confidential data Update call since this means we are entering a new Udate-Final cycle. This doesn't need to be done in the decrypt case since the tag should be supplied by the user before the final call using `EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_TAG, AES_BLOCK_SIZE, tag)`
Before creating any new configure files (.conf) read the CONF_FILES_README.md