Skip to content

tpm2: use BN_BIT2 to determine RADIX_BITS#537

Merged
stefanberger merged 1 commit into
stefanberger:masterfrom
orbea:libressl-4.2.0
Oct 16, 2025
Merged

tpm2: use BN_BIT2 to determine RADIX_BITS#537
stefanberger merged 1 commit into
stefanberger:masterfrom
orbea:libressl-4.2.0

Conversation

@orbea

@orbea orbea commented Oct 15, 2025

Copy link
Copy Markdown
Contributor

Note: I am not certain I am doing this correctly, please review. All of the tests pass on my system at least.

With LibreSSL 4.2.0 the THIRTY_TWO_BIT and SIXTY_FOUR_BIT_LONG defines were removed, but BN_BITS2 has the correct value for RADIX_BITS.

With LibreSSL 4.2.0 the THIRTY_TWO_BIT and SIXTY_FOUR_BIT_LONG defines
were removed, but BN_BITS2 has the correct value for RADIX_BITS.

Signed-off-by: orbea <orbea@riseup.net>
@stefanberger

Copy link
Copy Markdown
Owner

Looks good to me. OpenSSL's bn.h from v1.1.0 to v3.6.0 should all work.

@stefanberger stefanberger merged commit 7310725 into stefanberger:master Oct 16, 2025
4 checks passed
@orbea orbea deleted the libressl-4.2.0 branch October 16, 2025 03:14
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