search for: stmt_end

Displaying 1 result from an estimated 1 matches for "stmt_end".

Did you mean: g_stmt_end
2012 Sep 04
2
[PATCH] Generalize HMAC implementation
...p; + + 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)++ = (c) >> 16 & 0xff; \ + *(p)++ = (c) >> 24 & 0xff; \ +} STMT_END + cdp = context_digest; + CDPUT(cdp, ctxo->a); + CDPUT(cdp, ctxo->b); + CDPUT(cdp, ctxo->c); + CDPUT(cdp, ctxo->d); + CDPUT(cdp, ctx->a); + CDPUT(cdp, ctx->b); + CDPUT(cdp, ctx->c); + CDPUT(cdp, ctx->d); +} + +void hmac_md5_set_cram_context(struct hmac_context *hmac_ctx, +...