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

Fix quic header protect cipher return #7477

Merged
merged 2 commits into from
Apr 27, 2024

Conversation

julek-wolfssl
Copy link
Member

No description provided.

@@ -1051,8 +1057,9 @@ const WOLFSSL_EVP_CIPHER* wolfSSL_quic_get_hp(WOLFSSL* ssl)
break;
#endif
#if !defined(NO_AES) && defined(HAVE_AESCCM) && defined(WOLFSSL_AES_128)
/* This has to be CTR. See comment above. */
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't the build macro need fixed above? WOLFSSL_AES_COUNTER.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes it does.

@@ -1038,11 +1038,17 @@ const WOLFSSL_EVP_CIPHER* wolfSSL_quic_get_hp(WOLFSSL* ssl)

switch (cipher->cipherSuite) {
#if !defined(NO_AES) && defined(HAVE_AESGCM)
/* This has to be CTR even though the spec says that ECB is used for
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't the build macro need fixed above? WOLFSSL_AES_COUNTER.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes it does.

@julek-wolfssl julek-wolfssl removed their assignment Apr 26, 2024
@julek-wolfssl
Copy link
Member Author

julek-wolfssl commented Apr 26, 2024

Retest this please.

@dgarske
Copy link
Contributor

dgarske commented Apr 26, 2024

@icing please let us know if this PR resolves issue #7390

@icing
Copy link
Contributor

icing commented Apr 27, 2024

@icing please let us know if this PR resolves issue #7390

With this PR, all tests in ngtcp2 pass. 🙌

@dgarske dgarske merged commit 2496cc0 into wolfSSL:master Apr 27, 2024
114 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.

None yet

4 participants