Skip to content

Comments

feat: Introduce generic types#37

Merged
raphaelrobert merged 3 commits intomainfrom
introduce-generics
May 11, 2025
Merged

feat: Introduce generic types#37
raphaelrobert merged 3 commits intomainfrom
introduce-generics

Conversation

@raphaelrobert
Copy link
Owner

BREAKING CHANGE

This PR introduces the following changes:

  • Code deduplication with generic types for the following issuance protocols:

    • private tokens
    • batched tokens
    • arbitrary batched tokens
  • New ristretto255 token type (0x0005) is introduced.

  • Dropping old TlsVec16 encoding in favor of the QUIC var ints for the TLS encoding, following the new changes in the spec.

  • New KAT vectors for all types except public tokens.

  • API changes: The concept of "client" is dropped in favor of using TokenRequest and TokenResponse directly.

@raphaelrobert raphaelrobert marked this pull request as ready for review May 2, 2025 18:47
@raphaelrobert raphaelrobert merged commit 126c08e into main May 11, 2025
1 check passed
@raphaelrobert raphaelrobert deleted the introduce-generics branch May 11, 2025 14:38
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