diff --git a/plugins/qca-gcrypt/hkdf.c b/plugins/qca-gcrypt/hkdf.c index 5310a0bc..0ec94e99 100644 --- a/plugins/qca-gcrypt/hkdf.c +++ b/plugins/qca-gcrypt/hkdf.c @@ -22,7 +22,7 @@ #include -gcry_error_t gcry_hkdf(int algo, const char *input, size_t n_input, +static gcry_error_t gcry_hkdf(int algo, const char *input, size_t n_input, const char *salt, size_t n_salt, const char *info, size_t n_info, char *output, size_t n_output) diff --git a/plugins/qca-gcrypt/pkcs5.c b/plugins/qca-gcrypt/pkcs5.c index f761ba51..53ee0e73 100644 --- a/plugins/qca-gcrypt/pkcs5.c +++ b/plugins/qca-gcrypt/pkcs5.c @@ -45,7 +45,7 @@ * Output: DK derived key, a dkLen-octet string */ -gcry_error_t +static gcry_error_t gcry_pbkdf2 (int PRF, const char *P, size_t Plen, const char *S, size_t Slen, unsigned int c, unsigned int dkLen, char *DK) {