Skip to content

Commit

Permalink
Merge pull request #101 from bergzand/pr/monocypher/fix_pubkey
Browse files Browse the repository at this point in the history
Monocypher: Fix public key generation
  • Loading branch information
bergzand authored Apr 6, 2021
2 parents 23ad250 + 7807b20 commit 4ed4b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypt/monocypher.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ void cose_crypto_keypair_ed25519(cose_key_t *key)
{
randombytes(key->d, COSE_CRYPTO_SIGN_ED25519_SECRETKEYBYTES);
_ed25519_clamp(key->d);
crypto_sign_public_key(key->x, key->d);
crypto_ed25519_public_key(key->x, key->d);
}

size_t cose_crypto_sig_size_ed25519(void)
Expand Down

0 comments on commit 4ed4b15

Please sign in to comment.