Skip to content
This repository was archived by the owner on Feb 22, 2026. It is now read-only.
This repository was archived by the owner on Feb 22, 2026. It is now read-only.

Change to use TryInto trait for signature array conversion #18

@franssl

Description

@franssl

The conversion of signature &[u8] to &[u8;64] is currently implemented via a function that only works for this specific array length.
Once rust-lang/rust#61415 (const generics allow the TryInto trait to be implemented for any array size rather than just up to 32) is finished, this should be changed to use the TryInto trait (the key arrays are already using this).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions