Hi all,

Is the length of MAC algorithm constant or variable? For example, is the output of a HMAC-SHA1 always be 20 bytes length? Can I specify it to be a different length, for e.g. 16 bytes?

I know the output length is determined by the hash function it implies. So the problem turns into "Can OpenSSL hash function outputs a specified (normally shorter) length of hash?"

Thanks and regards,

Peter Lin
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to