aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_rsa.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-14 17:17:36 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-14 17:17:36 +0100
commitf62e24a88c21235bc3c901508cfb474509ef2961 (patch)
treeee481be9675674d83f54a6c66dee8356ef1dbcbc /src/util/crypto_rsa.c
parent3522008dfd14f049a821dfba7ba89a27aa27d4aa (diff)
downloadgnunet-f62e24a88c21235bc3c901508cfb474509ef2961.tar.gz
gnunet-f62e24a88c21235bc3c901508cfb474509ef2961.zip
spell checking
Diffstat (limited to 'src/util/crypto_rsa.c')
-rw-r--r--src/util/crypto_rsa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c
index b12ec7434..d5eca6225 100644
--- a/src/util/crypto_rsa.c
+++ b/src/util/crypto_rsa.c
@@ -259,7 +259,7 @@ GNUNET_CRYPTO_rsa_private_key_decode (const void *buf,
259 * Extract the public key of the given private key. 259 * Extract the public key of the given private key.
260 * 260 *
261 * @param priv the private key 261 * @param priv the private key
262 * @retur NULL on error, otherwise the public key 262 * @return NULL on error, otherwise the public key
263 */ 263 */
264struct GNUNET_CRYPTO_RsaPublicKey * 264struct GNUNET_CRYPTO_RsaPublicKey *
265GNUNET_CRYPTO_rsa_private_key_get_public (const struct 265GNUNET_CRYPTO_rsa_private_key_get_public (const struct
@@ -541,7 +541,7 @@ static struct RsaBlindingKey *
541rsa_blinding_key_derive (const struct GNUNET_CRYPTO_RsaPublicKey *pkey, 541rsa_blinding_key_derive (const struct GNUNET_CRYPTO_RsaPublicKey *pkey,
542 const struct GNUNET_CRYPTO_RsaBlindingKeySecret *bks) 542 const struct GNUNET_CRYPTO_RsaBlindingKeySecret *bks)
543{ 543{
544 char *xts = "Blinding KDF extrator HMAC key"; /* Trusts bks' randomness more */ 544 char *xts = "Blinding KDF extractor HMAC key"; /* Trusts bks' randomness more */
545 struct RsaBlindingKey *blind; 545 struct RsaBlindingKey *blind;
546 gcry_mpi_t n; 546 gcry_mpi_t n;
547 547
@@ -570,7 +570,7 @@ rsa_blinding_key_derive (const struct GNUNET_CRYPTO_RsaPublicKey *pkey,
570 570
571 571
572/* 572/*
573 We originally added GNUNET_CRYPTO_kdf_mod_mpi for the benifit of the 573 We originally added GNUNET_CRYPTO_kdf_mod_mpi for the benefit of the
574 previous routine. 574 previous routine.
575 575
576 There was previously a call to GNUNET_CRYPTO_kdf in 576 There was previously a call to GNUNET_CRYPTO_kdf in
@@ -1055,7 +1055,7 @@ GNUNET_CRYPTO_rsa_sign_fdh (const struct GNUNET_CRYPTO_RsaPrivateKey *key,
1055/** 1055/**
1056 * Free memory occupied by signature. 1056 * Free memory occupied by signature.
1057 * 1057 *
1058 * @param sig memory to freee 1058 * @param sig memory to free
1059 */ 1059 */
1060void 1060void
1061GNUNET_CRYPTO_rsa_signature_free (struct GNUNET_CRYPTO_RsaSignature *sig) 1061GNUNET_CRYPTO_rsa_signature_free (struct GNUNET_CRYPTO_RsaSignature *sig)