Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
abb5519d
Commit
abb5519d
authored
Jan 31, 2013
by
Nick Mathewson
🐻
Browse files
typo in crypto_curve25519.c comment, spotted by rransom
parent
294ce2ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/common/crypto_curve25519.c
View file @
abb5519d
...
...
@@ -69,7 +69,7 @@ curve25519_secret_key_generate(curve25519_secret_key_t *key_out,
return
-
1
;
if
(
extra_strong
&&
!
crypto_strongest_rand
(
k_tmp
,
CURVE25519_SECKEY_LEN
))
{
/* If they asked for extra-strong entropy and we have some, use it as an
* HMAC key to improve not-so-good entopy rather than using it directly,
* HMAC key to improve not-so-good ent
r
opy rather than using it directly,
* just in case the extra-strong entropy is less amazing than we hoped. */
crypto_hmac_sha256
((
char
*
)
key_out
->
secret_key
,
(
const
char
*
)
k_tmp
,
sizeof
(
k_tmp
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment