Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
torben-hansen committed Nov 13, 2023
1 parent 5665d65 commit 87442d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crypto/curve25519/curve25519.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ static void ed25519_public_key_from_hashed_seed_s2n_bignum(

// Stub function until Ed25519 lands in s2n-bignum
// |s| is of length |ED25519_PRIVATE_KEY_SEED_LEN|
// |public_key| is of length |ED25519_PUBLIC_KEY_LEN|.
// |A| is of length |ED25519_PUBLIC_KEY_LEN|.
static void ed25519_sign_s2n_bignum(
uint8_t out_sig[ED25519_SIGNATURE_LEN],
uint8_t r[SHA512_DIGEST_LENGTH], const uint8_t *s, const uint8_t *A,
Expand Down
2 changes: 1 addition & 1 deletion crypto/curve25519/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ void ed25519_sha512(uint8_t out[SHA512_DIGEST_LENGTH],
const void *input3, size_t len3);

// |s| is of length |ED25519_PRIVATE_KEY_SEED_LEN|
// |public_key| is of length |ED25519_PUBLIC_KEY_LEN|.
// |A| is of length |ED25519_PUBLIC_KEY_LEN|.
void ed25519_sign_nohw(
uint8_t out_sig[ED25519_SIGNATURE_LEN],
uint8_t r[SHA512_DIGEST_LENGTH], const uint8_t *s, const uint8_t *A,
Expand Down

0 comments on commit 87442d9

Please sign in to comment.