diff options
author | Willow Liquorice <willow@howhill.com> | 2022-09-07 22:26:23 +0100 |
---|---|---|
committer | Willow Liquorice <willow@howhill.com> | 2022-10-03 12:54:58 +0100 |
commit | 98594a4d88fe911b57505e94ab3a1a9a6219ea0e (patch) | |
tree | 88ed10c8bd8f9dee8b7d8128052c6c68f0cb5c80 /src/include/gnunet_crypto_lib.h | |
parent | 26cbf92d6e00b98787d1fb89da1f2089d9f76b1c (diff) | |
download | gnunet-98594a4d88fe911b57505e94ab3a1a9a6219ea0e.tar.gz gnunet-98594a4d88fe911b57505e94ab3a1a9a6219ea0e.zip |
-DOC: Documentation cleanup pass through rest of UTIL libraries
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 cb0b0d9a3..36e6743b3 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -1431,7 +1431,7 @@ enum GNUNET_GenericReturnValue | |||
1431 | GNUNET_CRYPTO_eddsa_private_key_from_string ( | 1431 | GNUNET_CRYPTO_eddsa_private_key_from_string ( |
1432 | const char *enc, | 1432 | const char *enc, |
1433 | size_t enclen, | 1433 | size_t enclen, |
1434 | struct GNUNET_CRYPTO_EddsaPrivateKey *pub); | 1434 | struct GNUNET_CRYPTO_EddsaPrivateKey *priv); |
1435 | 1435 | ||
1436 | 1436 | ||
1437 | /** | 1437 | /** |
@@ -1683,7 +1683,7 @@ GNUNET_CRYPTO_ecc_dlog_prepare (unsigned int max, | |||
1683 | * Calculate ECC discrete logarithm for small factors. | 1683 | * Calculate ECC discrete logarithm for small factors. |
1684 | * Opposite of #GNUNET_CRYPTO_ecc_dexp(). | 1684 | * Opposite of #GNUNET_CRYPTO_ecc_dexp(). |
1685 | * | 1685 | * |
1686 | * @param dlc precalculated values, determine range of factors | 1686 | * @param edc precalculated values, determine range of factors |
1687 | * @param input point on the curve to factor | 1687 | * @param input point on the curve to factor |
1688 | * @return INT_MAX if dlog failed, otherwise the factor | 1688 | * @return INT_MAX if dlog failed, otherwise the factor |
1689 | */ | 1689 | */ |
@@ -1954,7 +1954,7 @@ GNUNET_CRYPTO_ecdsa_sign_ ( | |||
1954 | * | 1954 | * |
1955 | * @param priv | 1955 | * @param priv |
1956 | * @param data | 1956 | * @param data |
1957 | * @param len | 1957 | * @param size |
1958 | * @param sig | 1958 | * @param sig |
1959 | * @return enum GNUNET_GenericReturnValue | 1959 | * @return enum GNUNET_GenericReturnValue |
1960 | */ | 1960 | */ |
@@ -2239,7 +2239,7 @@ GNUNET_CRYPTO_ecdsa_public_key_derive ( | |||
2239 | * @param label label to use for key deriviation | 2239 | * @param label label to use for key deriviation |
2240 | * @param context additional context to use for HKDF of 'h'; | 2240 | * @param context additional context to use for HKDF of 'h'; |
2241 | * typically the name of the subsystem/application | 2241 | * typically the name of the subsystem/application |
2242 | * @param purp the signature purpose | 2242 | * @param purpose the signature purpose |
2243 | * @param sig the resulting signature | 2243 | * @param sig the resulting signature |
2244 | * @return GNUNET_OK on success | 2244 | * @return GNUNET_OK on success |
2245 | */ | 2245 | */ |
@@ -2304,7 +2304,7 @@ GNUNET_CRYPTO_eddsa_public_key_derive ( | |||
2304 | * @param label label to use for key deriviation | 2304 | * @param label label to use for key deriviation |
2305 | * @param context additional context to use for HKDF of 'h'; | 2305 | * @param context additional context to use for HKDF of 'h'; |
2306 | * typically the name of the subsystem/application | 2306 | * typically the name of the subsystem/application |
2307 | * @param purp the signature purpose | 2307 | * @param purpose the signature purpose |
2308 | * @param sig the resulting signature | 2308 | * @param sig the resulting signature |
2309 | * @return GNUNET_OK on success | 2309 | * @return GNUNET_OK on success |
2310 | */ | 2310 | */ |
@@ -2690,7 +2690,7 @@ GNUNET_CRYPTO_rsa_public_key_cmp (const struct GNUNET_CRYPTO_RsaPublicKey *p1, | |||
2690 | * Blinds the given message with the given blinding key | 2690 | * Blinds the given message with the given blinding key |
2691 | * | 2691 | * |
2692 | * @param hash hash of the message to sign | 2692 | * @param hash hash of the message to sign |
2693 | * @param bkey the blinding key | 2693 | * @param bks the blinding key |
2694 | * @param pkey the public key of the signer | 2694 | * @param pkey the public key of the signer |
2695 | * @param[out] buf set to a buffer with the blinded message to be signed | 2695 | * @param[out] buf set to a buffer with the blinded message to be signed |
2696 | * @param[out] buf_size number of bytes stored in @a buf | 2696 | * @param[out] buf_size number of bytes stored in @a buf |