/freebsd-11-stable/crypto/openssl/crypto/ts/ |
H A D | ts_rsp_utils.c | 363 int TS_TST_INFO_get_ext_by_NID(TS_TST_INFO *a, int nid, int lastpos) argument 365 return X509v3_get_ext_by_NID(a->extensions, nid, lastpos); 393 void *TS_TST_INFO_get_ext_d2i(TS_TST_INFO *a, int nid, int *crit, int *idx) argument 395 return X509V3_get_d2i(a->extensions, nid, crit, idx);
|
/freebsd-11-stable/crypto/openssl/crypto/x509v3/ |
H A D | v3nametest.c | 82 int nid; local 84 nid = va_arg(ap, int); 85 if (nid == 0) 88 if (!X509_NAME_add_entry_by_NID(n, nid, MBSTRING_ASC, 104 int nid, int crit, ASN1_OCTET_STRING *data);
|
/freebsd-11-stable/crypto/openssl/apps/ |
H A D | s_cb.c | 454 int i, ncurves, *curves, nid; local 471 nid = curves[i]; 473 if (nid & TLSEXT_nid_unknown) 474 BIO_printf(out, "0x%04X", nid & 0xFFFF); 477 cname = EC_curve_nid2nist(nid); 479 cname = OBJ_nid2sn(nid); 495 nid = SSL_get_shared_curve(s, i); 496 cname = EC_curve_nid2nist(nid); 498 cname = OBJ_nid2sn(nid); 525 int nid; local 1486 int nid; local [all...] |
/freebsd-11-stable/crypto/openssh/ |
H A D | cipher-bf1.c | 96 ssh1_bf.nid = NID_undef;
|
/freebsd-11-stable/crypto/openssl/crypto/x509/ |
H A D | x509_v3.c | 75 int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, int nid, 80 obj = OBJ_nid2obj(nid); 185 X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex, int nid, argument 192 obj = OBJ_nid2obj(nid);
|
H A D | x509.h | 138 int nid; member in struct:X509_objects_st 810 X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid, int atrtype, void *value); 919 int X509_REQ_extension_nid(int nid); 924 int nid); 927 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos); 937 int nid, int type, 1011 int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len); 1019 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos); 1029 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, 1036 X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, 1054 int nid, int lastpos); variable 1112 int X509at_get_attr_by_NID(const STACK_OF(X509_ATTRIBUTE) *x, int nid, variable 1126 **x, int nid, int type, variable [all...] |
/freebsd-11-stable/crypto/openssl/engines/ccgost/ |
H A D | gost2001.c | 35 int fill_GOST2001_params(EC_KEY *eckey, int nid) argument 60 while (params->nid != NID_undef && params->nid != nid) 62 if (params->nid == NID_undef) { 96 (params - R3410_2001_paramset), OBJ_nid2sn(params->nid)); 105 EC_GROUP_set_curve_name(grp, params->nid);
|
H A D | gost_crypt.c | 141 int nid; local 148 nid = OBJ_txt2nid(params); 149 if (nid == NID_undef) { 155 nid = OBJ_obj2nid(obj); 157 for (param = gost_cipher_list; param->sblock != NULL && param->nid != nid; 167 static int gost_cipher_set_param(struct ossl_gost_cipher_ctx *c, int nid) argument 171 get_encryption_params((nid == NID_undef ? NULL : OBJ_nid2obj(nid))); 175 c->paramNID = param->nid; [all...] |
H A D | gost_sign.c | 256 * by nid of paramset 259 int fill_GOST94_params(DSA *dsa, int nid) argument 262 while (params->nid != NID_undef && params->nid != nid) 264 if (params->nid == NID_undef) {
|
H A D | gost_pmeth.c | 174 for (; p->nid != NID_undef; p++) { 175 if (p->nid == param_nid) 178 if (p->nid == NID_undef) { 235 for (; p->nid != NID_undef; p++) { 236 if (p->nid == param_nid) 239 if (p->nid == NID_undef) {
|
/freebsd-11-stable/crypto/openssl/crypto/ec/ |
H A D | eck_prn.c | 173 int nid; local 179 nid = EC_GROUP_get_curve_name(x); 180 if (nid == 0) 183 if (BIO_printf(bp, "ASN1 OID: %s", OBJ_nid2sn(nid)) <= 0) 187 nname = EC_curve_nid2nist(nid);
|
H A D | ec.h | 268 * \param nid NID of the curve name OID 270 void EC_GROUP_set_curve_name(EC_GROUP *group, int nid); 390 * \param nid NID of the OID of the curve name 394 EC_GROUP *EC_GROUP_new_by_curve_name(int nid); 401 int nid; member in struct:__anon3804 413 const char *EC_curve_nid2nist(int nid); 764 * \param nid NID of the named curve. 767 EC_KEY *EC_KEY_new_by_curve_name(int nid); 997 # define EVP_PKEY_CTX_set_ec_paramgen_curve_nid(ctx, nid) \ 1000 EVP_PKEY_CTRL_EC_PARAMGEN_CURVE_NID, nid, NUL [all...] |
/freebsd-11-stable/crypto/openssl/crypto/engine/ |
H A D | eng_cryptodev.c | 100 const int **nids, int nid); 102 const int **nids, int nid); 142 int nid; member in struct:__anon4566 192 int nid; member in struct:__anon4567 301 if (ciphers[i].nid == NID_undef) 308 nids[count++] = ciphers[i].nid; 339 if (digests[i].nid == NID_undef) 346 nids[count++] = digests[i].nid; 470 if (ctx->cipher->nid == ciphers[i].nid 691 cryptodev_engine_ciphers(ENGINE *e, const EVP_CIPHER **cipher, const int **nids, int nid) argument 743 digest_nid_to_cryptodev(int nid) argument 753 digest_key_length(int nid) argument 987 cryptodev_engine_digests(ENGINE *e, const EVP_MD **digest, const int **nids, int nid) argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 67 static int add_attribute(STACK_OF(X509_ATTRIBUTE) **sk, int nid, int atrtype, 69 static ASN1_TYPE *get_attribute(STACK_OF(X509_ATTRIBUTE) *sk, int nid); 75 int nid = OBJ_obj2nid(p7->type); local 77 switch (nid) { 701 static BIO *PKCS7_find_digest(EVP_MD_CTX **pmd, BIO *bio, int nid) argument 715 if (EVP_MD_CTX_type(*pmd) == nid) 1175 ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si, int nid) argument 1177 return (get_attribute(si->auth_attr, nid)); 1180 ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si, int nid) argument 1182 return (get_attribute(si->unauth_attr, nid)); 1254 PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, void *value) argument 1260 PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, void *value) argument [all...] |
H A D | pk7_smime.c | 141 static int add_cipher_smcap(STACK_OF(X509_ALGOR) *sk, int nid, int arg) 143 if (EVP_get_cipherbynid(nid)) 144 return PKCS7_simple_smimecap(sk, nid, arg); 148 static int add_digest_smcap(STACK_OF(X509_ALGOR) *sk, int nid, int arg) 150 if (EVP_get_digestbynid(nid)) 151 return PKCS7_simple_smimecap(sk, nid, arg);
|
H A D | pkcs7.h | 300 int PKCS7_content_new(PKCS7 *p7, int nid); 327 int PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int type, 329 int PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, 331 ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si, int nid); 332 ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si, int nid); 358 int PKCS7_simple_smimecap(STACK_OF(X509_ALGOR) *sk, int nid, int arg); variable
|
H A D | pk7_lib.c | 67 int nid; local 70 nid = OBJ_obj2nid(p7->type); 75 if (nid == NID_pkcs7_signed) { 90 if (nid == NID_pkcs7_signed) { 238 int i, j, nid; local 258 nid = OBJ_obj2nid(psi->digest_alg->algorithm); 264 if (OBJ_obj2nid(alg->algorithm) == nid) { 276 alg->algorithm = OBJ_nid2obj(nid);
|
/freebsd-11-stable/sys/fs/fuse/ |
H A D | fuse_ipc.c | 100 uint64_t nid, 721 uint64_t nid, 729 ihead->nodeid = nid; 732 debug_printf("ihead=%p, ftick=%p, nid=%ju, op=%d, blen=%zu\n", 733 ihead, ftick, (uintmax_t)nid, op, blen); 771 uint64_t nid, 777 debug_printf("fdip=%p, op=%d, mp=%p, nid=%ju\n", 778 fdip, op, mp, (uintmax_t)nid); 789 fuse_setup_ihead(fdip->finh, fdip->tick, nid, op, fdip->iosize, pid, cred); 796 uint64_t nid, 719 fuse_setup_ihead(struct fuse_in_header *ihead, struct fuse_ticket *ftick, uint64_t nid, enum fuse_opcode op, size_t blen, pid_t pid, struct ucred *cred) argument 768 fdisp_make_pid(struct fuse_dispatcher *fdip, enum fuse_opcode op, struct mount *mp, uint64_t nid, pid_t pid, struct ucred *cred) argument 793 fdisp_make(struct fuse_dispatcher *fdip, enum fuse_opcode op, struct mount *mp, uint64_t nid, struct thread *td, struct ucred *cred) argument [all...] |
H A D | fuse_vnops.c | 334 uint64_t parentnid = VTOFUD(dvp)->nid; 352 debug_printf("parent nid = %ju, mode = %x\n", (uintmax_t)parentnid, 677 uint64_t nid; local 710 nid = VTOFUD(dvp)->parent_nid; 711 if (nid == 0) { 718 nid = VTOI(dvp); 740 nid = VTOI(dvp); 745 fdisp_make(&fdi, op, mp, nid, td, cred); 754 nid = ((struct fuse_entry_out *)fdi.answ)->nodeid; 755 if (!nid) { 1011 nid, 1); local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/objects/ |
H A D | objects.pl | 17 if (defined($nid{$Cname})) 18 { die "$ARGV[1]:$o:There's already an object with name ",$Cname," on line ",$order{$nid{$Cname}},"\n"; } 19 $nid{$Cname} = $mynum; 102 if (!defined($nid{$Cname})) 105 $nid{$Cname} = $max_nid; 207 print OUT expand("#define NID_$Cname\t\t$nid{$Cname}\n") if $nid{$Cname} ne "";
|
/freebsd-11-stable/crypto/openssl/crypto/asn1/ |
H A D | x_crl.c | 256 int nid; 259 nid = OBJ_obj2nid(ext->object); 260 if (nid == NID_freshest_crl) 264 if ((nid == NID_issuing_distribution_point) 265 || (nid == NID_authority_key_identifier) 266 || (nid == NID_delta_crl))
|
H A D | a_object.c | 368 ret->nid = 0; 400 ASN1_OBJECT *ASN1_OBJECT_create(int nid, unsigned char *data, int len, argument 408 o.nid = nid;
|
/freebsd-11-stable/crypto/openssl/crypto/ecdh/ |
H A D | ecdhtest.c | 123 static int test_ecdh_curve(int nid, const char *text, BN_CTX *ctx, BIO *out) argument 133 a = EC_KEY_new_by_curve_name(nid); 134 b = EC_KEY_new_by_curve_name(nid); 385 static EC_KEY *mk_eckey(int nid, const unsigned char *p, size_t plen) argument 392 k = EC_KEY_new_by_curve_name(nid); 426 static int ecdh_kat(BIO *out, const char *cname, int nid, argument 437 key1 = mk_eckey(nid, k1, k1_len); 438 key2 = mk_eckey(nid, k2, k2_len);
|
/freebsd-11-stable/sys/dev/sound/pci/hda/ |
H A D | hdacc.c | 48 nid_t nid; member in struct:hdacc_fg 479 "Root Node at nid=0: %d subnodes %d-%d\n", 487 codec->fgs[n].nid = i; 525 snprintf(buf, buflen, "nid=%d", fg->nid); 547 retval += printf(" at nid %d", fg->nid); 559 device_printf(child, "<%s %s Function Group> at nid %d on %s " 564 "Unknown"), fg->nid, device_get_nameunit(dev)); 570 device_printf(dev, "Power down FG nid [all...] |
/freebsd-11-stable/tools/tools/bus_autoconf/ |
H A D | bus_usb.c | 152 usb_sort_entries(struct usb_device_id *id, uint32_t nid) argument 154 qsort(id, nid, sizeof(*id), &usb_compare); 251 usb_dump(struct usb_device_id *id, uint32_t nid) argument 274 while (n < nid) {
|