Searched refs:mdsize (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/sys/geom/eli/
H A Dg_eli_crypto.c280 g_eli_crypto_hmac_final(struct hmac_ctx *ctx, uint8_t *md, size_t mdsize) argument
293 /* mdsize == 0 means "Give me the whole hash!" */
294 if (mdsize == 0)
295 mdsize = SHA512_MDLEN;
296 bcopy(digest, md, mdsize);
302 size_t datasize, uint8_t *md, size_t mdsize)
308 g_eli_crypto_hmac_final(&ctx, md, mdsize);
301 g_eli_crypto_hmac(const uint8_t *hkey, size_t hkeysize, const uint8_t *data, size_t datasize, uint8_t *md, size_t mdsize) argument
H A Dg_eli.h558 void g_eli_crypto_hmac_final(struct hmac_ctx *ctx, uint8_t *md, size_t mdsize);
560 const uint8_t *data, size_t datasize, uint8_t *md, size_t mdsize);
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/
H A Dproto_tls.c302 unsigned int i, mdsize; local
314 if (X509_digest(cert, EVP_sha256(), md, &mdsize) != 1)
316 PJDLOG_ASSERT(mdsize <= EVP_MAX_MD_SIZE);
322 for (i = 0; i < mdsize; i++) {

Completed in 102 milliseconds