4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-09 01:09:34 +00:00

qca-gcrypt: mark functions only used in one file as static

This commit is contained in:
Albert Astals Cid 2020-07-13 18:59:28 +02:00
parent 71a1f95cba
commit 6f4e01f92d
2 changed files with 2 additions and 2 deletions
plugins/qca-gcrypt

@ -22,7 +22,7 @@
#include <gcrypt.h> #include <gcrypt.h>
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 *salt, size_t n_salt,
const char *info, size_t n_info, const char *info, size_t n_info,
char *output, size_t n_output) char *output, size_t n_output)

@ -45,7 +45,7 @@
* Output: DK derived key, a dkLen-octet string * 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, gcry_pbkdf2 (int PRF, const char *P, size_t Plen, const char *S,
size_t Slen, unsigned int c, unsigned int dkLen, char *DK) size_t Slen, unsigned int c, unsigned int dkLen, char *DK)
{ {