Mercurial > vba-clojure
comparison src/win32/7zip/7z/CPP/7zip/Crypto/Pbkdf2HmacSha1.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:8ced16adf2e1 | 1:f9f4f1b99eed |
---|---|
1 // Pbkdf2HmacSha1.h | |
2 // Password-Based Key Derivation Function (RFC 2898, PKCS #5) based on HMAC-SHA-1 | |
3 | |
4 #ifndef __CRYPTO_PBKDF2_HMAC_SHA1_H | |
5 #define __CRYPTO_PBKDF2_HMAC_SHA1_H | |
6 | |
7 #include <stddef.h> | |
8 #include "../../Common/Types.h" | |
9 | |
10 namespace NCrypto { | |
11 namespace NSha1 { | |
12 | |
13 void Pbkdf2Hmac(const Byte *pwd, size_t pwdSize, const Byte *salt, size_t saltSize, | |
14 UInt32 numIterations, Byte *key, size_t keySize); | |
15 | |
16 void Pbkdf2Hmac32(const Byte *pwd, size_t pwdSize, const UInt32 *salt, size_t saltSize, | |
17 UInt32 numIterations, UInt32 *key, size_t keySize); | |
18 | |
19 }} | |
20 | |
21 #endif |