Home
last modified time | relevance | path

Searched refs:md_type (Results 1 – 25 of 46) 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.c82 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 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.c95 u_int ver, length, md_type; in nsh_print() local
126 md_type = NSH_MD_TYPE(basehdr); in nsh_print()
140 ND_PRINT("md type %s, ", tok2str(md_str, "unknown (0x%02x)", md_type)); in nsh_print()
182 if (md_type == MD_TYPE1) { in nsh_print()
193 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.h255 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 Dpkcs12.h.in232 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 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.pod17 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 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/crypto/openssl/providers/implementations/kdfs/
H A Dpkcs12kdf.c50 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 Dpbkdf1.c52 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 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/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/sys/arm64/arm64/
H A Dmachdep.c505 switch (p->md_type) { in handle_efi_map_entry()
583 if (p->md_type < nitems(types)) in print_efi_map_entry()
584 type = types[p->md_type]; in print_efi_map_entry()
873 if (p->md_type == EFI_MD_TYPE_IOMEM || in memory_mapping_mode()
874 p->md_type == EFI_MD_TYPE_IOPORT) in memory_mapping_mode()
877 p->md_type == EFI_MD_TYPE_RECLAIM) in memory_mapping_mode()
/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.c390 int md_type; /* type of entry MDT_* */ member
425 md.md_type = md64.md_type; in __elfN()
435 switch(md.md_type) { in __elfN()
461 printf("unknown type %d\n", md.md_type); in __elfN()
H A Dmodinfo.c96 COPY32(MODINFO_METADATA | mm->md_type, a, c);\
145 if (!(md->md_type & MODINFOMD_NOCOPY)) { in md_copymodules()
H A Dload_elf.c976 int md_type; /* type of entry MDT_* */ member
984 int md_type; /* type of entry MDT_* */ member
1151 md.md_type = md64.md_type;
1163 md.md_type = md32.md_type;
1177 switch(md.md_type) {
/freebsd/sys/arm/arm/
H A Dmachdep_boot.c437 if (p->md_type < nitems(types)) in arm_add_efi_map_entries()
438 type = types[p->md_type]; in arm_add_efi_map_entries()
470 switch (p->md_type) { in arm_add_efi_map_entries()
/freebsd/stand/kboot/kboot/arch/aarch64/
H A Dload_addr.c74 if (p->md_type < nitems(types)) in print_efi_map_entry()
75 type = types[p->md_type]; in print_efi_map_entry()
/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/sys/dev/md/
H A Dmd.c119 enum md_types md_type; /* type of disk */ member
136 enum md_types md_type; member
1681 switch (mdr->md_type) { in kern_mdattach_locked()
1698 sc = mdnew(-1, &error, mdr->md_type); in kern_mdattach_locked()
1702 sc = mdnew(mdr->md_unit, &error, mdr->md_type); in kern_mdattach_locked()
1844 mdr->md_type = sc->type; in kern_mdquery_locked()
1876 (mdr)->md_type = (mdio)->md_type; \
1889 (mdio)->md_type = (mdr)->md_type; \

12