Skip to content

Add RFC HMAC and OTP test vectors - #72

Merged
LimiNode merged 2 commits into
mainfrom
codex/add-unit-tests-for-hmac-and-hotp/totp-ggosot
Sep 6, 2025
Merged

Add RFC HMAC and OTP test vectors#72
LimiNode merged 2 commits into
mainfrom
codex/add-unit-tests-for-hmac-and-hotp/totp-ggosot

Conversation

@LimiNode

@LimiNode LimiNode commented Sep 5, 2025

Copy link
Copy Markdown
Owner

Summary

  • add HMAC-SHA1 test vectors from RFC 2202
  • expand SHA256/SHA512 RFC 4231 vectors
  • cover HOTP and TOTP against RFC 4226/6238
  • run tests in CI via ctest

Testing

  • ctest --test-dir build --output-on-failure

https://chatgpt.com/codex/tasks/task_e_68bb740e7dd4832cbb576ac41279e093

Add comment noting HMAC-SHA1 vectors source.
@LimiNode
LimiNode merged commit 3ce5820 into main Sep 6, 2025
8 checks passed
@LimiNode
LimiNode deleted the codex/add-unit-tests-for-hmac-and-hotp/totp-ggosot branch September 6, 2025 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant