Skip to content

Commit

Permalink
Support ed25519
Browse files Browse the repository at this point in the history
  • Loading branch information
qpernil committed Jul 8, 2022
1 parent 2dc2343 commit b7feb16
Show file tree
Hide file tree
Showing 5 changed files with 428 additions and 25 deletions.
4 changes: 4 additions & 0 deletions lib/yubihsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -4460,6 +4460,10 @@ yh_rc yh_get_key_bitlength(yh_algorithm algorithm, size_t *result) {
*result = 512;
break;

case YH_ALGO_EC_ED25519:
*result = 256;
break;

case YH_ALGO_HMAC_SHA1:
*result = 160;
break;
Expand Down
Loading

0 comments on commit b7feb16

Please sign in to comment.