diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-11-01 10:33:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-11-01 10:33:57 +0100 |
commit | d1a84861ce988b9cdc87e19ff140400833e616fd (patch) | |
tree | 6bdeab590dc8b6f0695f9808831c96475b299c67 /src/include/gnunet_crypto_lib.h | |
parent | a901264efb50a61f096a4966a0cb5789690706f0 (diff) | |
download | gnunet-d1a84861ce988b9cdc87e19ff140400833e616fd.tar.gz gnunet-d1a84861ce988b9cdc87e19ff140400833e616fd.zip |
add -P option to gnunet-ecc
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index 5dc5b60d7..6ac2a67fa 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -1110,6 +1110,16 @@ GNUNET_CRYPTO_ecdsa_public_key_to_string (const struct GNUNET_CRYPTO_EcdsaPublic | |||
1110 | 1110 | ||
1111 | 1111 | ||
1112 | /** | 1112 | /** |
1113 | * Convert a private key to a string. | ||
1114 | * | ||
1115 | * @param priv key to convert | ||
1116 | * @return string representing @a pub | ||
1117 | */ | ||
1118 | char * | ||
1119 | GNUNET_CRYPTO_eddsa_private_key_to_string (const struct GNUNET_CRYPTO_EddsaPrivateKey *priv); | ||
1120 | |||
1121 | |||
1122 | /** | ||
1113 | * Convert a public key to a string. | 1123 | * Convert a public key to a string. |
1114 | * | 1124 | * |
1115 | * @param pub key to convert | 1125 | * @param pub key to convert |