search for: cdget

Displaying 2 results from an estimated 2 matches for "cdget".

Did you mean: bdget
2012 Sep 04
2
[PATCH] Generalize HMAC implementation
...>c); + CDPUT(cdp, ctx->d); +} + +void hmac_md5_set_cram_context(struct hmac_context *hmac_ctx, + const unsigned char context_digest[CRAM_MD5_CONTEXTLEN]) +{ + const unsigned char *cdp; + + struct md5_context *ctx = hmac_ctx->ctx; + struct md5_context *ctxo = hmac_ctx->ctxo; + +#define CDGET(p, c) STMT_START { \ + (c) = (*p++); \ + (c) += (*p++ << 8); \ + (c) += (*p++ << 16); \ + (c) += (*p++ << 24); \ +} STMT_END + cdp = context_digest; + CDGET(cdp, ctxo->a); + CDGET(cdp, ctxo->b); + CDGET(cdp, ctxo->c); + CDGET(cdp, ctxo->d); + CD...
2001 May 27
1
Kernel 2.4.5 and gkernel/ext3 CVS: cannot compile
...from the gkernel/ext3 (download today) (symlinks are created) I run into following problem: gcc -D__KERNEL__ -I/usr/local/src/kernel/linux-2.4.5-ext3cvs/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -march=i686 -DEXPORT_SYMTAB -c ksyms.c ksyms.c:191: `cdget' undeclared here (not in a function) ksyms.c:191: initializer element for `__ksymtab_cdget.value' is not constant ksyms.c:192: `cdput' undeclared here (not in a function) ksyms.c:192: initializer element for `__ksymtab_cdput.value' is not constant make[2]: *** [ksyms.o] Error 1 ma...