Skip to content

Select session, RSA OAEP and PQC template hash algorithms via _ex wrappers#539

Merged
dgarske merged 1 commit into
wolfSSL:masterfrom
aidangarske:session-authhash-ex
Jun 25, 2026
Merged

Select session, RSA OAEP and PQC template hash algorithms via _ex wrappers#539
dgarske merged 1 commit into
wolfSSL:masterfrom
aidangarske:session-authhash-ex

Conversation

@aidangarske

@aidangarske aidangarske commented Jun 24, 2026

Copy link
Copy Markdown
Member

Description

  • Add _ex wrapper so callers can easily pick hash algo instead of hard coded sha-256
  • Session/policy: wolfTPM2_StartSession_ex, wolfTPM2_CreateAuthSession_EkPolicy_ex (adds authHash) — the original ask, so encrypted SHA-512
    policy sessions match
  • RSA: wolfTPM2_RsaEncrypt_ex / RsaDecrypt_ex (adds OAEP hashAlg)
  • PQC templates: wolfTPM2_GetKeyTemplate_MLDSA_ex / HASH_MLDSA_ex /MLKEM_ex (adds nameAlg)

ZD 22037

@aidangarske aidangarske self-assigned this Jun 24, 2026
@aidangarske aidangarske requested a review from dgarske June 24, 2026 18:30
@dgarske dgarske merged commit 27b654d into wolfSSL:master Jun 25, 2026
198 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.

2 participants