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

/freebsd-13-stable/sys/geom/eli/
H A Dg_eli_hmac.c93 g_eli_crypto_hmac_final(struct hmac_ctx *ctx, uint8_t *md, size_t mdsize) argument
105 /* mdsize == 0 means "Give me the whole hash!" */
106 if (mdsize == 0)
107 mdsize = SHA512_MDLEN;
108 bcopy(digest, md, mdsize);
114 size_t datasize, uint8_t *md, size_t mdsize)
120 g_eli_crypto_hmac_final(&ctx, md, mdsize);
113 g_eli_crypto_hmac(const char *hkey, size_t hkeysize, const uint8_t *data, size_t datasize, uint8_t *md, size_t mdsize) argument
H A Dg_eli.h729 void g_eli_crypto_hmac_final(struct hmac_ctx *ctx, uint8_t *md, size_t mdsize);
731 const uint8_t *data, size_t datasize, uint8_t *md, size_t mdsize);
/freebsd-13-stable/crypto/openssl/crypto/evp/
H A Dp5_crpt.c35 int mdsize; local
92 mdsize = EVP_MD_size(md);
93 if (mdsize < 0)
98 if (!EVP_DigestUpdate(ctx, md_tmp, mdsize))
/freebsd-13-stable/sbin/mdmfs/
H A Dmdmfs.c102 intmax_t mdsize; local
126 mdsize = 0;
274 mdsize = (intmax_t)strtoumax(size_arg, &p, 0);
275 if (p == size_arg || (p[0] != 0 && p[1] != 0) || mdsize < 0)
280 mdsize *= 1024;
283 mdsize *= 1024;
286 mdsize *= 1024;
289 mdsize *= 1024;
292 mdsize *= 1024;
297 mdsize *
[all...]
/freebsd-13-stable/crypto/openssl/crypto/dsa/
H A Ddsa_gen.c315 int mdsize; local
344 mdsize = EVP_MD_size(evpmd);
348 seed_len = mdsize;
412 if (mdsize > qsize)
413 pmd = md + mdsize - qsize;
417 if (mdsize < qsize)
418 memset(md + mdsize, 0, qsize - mdsize);
456 n = (L - 1) / (mdsize << 3);
479 if (!BN_bin2bn(md, mdsize, r
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dcrypto_os.c111 crypto_mac_final(struct hmac_ctx *ctx, void *md, size_t mdsize) argument
123 /* mdsize == 0 means "Give me the whole hash!" */
124 if (mdsize == 0)
125 mdsize = SHA512_DIGEST_LENGTH;
126 bcopy(digest, md, mdsize);
/freebsd-13-stable/contrib/openbsm/bin/auditdistd/
H A Dproto_tls.c300 unsigned int i, mdsize; local
312 if (X509_digest(cert, EVP_sha256(), md, &mdsize) != 1)
314 PJDLOG_ASSERT(mdsize <= EVP_MAX_MD_SIZE);
320 for (i = 0; i < mdsize; i++) {
/freebsd-13-stable/sys/geom/mirror/
H A Dg_mirror_ctl.c627 off_t mdsize; local
693 mdsize = (sc->sc_type == G_MIRROR_TYPE_AUTOMATIC) ?
695 if (sc->sc_provider->mediasize > pp->mediasize - mdsize) {

Completed in 203 milliseconds