diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-05-19 13:08:53 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-05-19 13:08:53 +0000 |
commit | bf50f7fcd4627a8afcae5699a202a942f76b73e4 (patch) | |
tree | a953c2ed49fd5c8abd11ec9239d57e95c1599bcc /src/include/gnunet_crypto_lib.h | |
parent | faf7c575d400f0623c5244944852e256c33d0f6e (diff) | |
download | gnunet-bf50f7fcd4627a8afcae5699a202a942f76b73e4.tar.gz gnunet-bf50f7fcd4627a8afcae5699a202a942f76b73e4.zip |
rename.sh GNUNET_CRYPTO_rsa_BlindingKey to GNUNET_CRYPTO_RsaBlindingKey following naming conventions
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index 3c5daccdc..63978617c 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -1789,7 +1789,7 @@ struct GNUNET_CRYPTO_RsaPublicKey; | |||
1789 | /** | 1789 | /** |
1790 | * Key used to blind a message | 1790 | * Key used to blind a message |
1791 | */ | 1791 | */ |
1792 | struct GNUNET_CRYPTO_rsa_BlindingKey; | 1792 | struct GNUNET_CRYPTO_RsaBlindingKey; |
1793 | 1793 | ||
1794 | /** | 1794 | /** |
1795 | * @brief an RSA signature | 1795 | * @brief an RSA signature |
@@ -1934,7 +1934,7 @@ GNUNET_CRYPTO_rsa_public_key_dup (const struct GNUNET_CRYPTO_RsaPublicKey *key); | |||
1934 | * @param len length of the key in bits (i.e. 2048) | 1934 | * @param len length of the key in bits (i.e. 2048) |
1935 | * @return the newly created blinding key | 1935 | * @return the newly created blinding key |
1936 | */ | 1936 | */ |
1937 | struct GNUNET_CRYPTO_rsa_BlindingKey * | 1937 | struct GNUNET_CRYPTO_RsaBlindingKey * |
1938 | GNUNET_CRYPTO_rsa_blinding_key_create (unsigned int len); | 1938 | GNUNET_CRYPTO_rsa_blinding_key_create (unsigned int len); |
1939 | 1939 | ||
1940 | 1940 | ||
@@ -1946,8 +1946,8 @@ GNUNET_CRYPTO_rsa_blinding_key_create (unsigned int len); | |||
1946 | * @return 0 if the two are equal | 1946 | * @return 0 if the two are equal |
1947 | */ | 1947 | */ |
1948 | int | 1948 | int |
1949 | GNUNET_CRYPTO_rsa_blinding_key_cmp (struct GNUNET_CRYPTO_rsa_BlindingKey *b1, | 1949 | GNUNET_CRYPTO_rsa_blinding_key_cmp (struct GNUNET_CRYPTO_RsaBlindingKey *b1, |
1950 | struct GNUNET_CRYPTO_rsa_BlindingKey *b2); | 1950 | struct GNUNET_CRYPTO_RsaBlindingKey *b2); |
1951 | 1951 | ||
1952 | 1952 | ||
1953 | /** | 1953 | /** |
@@ -1991,7 +1991,7 @@ GNUNET_CRYPTO_rsa_public_key_cmp (struct GNUNET_CRYPTO_RsaPublicKey *p1, | |||
1991 | * @param bkey the blinding key to destroy | 1991 | * @param bkey the blinding key to destroy |
1992 | */ | 1992 | */ |
1993 | void | 1993 | void |
1994 | GNUNET_CRYPTO_rsa_blinding_key_free (struct GNUNET_CRYPTO_rsa_BlindingKey *bkey); | 1994 | GNUNET_CRYPTO_rsa_blinding_key_free (struct GNUNET_CRYPTO_RsaBlindingKey *bkey); |
1995 | 1995 | ||
1996 | 1996 | ||
1997 | /** | 1997 | /** |
@@ -2003,7 +2003,7 @@ GNUNET_CRYPTO_rsa_blinding_key_free (struct GNUNET_CRYPTO_rsa_BlindingKey *bkey) | |||
2003 | * @return size of memory allocated in @a buffer | 2003 | * @return size of memory allocated in @a buffer |
2004 | */ | 2004 | */ |
2005 | size_t | 2005 | size_t |
2006 | GNUNET_CRYPTO_rsa_blinding_key_encode (const struct GNUNET_CRYPTO_rsa_BlindingKey *bkey, | 2006 | GNUNET_CRYPTO_rsa_blinding_key_encode (const struct GNUNET_CRYPTO_RsaBlindingKey *bkey, |
2007 | char **buffer); | 2007 | char **buffer); |
2008 | 2008 | ||
2009 | 2009 | ||
@@ -2015,7 +2015,7 @@ GNUNET_CRYPTO_rsa_blinding_key_encode (const struct GNUNET_CRYPTO_rsa_BlindingKe | |||
2015 | * @param len the length of the data in @a buf | 2015 | * @param len the length of the data in @a buf |
2016 | * @return NULL on error | 2016 | * @return NULL on error |
2017 | */ | 2017 | */ |
2018 | struct GNUNET_CRYPTO_rsa_BlindingKey * | 2018 | struct GNUNET_CRYPTO_RsaBlindingKey * |
2019 | GNUNET_CRYPTO_rsa_blinding_key_decode (const char *buf, | 2019 | GNUNET_CRYPTO_rsa_blinding_key_decode (const char *buf, |
2020 | size_t len); | 2020 | size_t len); |
2021 | 2021 | ||
@@ -2031,7 +2031,7 @@ GNUNET_CRYPTO_rsa_blinding_key_decode (const char *buf, | |||
2031 | */ | 2031 | */ |
2032 | size_t | 2032 | size_t |
2033 | GNUNET_CRYPTO_rsa_blind (const struct GNUNET_HashCode *hash, | 2033 | GNUNET_CRYPTO_rsa_blind (const struct GNUNET_HashCode *hash, |
2034 | struct GNUNET_CRYPTO_rsa_BlindingKey *bkey, | 2034 | struct GNUNET_CRYPTO_RsaBlindingKey *bkey, |
2035 | struct GNUNET_CRYPTO_RsaPublicKey *pkey, | 2035 | struct GNUNET_CRYPTO_RsaPublicKey *pkey, |
2036 | char **buffer); | 2036 | char **buffer); |
2037 | 2037 | ||
@@ -2118,7 +2118,7 @@ GNUNET_CRYPTO_rsa_signature_dup (const struct GNUNET_CRYPTO_RsaSignature *sig); | |||
2118 | */ | 2118 | */ |
2119 | struct GNUNET_CRYPTO_RsaSignature * | 2119 | struct GNUNET_CRYPTO_RsaSignature * |
2120 | GNUNET_CRYPTO_rsa_unblind (struct GNUNET_CRYPTO_RsaSignature *sig, | 2120 | GNUNET_CRYPTO_rsa_unblind (struct GNUNET_CRYPTO_RsaSignature *sig, |
2121 | struct GNUNET_CRYPTO_rsa_BlindingKey *bkey, | 2121 | struct GNUNET_CRYPTO_RsaBlindingKey *bkey, |
2122 | struct GNUNET_CRYPTO_RsaPublicKey *pkey); | 2122 | struct GNUNET_CRYPTO_RsaPublicKey *pkey); |
2123 | 2123 | ||
2124 | 2124 | ||