Mercurial > vba-linux
view 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 |
line wrap: on
line source
1 // Pbkdf2HmacSha1.h2 // Password-Based Key Derivation Function (RFC 2898, PKCS #5) based on HMAC-SHA-14 #ifndef __CRYPTO_PBKDF2_HMAC_SHA1_H5 #define __CRYPTO_PBKDF2_HMAC_SHA1_H7 #include <stddef.h>8 #include "../../Common/Types.h"10 namespace NCrypto {11 namespace NSha1 {13 void Pbkdf2Hmac(const Byte *pwd, size_t pwdSize, const Byte *salt, size_t saltSize,14 UInt32 numIterations, Byte *key, size_t keySize);16 void Pbkdf2Hmac32(const Byte *pwd, size_t pwdSize, const UInt32 *salt, size_t saltSize,17 UInt32 numIterations, UInt32 *key, size_t keySize);19 }}21 #endif