> On Mon, Aug 19, 2013, Leon Brits wrote: > >> Hi all, >> >> I've been (re)implementing all the ciphers we use to make use of EVP >> structures. On the wiki >> (http://wiki.openssl.org/index.php/EVP_Key_and_Parameter_Generation) there >> is an example to use EVP_PKEY for CMAC. I am a bit confused on the >> intention of this: Basically, how do I use this generated "key" with the >> EVP_Encrypt/Decrypt Init/Update/Final functions since they require an >> EVP_CIPHER structure to work on the message data for which I want to >> calculate a tag.
I have modified the page you mention above to include a reference to this page: http://wiki.openssl.org/index.php/EVP_Signing_and_Verifying This gives examples of how to use the EVP interface to generate MAC codes. Matt ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
