Skip to content

securechannel: use constant time comparison function to avoid timing attacks#33

Open
nevun wants to merge 1 commit into
certusone:masterfrom
nevun:constant_time
Open

securechannel: use constant time comparison function to avoid timing attacks#33
nevun wants to merge 1 commit into
certusone:masterfrom
nevun:constant_time

Conversation

@nevun

@nevun nevun commented Jan 23, 2026

Copy link
Copy Markdown

This is also what the python code does in python-yubihsm/yubihsm/core.py

https://github.com/Yubico/python-yubihsm/blob/main/yubihsm/core.py#L508
https://github.com/Yubico/python-yubihsm/blob/main/yubihsm/core.py#L725

Not sure if it is needed but it stood out when I was comparing the implementations.

…attacks

This is also what the python code does in python-yubihsm/yubihsm/core.py
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.

1 participant