mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-11-26 23:15:34 +08:00
add missing files
This commit is contained in:
14
lib/pbkdf2-sha1.h
Normal file
14
lib/pbkdf2-sha1.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
void sha1(const unsigned char *input, int ilen, unsigned char output[20]);
|
||||
|
||||
void sha1_hmac(const unsigned char *key, int keylen, const unsigned char *input, int ilen, unsigned char output[20]);
|
||||
|
||||
void PKCS5_PBKDF2_HMAC_SHA1(const unsigned char *password, size_t plen,
|
||||
const unsigned char *salt, size_t slen,
|
||||
const unsigned long iteration_count, const unsigned long key_length,
|
||||
unsigned char *output);
|
||||
Reference in New Issue
Block a user