Searched refs:md_type (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-12-stable/sys/sys/
H A Dmemdesc.h55 uint32_t md_type; /* Type of memory. */ member in struct:memdesc
74 mem.md_type = MEMDESC_VADDR;
86 mem.md_type = MEMDESC_PADDR;
98 mem.md_type = MEMDESC_VLIST;
110 mem.md_type = MEMDESC_PLIST;
121 mem.md_type = MEMDESC_BIO;
132 mem.md_type = MEMDESC_UIO;
143 mem.md_type = MEMDESC_MBUF;
154 mem.md_type = MEMDESC_CCB;
H A Dmdioctl.h58 enum md_types md_type ; /* type of disk */ member in struct:md_ioctl
H A Defi.h58 uint32_t md_type; member in struct:efi_md
H A Dmodule.h93 int md_type; /* type of entry MDT_* */ member in struct:mod_metadata
/freebsd-12-stable/crypto/openssl/crypto/pkcs12/
H A Dp12_mutl.c76 const EVP_MD *md_type))
79 const EVP_MD *md_type; local
104 if ((md_type = EVP_get_digestbyobj(macoid)) == NULL) {
108 md_size = EVP_MD_size(md_type);
109 md_type_nid = EVP_MD_type(md_type);
118 md_size, key, md_type)) {
124 iter, md_size, key, md_type)) {
129 || !HMAC_Init_ex(hmac, key, md_size, md_type, NULL)
177 const EVP_MD *md_type)
183 if (!md_type)
70 pkcs12_gen_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *mac, unsigned int *maclen, int (*pkcs12_key_gen)(const char *pass, int passlen, unsigned char *salt, int slen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type)) argument
175 PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *salt, int saltlen, int iter, const EVP_MD *md_type) argument
206 PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen, const EVP_MD *md_type) argument
[all...]
H A Dp12_key.c32 unsigned char *out, const EVP_MD *md_type)
46 id, iter, n, out, md_type);
55 unsigned char *out, const EVP_MD *md_type)
69 id, iter, n, out, md_type);
78 unsigned char *out, const EVP_MD *md_type)
102 v = EVP_MD_block_size(md_type);
103 u = EVP_MD_size(md_type);
126 if (!EVP_DigestInit_ex(ctx, md_type, NULL)
132 if (!EVP_DigestInit_ex(ctx, md_type, NULL)
30 PKCS12_key_gen_asc(const char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type) argument
53 PKCS12_key_gen_utf8(const char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type) argument
76 PKCS12_key_gen_uni(unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type) argument
H A Dp12_crpt.c32 const EVP_MD *md_type);
/freebsd-12-stable/contrib/tcpdump/
H A Dprint-nsh.c55 uint8_t md_type; local
76 md_type = *bp;
92 ND_PRINT((ndo, "md type 0x%x, ", md_type));
118 if (md_type == 0x01) {
125 else if (md_type == 0x02) {
/freebsd-12-stable/crypto/openssl/include/openssl/
H A Dpkcs12.h162 unsigned char *out, const EVP_MD *md_type);
165 unsigned char *out, const EVP_MD *md_type);
168 unsigned char *out, const EVP_MD *md_type);
171 const EVP_MD *md_type, int en_de);
177 const EVP_MD *md_type);
179 int saltlen, const EVP_MD *md_type);
/freebsd-12-stable/sbin/mdconfig/
H A Dmdconfig.c154 mdio.md_type = MD_MALLOC;
157 mdio.md_type = MD_VNODE;
160 mdio.md_type = MD_SWAP;
163 mdio.md_type = MD_NULL;
271 mdio.md_type = MD_VNODE;
276 mdio.md_type = MD_SWAP;
283 if ((fflag != NULL || argc > 0) && mdio.md_type != MD_VNODE)
286 if (mdio.md_type == MD_VNODE) {
307 if ((mdio.md_type == MD_MALLOC || mdio.md_type
[all...]
/freebsd-12-stable/contrib/netbsd-tests/dev/md/
H A Dh_mdserv.c75 md.md_type = MD_UMEM_SERVER;
/freebsd-12-stable/sys/geom/journal/
H A Dg_journal.h299 uint8_t md_type; /* Provider type. */ member in struct:g_journal_metadata
317 *(data + 24) = md->md_type;
336 md->md_type = *(data + 24);
379 printf(" type: %u\n", (u_int)md->md_type);
H A Dg_journal.c676 md.md_type = sc->sc_orig_type;
2220 else if (sc != NULL && (sc->sc_type & md->md_type) != 0) {
2224 if (md->md_type == 0 || (md->md_type & ~GJ_TYPE_COMPLETE) != 0) {
2228 if (md->md_type & GJ_TYPE_DATA) {
2232 if (md->md_type & GJ_TYPE_JOURNAL) {
2273 if (md->md_type != GJ_TYPE_COMPLETE) {
2286 if (md->md_type & GJ_TYPE_DATA)
2287 sc->sc_orig_type = md->md_type;
2288 sc->sc_type |= md->md_type;
[all...]
/freebsd-12-stable/lib/geom/journal/
H A Dgeom_journal.c261 md.md_type = GJ_TYPE_DATA;
263 md.md_type |= GJ_TYPE_JOURNAL;
267 md.md_type = GJ_TYPE_JOURNAL;
/freebsd-12-stable/stand/i386/libi386/
H A Dbootinfo32.c93 COPY32(MODINFO_METADATA | mm->md_type, a, c); \
123 if (!(md->md_type & MODINFOMD_NOCOPY))
H A Dbootinfo64.c94 COPY32(MODINFO_METADATA | mm->md_type, a, c); \
127 if (!(md->md_type & MODINFOMD_NOCOPY))
/freebsd-12-stable/stand/userboot/userboot/
H A Dbootinfo32.c92 COPY32(MODINFO_METADATA | mm->md_type, a, c); \
122 if (!(md->md_type & MODINFOMD_NOCOPY))
H A Dbootinfo64.c89 COPY32(MODINFO_METADATA | mm->md_type, a, c); \
122 if (!(md->md_type & MODINFOMD_NOCOPY))
/freebsd-12-stable/stand/common/
H A Dload_elf_obj.c391 int md_type; /* type of entry MDT_* */ member in struct:mod_metadata64
426 md.md_type = md64.md_type;
436 switch(md.md_type) {
462 printf("unknown type %d\n", md.md_type);
H A Dload_elf.c931 int md_type; /* type of entry MDT_* */ member in struct:mod_metadata64
939 int md_type; /* type of entry MDT_* */ member in struct:mod_metadata32
1106 md.md_type = md64.md_type;
1118 md.md_type = md32.md_type;
1132 switch(md.md_type) {
H A Dmetadata.c199 COPY32(MODINFO_METADATA | mm->md_type, a, c);\
242 if (!(md->md_type & MODINFOMD_NOCOPY)) {
/freebsd-12-stable/sys/arm/arm/
H A Dmachdep_boot.c458 if (p->md_type < nitems(types))
459 type = types[p->md_type];
491 switch (p->md_type) {
/freebsd-12-stable/usr.sbin/kldxref/
H A Dkldxref.c397 switch (md->md_type) {
540 warnx("unknown metadata record %d in file %s", md->md_type, kldname);
601 if (md.md_type == MDT_MODULE) {
619 if (md.md_type != MDT_MODULE)
/freebsd-12-stable/sys/kern/
H A Dkern_linker.c387 if ((*mdp)->md_type != MDT_MODULE)
1465 if (mp->md_type != MDT_VERSION)
1554 if (mp->md_type != MDT_DEPEND)
1560 if (nmp->md_type != MDT_VERSION)
1586 if (mp->md_type != MDT_VERSION)
1642 if (mp->md_type != MDT_DEPEND)
2150 if (mp->md_type != MDT_VERSION)
2165 if (mp->md_type != MDT_DEPEND)
2172 if (nmp->md_type != MDT_VERSION)
/freebsd-12-stable/crypto/openssl/crypto/pkcs7/
H A Dpk7_doit.c945 int md_type; local
961 md_type = OBJ_obj2nid(si->digest_alg->algorithm);
976 if (EVP_MD_CTX_type(mdc) == md_type)
982 if (EVP_MD_pkey_type(EVP_MD_CTX_md(mdc)) == md_type)
1016 if (!EVP_VerifyInit_ex(mdc_tmp, EVP_get_digestbynid(md_type), NULL))

Completed in 384 milliseconds

12