Skip to content

Conversation

@ColtonWilley
Copy link
Contributor

No description provided.

ok = 0;
}
if (ok) {
// cache user key
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use this comment style.
Old compilers won't accept it.

}

if (ok) {
ret = wc_ChaCha20Poly1305_UpdateAad(&ctx->ChaChaPoly_Aead, (const byte*)ctx->tls_aad, (word32)ctx->tlsAadLen);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

80 characters per line

/**
* Authenticated Encryption with Associated Data structure.
*/
typedef struct wp_CP_AeadCtx {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How much is in common with wp_aes_aead.c?
If a lot then consider merging and renaming it wp_aead.c.

@ColtonWilley ColtonWilley marked this pull request as draft July 23, 2025 20:53
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.

2 participants