summaryrefslogtreecommitdiff
path: root/src/pq
diff options
context:
space:
mode:
Diffstat (limited to 'src/pq')
-rw-r--r--src/pq/pq_query_helper.c8
-rw-r--r--src/pq/pq_result_helper.c12
-rw-r--r--src/pq/test_pq.c10
3 files changed, 15 insertions, 15 deletions
diff --git a/src/pq/pq_query_helper.c b/src/pq/pq_query_helper.c
index 13c71446c..d284822c2 100644
--- a/src/pq/pq_query_helper.c
+++ b/src/pq/pq_query_helper.c
@@ -265,7 +265,7 @@ qconv_rsa_public_key (void *cls,
void *scratch[],
unsigned int scratch_length)
{
- const struct GNUNET_CRYPTO_rsa_PublicKey *rsa = data;
+ const struct GNUNET_CRYPTO_RsaPublicKey *rsa = data;
char *buf;
size_t buf_size;
@@ -290,7 +290,7 @@ qconv_rsa_public_key (void *cls,
* @return array entry for the query parameters to use
*/
struct GNUNET_PQ_QueryParam
-GNUNET_PQ_query_param_rsa_public_key (const struct GNUNET_CRYPTO_rsa_PublicKey *x)
+GNUNET_PQ_query_param_rsa_public_key (const struct GNUNET_CRYPTO_RsaPublicKey *x)
{
struct GNUNET_PQ_QueryParam res =
{ &qconv_rsa_public_key, NULL, (x), 0, 1 };
@@ -323,7 +323,7 @@ qconv_rsa_signature (void *cls,
void *scratch[],
unsigned int scratch_length)
{
- const struct GNUNET_CRYPTO_rsa_Signature *sig = data;
+ const struct GNUNET_CRYPTO_RsaSignature *sig = data;
char *buf;
size_t buf_size;
@@ -348,7 +348,7 @@ qconv_rsa_signature (void *cls,
* @return array entry for the query parameters to use
*/
struct GNUNET_PQ_QueryParam
-GNUNET_PQ_query_param_rsa_signature (const struct GNUNET_CRYPTO_rsa_Signature *x)
+GNUNET_PQ_query_param_rsa_signature (const struct GNUNET_CRYPTO_RsaSignature *x)
{
struct GNUNET_PQ_QueryParam res =
{ &qconv_rsa_signature, NULL, (x), 0, 1 };
diff --git a/src/pq/pq_result_helper.c b/src/pq/pq_result_helper.c
index 48f073cda..8baf0b00f 100644
--- a/src/pq/pq_result_helper.c
+++ b/src/pq/pq_result_helper.c
@@ -233,7 +233,7 @@ extract_rsa_public_key (void *cls,
size_t *dst_size,
void *dst)
{
- struct GNUNET_CRYPTO_rsa_PublicKey **pk = dst;
+ struct GNUNET_CRYPTO_RsaPublicKey **pk = dst;
size_t len;
const char *res;
int fnum;
@@ -285,7 +285,7 @@ static void
clean_rsa_public_key (void *cls,
void *rd)
{
- struct GNUNET_CRYPTO_rsa_PublicKey **pk = rd;
+ struct GNUNET_CRYPTO_RsaPublicKey **pk = rd;
if (NULL != *pk)
{
@@ -304,7 +304,7 @@ clean_rsa_public_key (void *cls,
*/
struct GNUNET_PQ_ResultSpec
GNUNET_PQ_result_spec_rsa_public_key (const char *name,
- struct GNUNET_CRYPTO_rsa_PublicKey **rsa)
+ struct GNUNET_CRYPTO_RsaPublicKey **rsa)
{
struct GNUNET_PQ_ResultSpec res =
{ &extract_rsa_public_key,
@@ -337,7 +337,7 @@ extract_rsa_signature (void *cls,
size_t *dst_size,
void *dst)
{
- struct GNUNET_CRYPTO_rsa_Signature **sig = dst;
+ struct GNUNET_CRYPTO_RsaSignature **sig = dst;
size_t len;
const char *res;
int fnum;
@@ -389,7 +389,7 @@ static void
clean_rsa_signature (void *cls,
void *rd)
{
- struct GNUNET_CRYPTO_rsa_Signature **sig = rd;
+ struct GNUNET_CRYPTO_RsaSignature **sig = rd;
if (NULL != *sig)
{
@@ -408,7 +408,7 @@ clean_rsa_signature (void *cls,
*/
struct GNUNET_PQ_ResultSpec
GNUNET_PQ_result_spec_rsa_signature (const char *name,
- struct GNUNET_CRYPTO_rsa_Signature **sig)
+ struct GNUNET_CRYPTO_RsaSignature **sig)
{
struct GNUNET_PQ_ResultSpec res =
{ &extract_rsa_signature,
diff --git a/src/pq/test_pq.c b/src/pq/test_pq.c
index b9bf1be76..b8ffc6403 100644
--- a/src/pq/test_pq.c
+++ b/src/pq/test_pq.c
@@ -89,10 +89,10 @@ postgres_prepare (PGconn *db_conn)
static int
run_queries (PGconn *conn)
{
- struct GNUNET_CRYPTO_rsa_PublicKey *pub;
- struct GNUNET_CRYPTO_rsa_PublicKey *pub2 = NULL;
- struct GNUNET_CRYPTO_rsa_Signature *sig;
- struct GNUNET_CRYPTO_rsa_Signature *sig2 = NULL;
+ struct GNUNET_CRYPTO_RsaPublicKey *pub;
+ struct GNUNET_CRYPTO_RsaPublicKey *pub2 = NULL;
+ struct GNUNET_CRYPTO_RsaSignature *sig;
+ struct GNUNET_CRYPTO_RsaSignature *sig2 = NULL;
struct GNUNET_TIME_Absolute abs_time = GNUNET_TIME_absolute_get ();
struct GNUNET_TIME_Absolute abs_time2;
struct GNUNET_TIME_Absolute forever = GNUNET_TIME_UNIT_FOREVER_ABS;
@@ -101,7 +101,7 @@ run_queries (PGconn *conn)
struct GNUNET_HashCode hc2;
PGresult *result;
int ret;
- struct GNUNET_CRYPTO_rsa_PrivateKey *priv;
+ struct GNUNET_CRYPTO_RsaPrivateKey *priv;
char msg[] = "Hello";
void *msg2;
size_t msg2_len;