aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_crypto_lib.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2015-05-28 19:32:22 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2015-05-28 19:32:22 +0000
commit3e558d2e9f22c96328d27e5cd35a5da3866e3543 (patch)
tree3ec605430e95e80c9568166d16d013ccffd6e528 /src/include/gnunet_crypto_lib.h
parent88b7ba683487b4bbb03fc4d51b5e794572816d9d (diff)
downloadgnunet-3e558d2e9f22c96328d27e5cd35a5da3866e3543.tar.gz
gnunet-3e558d2e9f22c96328d27e5cd35a5da3866e3543.zip
Introduce function to duplicate RSA public keys
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r--src/include/gnunet_crypto_lib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index 4dd9ec246..ff337e797 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -1660,6 +1660,16 @@ GNUNET_CRYPTO_rsa_public_key_decode (const char *buf,
1660 1660
1661 1661
1662/** 1662/**
1663 * Duplicate the given public key
1664 *
1665 * @param key the public key to duplicate
1666 * @return the duplicate key; NULL upon error
1667 */
1668struct GNUNET_CRYPTO_rsa_PublicKey *
1669GNUNET_CRYPTO_rsa_public_key_dup (const struct GNUNET_CRYPTO_rsa_PublicKey *key);
1670
1671
1672/**
1663 * Create a blinding key 1673 * Create a blinding key
1664 * 1674 *
1665 * @param len length of the key in bits (i.e. 2048) 1675 * @param len length of the key in bits (i.e. 2048)