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

View File

@ -22,7 +22,7 @@
#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 *info, size_t n_info,
char *output, size_t n_output)

View File

@ -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)
{