/freebsd-11.0-release/crypto/openssl/crypto/evp/ |
H A D | evp_lib.c | 295 int EVP_MD_block_size(const EVP_MD *md) argument 297 return md->block_size; 300 int EVP_MD_type(const EVP_MD *md) argument 302 return md->type; 305 int EVP_MD_pkey_type(const EVP_MD *md) argument 307 return md->pkey_type; 310 int EVP_MD_size(const EVP_MD *md) argument 312 if (!md) { 316 return md->md_size; 321 const EVP_MD *evp_get_fips_md(const EVP_MD *md) argument 345 EVP_MD_flags(const EVP_MD *md) argument [all...] |
H A D | e_aes_cbc_hmac_sha256.c | 83 SHA256_CTX head, tail, md; member in struct:__anon6341 132 key->md = key->head; 260 memcpy(blocks[0].c, key->md.data, 8); 269 ctx->A[i] = key->md.h[0]; 270 ctx->B[i] = key->md.h[1]; 271 ctx->C[i] = key->md.h[2]; 272 ctx->D[i] = key->md.h[3]; 273 ctx->E[i] = key->md.h[4]; 274 ctx->F[i] = key->md.h[5]; 275 ctx->G[i] = key->md [all...] |
H A D | e_aes_cbc_hmac_sha1.c | 83 SHA_CTX head, tail, md; member in struct:__anon6333 135 key->md = key->head; 263 memcpy(blocks[0].c, key->md.data, 8); 272 ctx->A[i] = key->md.h0; 273 ctx->B[i] = key->md.h1; 274 ctx->C[i] = key->md.h2; 275 ctx->D[i] = key->md.h3; 276 ctx->E[i] = key->md.h4; 283 blocks[i].c[j] = ((u8 *)key->md.data)[j] + carry; 287 blocks[i].c[8] = ((u8 *)key->md [all...] |
H A D | m_sha1.c | 81 static int final(EVP_MD_CTX *ctx, unsigned char *md) argument 83 return SHA1_Final(md, ctx->md_data); 128 static int final256(EVP_MD_CTX *ctx, unsigned char *md) argument 130 return SHA256_Final(md, ctx->md_data); 191 static int final512(EVP_MD_CTX *ctx, unsigned char *md) argument 193 return SHA512_Final(md, ctx->md_data);
|
H A D | m_dss.c | 80 static int final(EVP_MD_CTX *ctx, unsigned char *md) argument 82 return SHA1_Final(md, ctx->md_data);
|
H A D | m_dss1.c | 81 static int final(EVP_MD_CTX *ctx, unsigned char *md) argument 83 return SHA1_Final(md, ctx->md_data);
|
H A D | m_md2.c | 82 static int final(EVP_MD_CTX *ctx, unsigned char *md) argument 84 return MD2_Final(md, ctx->md_data);
|
H A D | m_md4.c | 84 static int final(EVP_MD_CTX *ctx, unsigned char *md) argument 86 return MD4_Final(md, ctx->md_data);
|
H A D | m_md5.c | 83 static int final(EVP_MD_CTX *ctx, unsigned char *md) argument 85 return MD5_Final(md, ctx->md_data);
|
H A D | m_mdc2.c | 84 static int final(EVP_MD_CTX *ctx, unsigned char *md) argument 86 return MDC2_Final(md, ctx->md_data);
|
H A D | m_ripemd.c | 83 static int final(EVP_MD_CTX *ctx, unsigned char *md) argument 85 return RIPEMD160_Final(md, ctx->md_data);
|
H A D | m_sha.c | 82 static int final(EVP_MD_CTX *ctx, unsigned char *md) argument 84 return SHA_Final(md, ctx->md_data);
|
/freebsd-11.0-release/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_macinfo.c | 189 Dwarf_Macro_Details *md; local 200 md = &dbg->dbgp_mdlist[i]; 201 md->dmd_offset = ds->ds_size; 202 RCHECK(WRITE_VALUE(md->dmd_type, 1)); 203 switch (md->dmd_type) { 207 RCHECK(WRITE_ULEB128(md->dmd_lineno)); 208 assert(md->dmd_macro != NULL); 209 RCHECK(WRITE_STRING(md->dmd_macro)); 212 RCHECK(WRITE_ULEB128(md->dmd_lineno)); 213 RCHECK(WRITE_ULEB128(md 238 Dwarf_Macro_Details *md; local [all...] |
/freebsd-11.0-release/sys/boot/efi/loader/arch/i386/ |
H A D | bootinfo.c | 182 struct file_metadata *md; local 193 for (md = fp->f_metadata; md != NULL; md = md->md_next) { 194 if (!(md->md_type & MODINFOMD_NOCOPY)) 195 MOD_METADATA(addr, md); 213 struct file_metadata *md; local 235 md = file_findmetadata(fp, MODINFOMD_SSYM); 236 ssym = (md ! [all...] |
/freebsd-11.0-release/tests/sys/geom/class/eli/ |
H A D | init_test.sh | 34 geli init -B none -e $ealgo -l $keylen -P -K $keyfile -s $secsize md${no} 2>/dev/null 35 geli attach -p -k $keyfile md${no} 37 secs=`diskinfo /dev/md${no}.eli | awk '{print $4}'` 40 dd if=${rnd} of=/dev/md${no}.eli bs=${secsize} count=${secs} 2>/dev/null 43 md_ddev=`dd if=/dev/md${no}.eli bs=${secsize} count=${secs} 2>/dev/null | md5` 44 md_edev=`dd if=/dev/md${no} bs=${secsize} count=${secs} 2>/dev/null | md5` 59 geli detach md${no}
|
/freebsd-11.0-release/contrib/gcc/ |
H A D | opts-common.c | 54 size_t mn, mx, md, opt_len; local 65 md = (mn + mx) / 2; 66 opt_len = cl_options[md].opt_len; 67 comp = strncmp (input, cl_options[md].opt_text + 1, opt_len); 70 mx = md; 72 mn = md;
|
/freebsd-11.0-release/tools/tools/cd2dvd/ |
H A D | cd2dvd.sh | 42 md="" 81 md=`mdconfig -a -t vnode -f ${_img}` || exit 1 82 mount_cd9660 /dev/${md} ${_mnt} || exit 1 122 umount /dev/${md} || exit 1 123 mdconfig -d -u "${md}" || exit 1 152 # $2 md 237 md="" 240 trap 'echo ""; echo "Cleaning up"; clearmount "${tmpdirin}" ""; clearmd "${system}" "${md}" ""; rm -rf "${tmpdirin}" "${tmpdirout}";' 0 1 2 3 15
|
/freebsd-11.0-release/crypto/openssl/crypto/sha/ |
H A D | sha256t.c | 65 unsigned char md[SHA256_DIGEST_LENGTH]; local 71 EVP_Digest("abc", 3, md, NULL, EVP_sha256(), NULL); 72 if (memcmp(md, app_b1, sizeof(app_b1))) { 81 "ijkljklm" "klmnlmno" "mnopnopq", 56, md, NULL, EVP_sha256(), 83 if (memcmp(md, app_b2, sizeof(app_b2))) { 100 EVP_DigestFinal_ex(&evp, md, NULL); 103 if (memcmp(md, app_b3, sizeof(app_b3))) { 116 EVP_Digest("abc", 3, md, NULL, EVP_sha224(), NULL); 117 if (memcmp(md, addenum_1, sizeof(addenum_1))) { 126 "ijkljklm" "klmnlmno" "mnopnopq", 56, md, NUL [all...] |
/freebsd-11.0-release/sbin/geom/class/multipath/ |
H A D | geom_multipath.c | 149 struct g_multipath_metadata md; local 199 strlcpy(md.md_magic, G_MULTIPATH_MAGIC, sizeof(md.md_magic)); 200 md.md_version = G_MULTIPATH_VERSION; 202 strlcpy(md.md_name, mpname, sizeof(md.md_name)); 203 md.md_size = disksize; 204 md.md_sectorsize = secsize; 215 strlcpy(md.md_uuid, ptr, sizeof (md [all...] |
/freebsd-11.0-release/sys/geom/multipath/ |
H A D | g_multipath.c | 71 struct g_multipath_metadata *md); 73 struct g_multipath_metadata *md); 255 struct g_multipath_metadata md; local 291 error = g_multipath_read_metadata(cp, &md); 293 (strcmp(md.md_magic, G_MULTIPATH_MAGIC) != 0) || 294 (memcmp(md.md_uuid, sc->sc_uuid, sizeof(sc->sc_uuid)) != 0) || 295 (strcmp(md.md_name, sc->sc_name) != 0) || 296 (md.md_size != 0 && md.md_size != size) || 297 (md 509 g_multipath_create(struct g_class *mp, struct g_multipath_metadata *md) argument 742 g_multipath_read_metadata(struct g_consumer *cp, struct g_multipath_metadata *md) argument 767 g_multipath_write_metadata(struct g_consumer *cp, struct g_multipath_metadata *md) argument 793 struct g_multipath_metadata md; local 1083 struct g_multipath_metadata md; local 1148 struct g_multipath_metadata md; local [all...] |
/freebsd-11.0-release/usr.sbin/bsdinstall/partedit/ |
H A D | gpart_ops.c | 515 struct partition_metadata *md; local 602 TAILQ_FOREACH(md, &part_metadata, metadata) { 603 if (md->name != NULL && strcmp(md->name, pp->lg_name) == 0) { 604 if (md->fstab != NULL) 605 items[2].text = md->fstab->fs_file; 665 struct partition_metadata *md; local 670 md = get_part_metadata(name, 1); 673 if (md->newfs != NULL) { 674 free(md 1096 struct partition_metadata *md; local 1322 struct partition_metadata *md; local [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/md5/ |
H A D | md5.h | 112 int MD5_Final(unsigned char *md, MD5_CTX *c); 113 unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md);
|
/freebsd-11.0-release/crypto/openssl/crypto/ripemd/ |
H A D | ripemd.h | 98 int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); 99 unsigned char *RIPEMD160(const unsigned char *d, size_t n, unsigned char *md);
|
/freebsd-11.0-release/sbin/geom/misc/ |
H A D | subr.h | 40 int g_metadata_read(const char *name, unsigned char *md, size_t size, 42 int g_metadata_store(const char *name, const unsigned char *md, size_t size);
|
/freebsd-11.0-release/crypto/openssl/crypto/md4/ |
H A D | md4.h | 112 int MD4_Final(unsigned char *md, MD4_CTX *c); 113 unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md);
|