/freebsd/crypto/openssl/crypto/pkcs12/ |
H A D | p12_key.c | 21 unsigned char *out, const EVP_MD *md_type, in PKCS12_key_gen_asc_ex() argument 36 n, out, md_type, ctx, propq); in PKCS12_key_gen_asc_ex() 43 unsigned char *out, const EVP_MD *md_type) in PKCS12_key_gen_asc() argument 46 out, md_type, NULL, NULL); in PKCS12_key_gen_asc() 51 unsigned char *out, const EVP_MD *md_type, in PKCS12_key_gen_utf8_ex() argument 66 n, out, md_type, ctx, propq); in PKCS12_key_gen_utf8_ex() 73 unsigned char *out, const EVP_MD *md_type) in PKCS12_key_gen_utf8() argument 76 out, md_type, NULL, NULL); in PKCS12_key_gen_utf8() 81 unsigned char *out, const EVP_MD *md_type, in PKCS12_key_gen_uni_ex() argument 101 (char *)EVP_MD_get0_name(md_type), in PKCS12_key_gen_uni_ex() [all …]
|
H A D | p12_mutl.c | 82 const EVP_MD *md_type)) in pkcs12_gen_mac() argument 211 const EVP_MD *md_type) in PKCS12_set_mac() argument 217 if (md_type == NULL) in PKCS12_set_mac() 219 md_type = EVP_sha256(); in PKCS12_set_mac() 222 if (PKCS12_setup_mac(p12, iter, salt, saltlen, md_type) == PKCS12_ERROR) { in PKCS12_set_mac() 243 const EVP_MD *md_type) in PKCS12_setup_mac() argument 279 if (!X509_ALGOR_set0(macalg, OBJ_nid2obj(EVP_MD_get_type(md_type)), in PKCS12_setup_mac()
|
/freebsd/sys/sys/ |
H A D | memdesc.h | 59 uint32_t md_type; /* Type of memory. */ member 77 mem.md_type = MEMDESC_VADDR; in memdesc_vaddr() 89 mem.md_type = MEMDESC_PADDR; in memdesc_paddr() 101 mem.md_type = MEMDESC_VLIST; in memdesc_vlist() 113 mem.md_type = MEMDESC_PLIST; in memdesc_plist() 124 mem.md_type = MEMDESC_UIO; in memdesc_uio() 135 mem.md_type = MEMDESC_MBUF; in memdesc_mbuf() 147 mem.md_type = MEMDESC_VMPAGES; in memdesc_vmpages()
|
H A D | mdioctl.h | 52 enum md_types md_type ; /* type of disk */ member
|
/freebsd/sbin/mdconfig/ |
H A D | mdconfig.c | 155 mdio.md_type = MD_MALLOC; in main() 158 mdio.md_type = MD_VNODE; in main() 161 mdio.md_type = MD_SWAP; in main() 164 mdio.md_type = MD_NULL; in main() 289 mdio.md_type = MD_VNODE; in main() 293 mdio.md_type = MD_SWAP; in main() 299 if ((fflag != NULL || argc > 0) && mdio.md_type != MD_VNODE) in main() 302 if (mdio.md_type == MD_VNODE) { in main() 323 if ((mdio.md_type == MD_MALLOC || mdio.md_type == MD_SWAP || in main() 324 mdio.md_type == MD_NULL) && sflag == NULL) in main() [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-nsh.c | 93 u_int ver, length, md_type; in nsh_print() local 124 md_type = NSH_MD_TYPE(basehdr); in nsh_print() 138 ND_PRINT("md type %s, ", tok2str(md_str, "unknown (0x%02x)", md_type)); in nsh_print() 180 if (md_type == MD_TYPE1) { in nsh_print() 190 } else if (md_type == MD_TYPE2) { in nsh_print()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
H A D | pkcs12.h.in | 232 unsigned char *out, const EVP_MD *md_type); 235 unsigned char *out, const EVP_MD *md_type, 239 unsigned char *out, const EVP_MD *md_type); 242 unsigned char *out, const EVP_MD *md_type, 246 unsigned char *out, const EVP_MD *md_type); 249 unsigned char *out, const EVP_MD *md_type, 254 const EVP_MD *md_type, int en_de); 257 const EVP_MD *md_type, int en_de, 264 const EVP_MD *md_type); 266 int saltlen, const EVP_MD *md_type);
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | PKCS12_key_gen_utf8_ex.pod | 15 unsigned char *out, const EVP_MD *md_type); 18 unsigned char *out, const EVP_MD *md_type, 22 unsigned char *out, const EVP_MD *md_type); 25 unsigned char *out, const EVP_MD *md_type, 29 unsigned char *out, const EVP_MD *md_type); 32 unsigned char *out, const EVP_MD *md_type, 39 I<saltlen>, an iteration count I<iter> and a digest algorithm I<md_type>.
|
H A D | PKCS12_gen_mac.pod | 17 const EVP_MD *md_type); 19 int saltlen, const EVP_MD *md_type); 36 I<iter> is the iteration count and I<md_type> is the message digest
|
H A D | PKCS12_PBE_keyivgen.pod | 14 const EVP_MD *md_type, int en_de); 17 const EVP_MD *md_type, int en_de, 34 length I<passlen>, parameters I<param> and a message digest function I<md_type>
|
/freebsd/sys/kern/ |
H A D | subr_efi_map.c | 60 switch (p->md_type) { in handle_efi_map_entry() 138 if (p->md_type < nitems(types)) in print_efi_map_entry() 139 type = types[p->md_type]; in print_efi_map_entry()
|
H A D | kern_linker.c | 420 if ((*mdp)->md_type != MDT_MODULE) in linker_file_register_modules() 1630 if (mp->md_type != MDT_VERSION) in linker_addmodules() 1719 if (mp->md_type != MDT_DEPEND) in linker_preload() 1725 if (nmp->md_type != MDT_VERSION) in linker_preload() 1751 if (mp->md_type != MDT_VERSION) in linker_preload() 1804 if (mp->md_type != MDT_DEPEND) in linker_preload() 2338 if (mp->md_type != MDT_VERSION) in linker_load_dependencies() 2353 if (mp->md_type != MDT_DEPEND) in linker_load_dependencies() 2360 if (nmp->md_type != MDT_VERSION) in linker_load_dependencies()
|
/freebsd/crypto/openssl/providers/implementations/kdfs/ |
H A D | pkcs12kdf.c | 50 int id, uint64_t iter, const EVP_MD *md_type, in pkcs12kdf_derive() argument 65 vi = EVP_MD_get_block_size(md_type); in pkcs12kdf_derive() 66 ui = EVP_MD_get_size(md_type); in pkcs12kdf_derive() 95 if (!EVP_DigestInit_ex(ctx, md_type, NULL) in pkcs12kdf_derive() 101 if (!EVP_DigestInit_ex(ctx, md_type, NULL) in pkcs12kdf_derive()
|
H A D | pbkdf1.c | 52 uint64_t iter, const EVP_MD *md_type, in kdf_pbkdf1_do_derive() argument 66 if (!EVP_DigestInit_ex(ctx, md_type, NULL) in kdf_pbkdf1_do_derive() 71 mdsize = EVP_MD_size(md_type); in kdf_pbkdf1_do_derive() 80 if (!EVP_DigestInit_ex(ctx, md_type, NULL)) in kdf_pbkdf1_do_derive()
|
/freebsd/sys/geom/journal/ |
H A D | g_journal.h | 279 uint8_t md_type; /* Provider type. */ member 297 *(data + 24) = md->md_type; in journal_metadata_encode() 316 md->md_type = *(data + 24); in journal_metadata_decode_v0() 359 printf(" type: %u\n", (u_int)md->md_type); in journal_metadata_dump()
|
/freebsd/lib/geom/journal/ |
H A D | geom_journal.c | 258 md.md_type = GJ_TYPE_DATA; in journal_label() 260 md.md_type |= GJ_TYPE_JOURNAL; in journal_label() 264 md.md_type = GJ_TYPE_JOURNAL; in journal_label()
|
/freebsd/contrib/ldns/ |
H A D | dnssec_sign.c | 452 const EVP_MD *md_type; local 462 md_type = digest_type; 466 md_type = NULL; 471 md_type = NULL; 474 if(!md_type) { 492 if(md_type == NULL) { 494 r = EVP_DigestSignInit(ctx, NULL, md_type, NULL, key); 507 if(md_type != NULL) { 509 r = EVP_SignInit(ctx, md_type);
|
/freebsd/stand/common/ |
H A D | load_elf_obj.c | 388 int md_type; /* type of entry MDT_* */ member 423 md.md_type = md64.md_type; in __elfN() 433 switch(md.md_type) { in __elfN() 459 printf("unknown type %d\n", md.md_type); in __elfN()
|
H A D | modinfo.c | 96 COPY32(MODINFO_METADATA | mm->md_type, a, c);\ 150 if (!(md->md_type & MODINFOMD_NOCOPY)) { in md_copymodules()
|
H A D | load_elf.c | 974 int md_type; /* type of entry MDT_* */ member 982 int md_type; /* type of entry MDT_* */ member 1149 md.md_type = md64.md_type; 1161 md.md_type = md32.md_type; 1175 switch(md.md_type) {
|
/freebsd/usr.sbin/kldxref/ |
H A D | kldxref.c | 584 switch (md->md_type) { in parse_entry() 623 warnx("unknown metadata record %d in file %s", md->md_type, kldname); in parse_entry() 684 if (md.md_type == MDT_MODULE) { in read_kld() 702 if (md.md_type != MDT_MODULE) in read_kld()
|
/freebsd/contrib/netbsd-tests/dev/md/ |
H A D | h_mdserv.c | 75 md.md_type = MD_UMEM_SERVER; in main()
|
/freebsd/sys/dev/md/ |
H A D | md.c | 119 enum md_types md_type; /* type of disk */ member 136 enum md_types md_type; member 1689 switch (mdr->md_type) { in kern_mdattach_locked() 1706 sc = mdnew(-1, &error, mdr->md_type); in kern_mdattach_locked() 1710 sc = mdnew(mdr->md_unit, &error, mdr->md_type); in kern_mdattach_locked() 1848 mdr->md_type = sc->type; in kern_mdquery_locked() 1880 (mdr)->md_type = (mdio)->md_type; \ 1893 (mdio)->md_type = (mdr)->md_type; \
|
/freebsd/crypto/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 1022 int md_type; in PKCS7_signatureVerify() local 1042 md_type = OBJ_obj2nid(si->digest_alg->algorithm); in PKCS7_signatureVerify() 1056 if (EVP_MD_CTX_get_type(mdc) == md_type) in PKCS7_signatureVerify() 1062 if (EVP_MD_get_pkey_type(EVP_MD_CTX_get0_md(mdc)) == md_type) in PKCS7_signatureVerify() 1096 fetched_md = EVP_MD_fetch(libctx, OBJ_nid2sn(md_type), propq); in PKCS7_signatureVerify() 1101 md = EVP_get_digestbynid(md_type); in PKCS7_signatureVerify()
|