Home
last modified time | relevance | path

Searched refs:md_type (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/crypto/openssl/crypto/pkcs12/
H A Dp12_key.c21 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 Dp12_mutl.c29 const EVP_MD *md_type);
178 const EVP_MD *md_type)) in pkcs12_gen_mac() argument
361 const EVP_MD *md_type) in PKCS12_set_mac() argument
367 if (md_type == NULL) in PKCS12_set_mac()
369 md_type = EVP_sha256(); in PKCS12_set_mac()
372 if (PKCS12_setup_mac(p12, iter, salt, saltlen, md_type) == PKCS12_ERROR) { in PKCS12_set_mac()
395 const EVP_MD *md_type) in pkcs12_pbmac1_pbkdf2_key_gen() argument
398 md_type, keylen, out); in pkcs12_pbmac1_pbkdf2_key_gen()
447 const EVP_MD *md_type) in PKCS12_setup_mac() argument
449 return pkcs12_setup_mac(p12, iter, salt, saltlen, EVP_MD_get_type(md_type)); in PKCS12_setup_mac()
[all …]
/freebsd/sys/sys/
H A Dmemdesc.h59 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 Dmdioctl.h52 enum md_types md_type ; /* type of disk */ member
/freebsd/contrib/tcpdump/
H A Dprint-nsh.c93 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/sbin/mdconfig/
H A Dmdconfig.c155 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/crypto/openssl/include/openssl/
H A Dpkcs12.h266 unsigned char *out, const EVP_MD *md_type);
269 unsigned char *out, const EVP_MD *md_type,
273 unsigned char *out, const EVP_MD *md_type);
276 unsigned char *out, const EVP_MD *md_type,
280 unsigned char *out, const EVP_MD *md_type);
283 unsigned char *out, const EVP_MD *md_type,
288 const EVP_MD *md_type, int en_de);
291 const EVP_MD *md_type, int en_de,
298 const EVP_MD *md_type);
301 const EVP_MD *md_type, const char *prf_md_name);
[all …]
H A Dpkcs12.h.in243 unsigned char *out, const EVP_MD *md_type);
246 unsigned char *out, const EVP_MD *md_type,
250 unsigned char *out, const EVP_MD *md_type);
253 unsigned char *out, const EVP_MD *md_type,
257 unsigned char *out, const EVP_MD *md_type);
260 unsigned char *out, const EVP_MD *md_type,
265 const EVP_MD *md_type, int en_de);
268 const EVP_MD *md_type, int en_de,
275 const EVP_MD *md_type);
278 const EVP_MD *md_type, const char *prf_md_name);
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DPKCS12_key_gen_utf8_ex.pod15 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 DPKCS12_gen_mac.pod18 const EVP_MD *md_type);
21 const EVP_MD *md_type,
24 int saltlen, const EVP_MD *md_type);
49 I<iter> is the iteration count and I<md_type> is the message digest function to
H A DPKCS12_PBE_keyivgen.pod14 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 Dsubr_efi_map.c60 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 Dkern_linker.c421 if ((*mdp)->md_type != MDT_MODULE) in linker_file_register_modules()
1632 if (mp->md_type != MDT_VERSION) in linker_addmodules()
1721 if (mp->md_type != MDT_DEPEND) in linker_preload()
1727 if (nmp->md_type != MDT_VERSION) in linker_preload()
1753 if (mp->md_type != MDT_VERSION) in linker_preload()
1806 if (mp->md_type != MDT_DEPEND) in linker_preload()
2340 if (mp->md_type != MDT_VERSION) in linker_load_dependencies()
2355 if (mp->md_type != MDT_DEPEND) in linker_load_dependencies()
2362 if (nmp->md_type != MDT_VERSION) in linker_load_dependencies()
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dpkcs12kdf.c51 int id, uint64_t iter, const EVP_MD *md_type, in pkcs12kdf_derive() argument
66 vi = EVP_MD_get_block_size(md_type); in pkcs12kdf_derive()
67 ui = EVP_MD_get_size(md_type); in pkcs12kdf_derive()
94 if (!EVP_DigestInit_ex(ctx, md_type, NULL) in pkcs12kdf_derive()
100 if (!EVP_DigestInit_ex(ctx, md_type, NULL) in pkcs12kdf_derive()
H A Dpbkdf1.c53 uint64_t iter, const EVP_MD *md_type, in kdf_pbkdf1_do_derive() argument
67 if (!EVP_DigestInit_ex(ctx, md_type, NULL) in kdf_pbkdf1_do_derive()
72 mdsize = EVP_MD_size(md_type); in kdf_pbkdf1_do_derive()
81 if (!EVP_DigestInit_ex(ctx, md_type, NULL)) in kdf_pbkdf1_do_derive()
/freebsd/sys/geom/journal/
H A Dg_journal.h279 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/stand/kboot/libkboot/
H A Defi.c76 if (!file2u32(fn, &m->md_type))
206 if (p->md_type < nitems(types)) in print_efi_map_entry()
207 type = types[p->md_type]; in print_efi_map_entry()
/freebsd/lib/geom/journal/
H A Dgeom_journal.c258 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 Ddnssec_sign.c452 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 Dload_elf_obj.c382 int md_type; /* type of entry MDT_* */ member
417 md.md_type = md64.md_type; in __elfN()
427 switch(md.md_type) { in __elfN()
453 printf("unknown type %d\n", md.md_type); in __elfN()
H A Dmodinfo.c96 COPY32(MODINFO_METADATA | mm->md_type, a, c);\
150 if (!(md->md_type & MODINFOMD_NOCOPY)) { in md_copymodules()
H A Dload_elf.c969 int md_type; /* type of entry MDT_* */ member
977 int md_type; /* type of entry MDT_* */ member
1144 md.md_type = md64.md_type;
1156 md.md_type = md32.md_type;
1170 switch(md.md_type) {
/freebsd/usr.sbin/kldxref/
H A Dkldxref.c584 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 Dh_mdserv.c75 md.md_type = MD_UMEM_SERVER; in main()
/freebsd/crypto/openssl/crypto/pkcs7/
H A Dpk7_doit.c1071 int md_type; in PKCS7_signatureVerify() local
1091 md_type = OBJ_obj2nid(si->digest_alg->algorithm); in PKCS7_signatureVerify()
1104 if (EVP_MD_CTX_get_type(mdc) == md_type) in PKCS7_signatureVerify()
1110 if (EVP_MD_get_pkey_type(EVP_MD_CTX_get0_md(mdc)) == md_type) in PKCS7_signatureVerify()
1143 fetched_md = EVP_MD_fetch(libctx, OBJ_nid2sn(md_type), propq); in PKCS7_signatureVerify()
1148 md = EVP_get_digestbynid(md_type); in PKCS7_signatureVerify()

12