Re: Calculating HMAC for a key based on password and salt
Peter Gutmann <[email protected]> Thu, 14 Mar 2013 01:42:56 +1300
| Newsgroups | gmane.comp.encryption.cryptlib |
|---|---|
| Message-ID | <[email protected]> |
Lahiru Dissanayake <[email protected]> writes: >However I get -16 as the status of the last statement. Are password based >keys not meant to be used with HMAC in Cryptlib, or am I doing something >wrong? The algorithm type is being written to the wrong field, to fix it change context/keyload.c, line 951 from: contextInfoPtr->ctxConv->keySetupAlgorithm = hmacAlgo; to: macInfo->keySetupAlgorithm = hmacAlgo; Peter. _______________________________________________ Cryptlib mailing list [email protected] via Mail: [email protected] Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/ http://news.gmane.org/gmane.comp.encryption.cryptlib Posts from non-subscribed addresses are blocked to prevent spam, please subscribe in order to post messages.