search for: hmac_ctx

Displaying 5 results from an estimated 5 matches for "hmac_ctx".

Did you mean: umac_ctx
2011 Sep 06
2
mac_int() does not call HMAC_CTX_init()
...m.com direct??????? +1.289.261.4148 mobile?????? +1.416.276.8062 main ??? ???? +1.905.507.4220 fax?? ?????????? +1.905.507.4230 www.certicom.com From: Robert Dugal Sent: Wednesday, September 29, 2010 1:02 PM To: openssh-unix-dev at mindrot.org Subject: bug in openssh - mac_int() does not call HMAC_CTX_init() I have been doing some work with OpenSSH 5.6p1, attempting to use an alternative engine for crypto. In mac.c, the function mac_init() calls HMAC_Init() without previously having called HMAC_CTX_init(). However, OpenSSL documentation states that HMAC_CTX_init() is mandatory. http://www.open...
2012 Sep 04
2
[PATCH] Generalize HMAC implementation
...(c) 2003 Joshua Goodall <joshua at roughtrade.net> + * + * This software is released under the MIT license. + */ + +#include "lib.h" +#include "md5.h" +#include "hmac.h" +#include "hmac-cram-md5.h" + +void hmac_md5_get_cram_context(struct hmac_context *hmac_ctx, + unsigned char context_digest[CRAM_MD5_CONTEXTLEN]) +{ + unsigned char *cdp; + + struct md5_context *ctx = hmac_ctx->ctx; + struct md5_context *ctxo = hmac_ctx->ctxo; + +#define CDPUT(p, c) STMT_START { \ + *(p)++ = (c) & 0xff; \ + *(p)++ = (c) >> 8 & 0xff; \ + *(p)...
2011 Sep 07
5
[Bug 1934] New: mac_init() calls HMAC_Init() without previously having called HMAC_CTX_init().
https://bugzilla.mindrot.org/show_bug.cgi?id=1934 Bug #: 1934 Summary: mac_init() calls HMAC_Init() without previously having called HMAC_CTX_init(). Classification: Unclassified Product: Portable OpenSSH Version: 5.8p1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Miscellaneous AssignedTo: unassigned-bugs at...
2016 Nov 02
0
v2.2.26.0 released
...rsa #define OBJ_length(o) ((o)->length) @@ -90,7 +90,7 @@ struct dcrypt_context_symmetric { struct dcrypt_context_hmac { pool_t pool; const EVP_MD *md; -#if OPENSSL_VERSION_NUMBER >= 0x10100000L +#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) HMAC_CTX *ctx; #else HMAC_CTX ctx; @@ -427,7 +427,7 @@ static void dcrypt_openssl_ctx_hmac_destroy(struct dcrypt_context_hmac **ctx) { pool_t pool = (*ctx)->pool; -#if OPENSSL_VERSION_NUMBER >= 0x10100000L +#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER...
2016 Nov 02
2
v2.2.26.0 released
...gt;>>> >>>>>>> On 02.11.2016 12:34, Ruga wrote: >>>>>>>> dovecot 2.2.26.0 uses the following functions, which are not >>>>>>>> available on libressl 2.4.3: >>>>>>>> >>>>>>>> HMAC_CTX_new >>>>>>>> HMAC_CTX_free >>>>>>>> EVP_PKEY_get0_EC_KEY >>>>>>>> EVP_PKEY_get0_RSA >>>>>>>> OBJ_length >>>>>>>> EVP_MD_CTX_new >>>>>>>> EVP_MD_CTX_free &g...