Skip to content

SRTP-KDF: use two bytes of index#9733

Merged
douzzer merged 1 commit intowolfSSL:masterfrom
SparkiDev:srtp_kdf_ctr_fix
Feb 5, 2026
Merged

SRTP-KDF: use two bytes of index#9733
douzzer merged 1 commit intowolfSSL:masterfrom
SparkiDev:srtp_kdf_ctr_fix

Conversation

@SparkiDev
Copy link
Contributor

Description

One byte of index creates up to 4096 bytes for a key. Increase output size to match specification.

Fixes zd#21139

Testing

./configure --disable-shared --enable-srtp-kdf
Added test to test.c that attempts to create keys larger than 4096 and checks they are different. Fails with old code and passes with new.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@SparkiDev SparkiDev self-assigned this Feb 2, 2026
One byte of index creates up to 4096 bytes for a key.
Increase output size to match specification.
@douzzer douzzer merged commit 6d7cb87 into wolfSSL:master Feb 5, 2026
413 checks passed
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.

3 participants