[33695] in Kerberos

home help back first fref pref prev next nref lref last post

possible to compute plain old HMAC-SHA1 of buffer with krb5 api?

daemon@ATHENA.MIT.EDU (Chris Hecker)
Mon Aug 1 04:28:50 2011

Message-ID: <4E3663B6.4040004@d6.com>
Date: Mon, 01 Aug 2011 01:28:38 -0700
From: Chris Hecker <checker@d6.com>
MIME-Version: 1.0
To: "kerberos@mit.edu" <kerberos@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu


Is it possible to compute a regular old hmac_sha1 with the krb5 api?  In 
other words, the normal api is digest = hmac_sha1(data,pass).  I notice 
there are a bunch of hmac functions and krb5int_hmac is even exported, 
but it's not clear how to call it to be compatible with a regular hmac_sha1.

No big deal if it's not possible, since there's a lot of code out there, 
but since I'm already linking krb5...

Thanks,
Chris


________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post