aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/elgamal/gcrypt
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix-crypto/elgamal/gcrypt')
-rw-r--r--libcmix-crypto/elgamal/gcrypt/gcrypt_elgamal.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcmix-crypto/elgamal/gcrypt/gcrypt_elgamal.c b/libcmix-crypto/elgamal/gcrypt/gcrypt_elgamal.c
index 28c61c3..ec993a6 100644
--- a/libcmix-crypto/elgamal/gcrypt/gcrypt_elgamal.c
+++ b/libcmix-crypto/elgamal/gcrypt/gcrypt_elgamal.c
@@ -132,6 +132,7 @@ void gcrypt_elgamal_free_buffer(void* buffer) {
}
void* gcrypt_elgamal_array_to_element(char const* buffer, size_t len, bool secure) {
+ (void) secure;
size_t error_pos;
gcry_error_t error;
@@ -163,6 +164,7 @@ size_t gcrypt_elgamal_get_pub_key_hash_length() {
}
void* gcrypt_elgamal_get_group_element(bool secure) {
+ (void) secure;
size_t parse_error_offset;
gcry_error_t error;
@@ -240,6 +242,10 @@ void gcrypt_elgamal_add_public_share(GroupElement* el, char const* share, size_t
}
GroupElement gcrypt_elgamal_derive_shared_key(struct KeyPair keypair, unsigned char const* other_pub, size_t pub_len, unsigned char const* value, size_t value_len, void* priv_value, bool swap) {
+ (void) keypair;
+ (void) other_pub;
+ (void) pub_len;
+ (void) swap;
gcry_error_t error;
size_t parse_error_pos;