/**
* Key used to blind a message
*/
-struct GNUNET_CRYPTO_rsa_BlindingKey;
+struct GNUNET_CRYPTO_RsaBlindingKey;
/**
* @brief an RSA signature
* @param len length of the key in bits (i.e. 2048)
* @return the newly created blinding key
*/
-struct GNUNET_CRYPTO_rsa_BlindingKey *
+struct GNUNET_CRYPTO_RsaBlindingKey *
GNUNET_CRYPTO_rsa_blinding_key_create (unsigned int len);
* @return 0 if the two are equal
*/
int
-GNUNET_CRYPTO_rsa_blinding_key_cmp (struct GNUNET_CRYPTO_rsa_BlindingKey *b1,
- struct GNUNET_CRYPTO_rsa_BlindingKey *b2);
+GNUNET_CRYPTO_rsa_blinding_key_cmp (struct GNUNET_CRYPTO_RsaBlindingKey *b1,
+ struct GNUNET_CRYPTO_RsaBlindingKey *b2);
/**
* @param bkey the blinding key to destroy
*/
void
-GNUNET_CRYPTO_rsa_blinding_key_free (struct GNUNET_CRYPTO_rsa_BlindingKey *bkey);
+GNUNET_CRYPTO_rsa_blinding_key_free (struct GNUNET_CRYPTO_RsaBlindingKey *bkey);
/**
* @return size of memory allocated in @a buffer
*/
size_t
-GNUNET_CRYPTO_rsa_blinding_key_encode (const struct GNUNET_CRYPTO_rsa_BlindingKey *bkey,
+GNUNET_CRYPTO_rsa_blinding_key_encode (const struct GNUNET_CRYPTO_RsaBlindingKey *bkey,
char **buffer);
* @param len the length of the data in @a buf
* @return NULL on error
*/
-struct GNUNET_CRYPTO_rsa_BlindingKey *
+struct GNUNET_CRYPTO_RsaBlindingKey *
GNUNET_CRYPTO_rsa_blinding_key_decode (const char *buf,
size_t len);
*/
size_t
GNUNET_CRYPTO_rsa_blind (const struct GNUNET_HashCode *hash,
- struct GNUNET_CRYPTO_rsa_BlindingKey *bkey,
+ struct GNUNET_CRYPTO_RsaBlindingKey *bkey,
struct GNUNET_CRYPTO_RsaPublicKey *pkey,
char **buffer);
*/
struct GNUNET_CRYPTO_RsaSignature *
GNUNET_CRYPTO_rsa_unblind (struct GNUNET_CRYPTO_RsaSignature *sig,
- struct GNUNET_CRYPTO_rsa_BlindingKey *bkey,
+ struct GNUNET_CRYPTO_RsaBlindingKey *bkey,
struct GNUNET_CRYPTO_RsaPublicKey *pkey);