libsec: add pbkdf2_hmac_sha1() (from wpapsk factotum module)
This commit is contained in:
parent
d3f05df5d6
commit
a40c4006d2
4 changed files with 34 additions and 27 deletions
|
@ -456,3 +456,6 @@ mpint* dh_new(DHstate *dh, mpint *p, mpint *g);
|
|||
|
||||
/* calculate shared key: k = pub ^ x % p */
|
||||
mpint* dh_finish(DHstate *dh, mpint *pub);
|
||||
|
||||
/* password-based key derivation function 2 (RFC 2898) */
|
||||
void pbkdf2_hmac_sha1(uchar *p, ulong plen, uchar *s, ulong slen, ulong rounds, uchar *d, ulong dlen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue