diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-11-14 17:22:13 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-11-14 17:22:13 +0100 |
commit | c0f407c9d3cfa50c3378ebbfc0885e20c84dd0ef (patch) | |
tree | 0172526a73ff97b569f3e66d12d6fe54bf181a33 /src/include/gnunet_crypto_lib.h | |
parent | c90b5703c88339f7bdf909b77a45ea93c21792cd (diff) | |
download | gnunet-c0f407c9d3cfa50c3378ebbfc0885e20c84dd0ef.tar.gz gnunet-c0f407c9d3cfa50c3378ebbfc0885e20c84dd0ef.zip |
misc spelling issues
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index 2bbf2b1e7..b2ec83739 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -419,7 +419,7 @@ GNUNET_CRYPTO_crc16_step (uint32_t sum, const void *buf, size_t len); | |||
419 | /** | 419 | /** |
420 | * Convert results from GNUNET_CRYPTO_crc16_step to final crc16. | 420 | * Convert results from GNUNET_CRYPTO_crc16_step to final crc16. |
421 | * | 421 | * |
422 | * @param sum cummulative sum | 422 | * @param sum cumulative sum |
423 | * @return crc16 value | 423 | * @return crc16 value |
424 | */ | 424 | */ |
425 | uint16_t | 425 | uint16_t |
@@ -693,7 +693,7 @@ GNUNET_CRYPTO_pow_hash (const struct GNUNET_CRYPTO_PowSalt *salt, | |||
693 | 693 | ||
694 | 694 | ||
695 | /** | 695 | /** |
696 | * Context for cummulative hashing. | 696 | * Context for cumulative hashing. |
697 | */ | 697 | */ |
698 | struct GNUNET_HashContext; | 698 | struct GNUNET_HashContext; |
699 | 699 | ||
@@ -710,7 +710,7 @@ GNUNET_CRYPTO_hash_context_start (void); | |||
710 | /** | 710 | /** |
711 | * Add data to be hashed. | 711 | * Add data to be hashed. |
712 | * | 712 | * |
713 | * @param hc cummulative hash context | 713 | * @param hc cumulative hash context |
714 | * @param buf data to add | 714 | * @param buf data to add |
715 | * @param size number of bytes in @a buf | 715 | * @param size number of bytes in @a buf |
716 | */ | 716 | */ |
@@ -802,7 +802,7 @@ struct GNUNET_CRYPTO_FileHashContext; | |||
802 | * @param blocksize number of bytes to process in one task | 802 | * @param blocksize number of bytes to process in one task |
803 | * @param callback function to call upon completion | 803 | * @param callback function to call upon completion |
804 | * @param callback_cls closure for @a callback | 804 | * @param callback_cls closure for @a callback |
805 | * @return NULL on (immediate) errror | 805 | * @return NULL on (immediate) error |
806 | */ | 806 | */ |
807 | struct GNUNET_CRYPTO_FileHashContext * | 807 | struct GNUNET_CRYPTO_FileHashContext * |
808 | GNUNET_CRYPTO_hash_file (enum GNUNET_SCHEDULER_Priority priority, | 808 | GNUNET_CRYPTO_hash_file (enum GNUNET_SCHEDULER_Priority priority, |
@@ -1947,7 +1947,7 @@ GNUNET_CRYPTO_paillier_create ( | |||
1947 | * @param public_key Public key to use. | 1947 | * @param public_key Public key to use. |
1948 | * @param m Plaintext to encrypt. | 1948 | * @param m Plaintext to encrypt. |
1949 | * @param desired_ops How many homomorphic ops the caller intends to use | 1949 | * @param desired_ops How many homomorphic ops the caller intends to use |
1950 | * @param[out] ciphertext Encrytion of @a plaintext with @a public_key. | 1950 | * @param[out] ciphertext Encryption of @a plaintext with @a public_key. |
1951 | * @return guaranteed number of supported homomorphic operations >= 1, | 1951 | * @return guaranteed number of supported homomorphic operations >= 1, |
1952 | * or desired_ops, in case that is lower, | 1952 | * or desired_ops, in case that is lower, |
1953 | * or -1 if less than one homomorphic operation is possible | 1953 | * or -1 if less than one homomorphic operation is possible |
@@ -2100,7 +2100,7 @@ GNUNET_CRYPTO_rsa_private_key_dup ( | |||
2100 | * Extract the public key of the given private key. | 2100 | * Extract the public key of the given private key. |
2101 | * | 2101 | * |
2102 | * @param priv the private key | 2102 | * @param priv the private key |
2103 | * @retur NULL on error, otherwise the public key | 2103 | * @return NULL on error, otherwise the public key |
2104 | */ | 2104 | */ |
2105 | struct GNUNET_CRYPTO_RsaPublicKey * | 2105 | struct GNUNET_CRYPTO_RsaPublicKey * |
2106 | GNUNET_CRYPTO_rsa_private_key_get_public ( | 2106 | GNUNET_CRYPTO_rsa_private_key_get_public ( |