/freebsd-10.1-release/usr.sbin/nfsuserd/ |
H A D | nfsuserd.c | 103 struct nfsd_idargs nid; local 145 nid.nid_usermax = DEFUSERMAX; 146 nid.nid_usertimeout = defusertimeout; 175 nid.nid_usermax = i; 188 nid.nid_usertimeout = defusertimeout = i * 60; 239 dnsname, nid.nid_usermax, nid.nid_usertimeout); 290 nid.nid_uid = pwd->pw_uid; 292 nid.nid_uid = defaultuid; 295 nid 440 struct nfsd_idargs nid; local [all...] |
/freebsd-10.1-release/sys/dev/sound/pci/hda/ |
H A D | hda_reg.h | 49 #define HDA_CMD_4BIT(cad, nid, verb, payload) \ 51 ((nid) << HDA_CMD_NID_SHIFT) | \ 56 #define HDA_CMD_12BIT(cad, nid, verb, payload) \ 58 ((nid) << HDA_CMD_NID_SHIFT) | \ 64 #define HDA_CMD_GET_PARAMETER(cad, nid, payload) \ 65 (HDA_CMD_12BIT((cad), (nid), \ 72 #define HDA_CMD_GET_CONN_SELECT_CONTROL(cad, nid) \ 73 (HDA_CMD_12BIT((cad), (nid), \ 75 #define HDA_CMD_SET_CONNECTION_SELECT_CONTROL(cad, nid, payload) \ 76 (HDA_CMD_12BIT((cad), (nid), \ [all...] |
H A D | hdaa_patches.c | 152 nid_t nid = w->nid; local 163 switch (nid) { 181 switch (nid) { 206 switch (nid) { 222 switch (nid) { 242 switch (nid) { 251 switch (nid) { 277 switch (nid) { 290 switch (nid) { [all...] |
/freebsd-10.1-release/crypto/openssl/engines/ccgost/ |
H A D | gost_params.h | 14 int nid; member in struct:R3410 23 int nid; member in struct:R3410_2001
|
H A D | gost_eng.c | 25 const int **nids, int nid); 31 const int **nids, int nid); 34 const int **nids, int nid); 165 const int **nids, int nid) 173 * printf("Digest no %d requested\n",nid); 175 if (nid == NID_id_GostR3411_94) { 177 } else if (nid == NID_id_Gost28147_89_MAC) { 187 const int **nids, int nid) 195 if (nid == NID_id_Gost28147_89) { 197 } else if (nid 164 gost_digests(ENGINE *e, const EVP_MD **digest, const int **nids, int nid) argument 186 gost_ciphers(ENGINE *e, const EVP_CIPHER **cipher, const int **nids, int nid) argument 206 gost_pkey_meths(ENGINE *e, EVP_PKEY_METHOD **pmeth, const int **nids, int nid) argument 231 gost_pkey_asn1_meths(ENGINE *e, EVP_PKEY_ASN1_METHOD **ameth, const int **nids, int nid) argument [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/x509/ |
H A D | x509_ext.c | 73 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos) argument 75 return (X509v3_get_ext_by_NID(x->crl->extensions, nid, lastpos)); 98 void *X509_CRL_get_ext_d2i(X509_CRL *x, int nid, int *crit, int *idx) argument 100 return X509V3_get_d2i(x->crl->extensions, nid, crit, idx); 103 int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit, argument 106 return X509V3_add1_i2d(&x->crl->extensions, nid, value, crit, flags); 119 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos) argument 121 return (X509v3_get_ext_by_NID(x->cert_info->extensions, nid, lastpos)); 150 void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx) argument 152 return X509V3_get_d2i(x->cert_info->extensions, nid, cri 155 X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit, unsigned long flags) argument 167 X509_REVOKED_get_ext_by_NID(X509_REVOKED *x, int nid, int lastpos) argument 198 X509_REVOKED_get_ext_d2i(X509_REVOKED *x, int nid, int *crit, int *idx) argument 203 X509_REVOKED_add1_ext_i2d(X509_REVOKED *x, int nid, void *value, int crit, unsigned long flags) argument [all...] |
H A D | x509_req.c | 170 int i, nid; local 172 nid = ext_nids[i]; 173 if (nid == NID_undef) 175 else if (req_nid == nid) 224 int nid) 245 attr->object = OBJ_nid2obj(nid); 272 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos) argument 274 return X509at_get_attr_by_NID(req->req_info->attributes, nid, lastpos); 311 int nid, int type, 314 if (X509at_add1_attr_by_NID(&req->req_info->attributes, nid, 223 X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts, int nid) argument 310 X509_REQ_add1_attr_by_NID(X509_REQ *req, int nid, int type, const unsigned char *bytes, int len) argument [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/engine/ |
H A D | eng_table.c | 62 /* The 'nid' of this algorithm/mode */ 63 int nid; member in struct:st_engine_pile 103 return c->nid; 108 return a->nid - b->nid; 147 tmplate.nid = *nids; 154 fnd->nid = *nids; 239 /* return a functional reference for a given 'nid' */ 241 ENGINE *engine_table_select(ENGINE_TABLE **table, int nid) argument 243 ENGINE *engine_table_select_tmp(ENGINE_TABLE **table, int nid, cons [all...] |
H A D | tb_cipher.c | 60 * display brief debugging summaries to stderr with the 'nid'. 113 * references) for a given cipher 'nid' 115 ENGINE *ENGINE_get_cipher_engine(int nid) argument 117 return engine_table_select(&cipher_table, nid); 121 const EVP_CIPHER *ENGINE_get_cipher(ENGINE *e, int nid) argument 125 if (!fn || !fn(e, &ret, NULL, nid)) {
|
H A D | tb_digest.c | 60 * display brief debugging summaries to stderr with the 'nid'. 113 * references) for a given digest 'nid' 115 ENGINE *ENGINE_get_digest_engine(int nid) argument 117 return engine_table_select(&digest_table, nid); 121 const EVP_MD *ENGINE_get_digest(ENGINE *e, int nid) argument 125 if (!fn || !fn(e, &ret, NULL, nid)) {
|
H A D | tb_pkmeth.c | 61 * will display brief debugging summaries to stderr with the 'nid'. 114 * references) for a given pkey_meth 'nid' 116 ENGINE *ENGINE_get_pkey_meth_engine(int nid) argument 118 return engine_table_select(&pkey_meth_table, nid); 122 const EVP_PKEY_METHOD *ENGINE_get_pkey_meth(ENGINE *e, int nid) argument 126 if (!fn || !fn(e, &ret, NULL, nid)) {
|
H A D | tb_asnmth.c | 63 * 'nid'. 116 * references) for a given pkey_asn1_meth 'nid' 118 ENGINE *ENGINE_get_pkey_asn1_meth_engine(int nid) argument 120 return engine_table_select(&pkey_asn1_meth_table, nid); 127 const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth(ENGINE *e, int nid) argument 131 if (!fn || !fn(e, &ret, NULL, nid)) { 208 static void look_str_cb(int nid, STACK_OF(ENGINE) *sk, ENGINE *def, void *arg) argument 217 e->pkey_asn1_meths(e, &ameth, NULL, nid);
|
H A D | eng_openssl.c | 116 const int **nids, int nid); 120 const int **nids, int nid); 294 const int **nids, int nid) 302 if (nid == NID_rc4) 304 else if (nid == NID_rc4_40) 309 "nid %d\n", nid); 364 const int **nids, int nid) 372 if (nid == NID_sha1) 377 "nid 293 openssl_ciphers(ENGINE *e, const EVP_CIPHER **cipher, const int **nids, int nid) argument 363 openssl_digests(ENGINE *e, const EVP_MD **digest, const int **nids, int nid) argument [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/x509v3/ |
H A D | v3_lib.c | 98 const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid) argument 103 if (nid < 0) 105 tmp.ext_nid = nid; 119 int nid; local 120 if ((nid = OBJ_obj2nid(ext->object)) == NID_undef) 122 return X509V3_EXT_get_nid(nid); 209 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, 229 if (OBJ_obj2nid(ex->object) == nid) { 264 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, 277 extidx = X509v3_get_ext_by_NID(*x, nid, [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/asn1/ |
H A D | a_strnid.c | 131 int inform, int nid) 139 tbl = ASN1_STRING_TABLE_get(nid); 201 return (*a)->nid - (*b)->nid; 208 return a->nid - b->nid; 213 ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid) argument 218 fnd.nid = nid; 232 int ASN1_STRING_TABLE_add(int nid, argument 129 ASN1_STRING_set_by_NID(ASN1_STRING **out, const unsigned char *in, int inlen, int inform, int nid) argument [all...] |
H A D | asn_moid.c | 111 int nid; local 127 nid = OBJ_create(ostr, name, ln); 129 if (nid == NID_undef) 148 oid = OBJ_nid2obj(nid);
|
H A D | x_attrib.c | 100 X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid, int atrtype, void *value) 107 ret->object = OBJ_nid2obj(nid);
|
/freebsd-10.1-release/crypto/openssl/crypto/ocsp/ |
H A D | ocsp_ext.c | 84 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos) argument 87 (x->tbsRequest->requestExtensions, nid, lastpos)); 113 void *OCSP_REQUEST_get1_ext_d2i(OCSP_REQUEST *x, int nid, int *crit, int *idx) argument 115 return X509V3_get_d2i(x->tbsRequest->requestExtensions, nid, crit, idx); 118 int OCSP_REQUEST_add1_ext_i2d(OCSP_REQUEST *x, int nid, void *value, int crit, argument 121 return X509V3_add1_i2d(&x->tbsRequest->requestExtensions, nid, value, 138 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos) argument 140 return (X509v3_get_ext_by_NID(x->singleRequestExtensions, nid, lastpos)); 164 void *OCSP_ONEREQ_get1_ext_d2i(OCSP_ONEREQ *x, int nid, int *crit, int *idx) argument 166 return X509V3_get_d2i(x->singleRequestExtensions, nid, cri 169 OCSP_ONEREQ_add1_ext_i2d(OCSP_ONEREQ *x, int nid, void *value, int crit, unsigned long flags) argument 188 OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos) argument 218 OCSP_BASICRESP_get1_ext_d2i(OCSP_BASICRESP *x, int nid, int *crit, int *idx) argument 225 OCSP_BASICRESP_add1_ext_i2d(OCSP_BASICRESP *x, int nid, void *value, int crit, unsigned long flags) argument 245 OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos) argument 272 OCSP_SINGLERESP_get1_ext_d2i(OCSP_SINGLERESP *x, int nid, int *crit, int *idx) argument 278 OCSP_SINGLERESP_add1_ext_i2d(OCSP_SINGLERESP *x, int nid, void *value, int crit, unsigned long flags) argument 490 int nid; local [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/pem/ |
H A D | pem_pk8.c | 70 int nid, const EVP_CIPHER *enc, 73 int nid, const EVP_CIPHER *enc, 79 * is NULL then it uses the unencrypted private key form. The 'nid' versions 83 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, argument 87 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u); 104 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, argument 108 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u); 111 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, argument 123 if (enc || (nid != -1)) { 137 p8 = PKCS8_encrypt(nid, en 203 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 210 PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 224 do_pk8pkey_fp(FILE *fp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/objects/ |
H A D | obj_dat.pl | 11 $A=$obj_len{$obj{$nid{$a}}}; 12 $B=$obj_len{$obj{$nid{$b}}}; 17 $A=$obj_der{$obj{$nid{$a}}}; 18 $B=$obj_der{$obj{$nid{$b}}}; 76 { $nid{$d}=$1; } 87 @a=sort { $a <=> $b } keys %nid; 95 if (!defined($nid{$i})) 101 $sn=defined($sn{$nid{$i}})?"$sn{$nid{$i}}":"NULL"; 102 $ln=defined($ln{$nid{ [all...] |
H A D | obj_dat.c | 138 ret = a->nid; 182 return (a->nid - b->nid); 201 a->obj->nid = 0; 208 a->obj->nid++; 213 if (--a->obj->nid == 0) 228 void check_defer(int nid) argument 230 if (!obj_cleanup_defer && nid >= NUM_NID) 301 return (o->nid); 319 if ((n != NID_undef) && (nid_objs[n].nid 445 int nid = NID_undef; local 487 int i, n = 0, len, nid, first, use_bn; local 624 int nid; local [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/evp/ |
H A D | evp_lib.c | 123 int nid; local 125 nid = EVP_CIPHER_nid(ctx); 127 switch (nid) { 172 otmp = OBJ_nid2obj(nid); 174 nid = NID_undef; 176 return nid; 243 return cipher->nid; 248 return ctx->cipher->nid;
|
H A D | evp_locl.h | 134 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \ 138 nid##_##nmode, block_size, key_len, iv_len, \ 150 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \ 153 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \ 156 #define BLOCK_CIPHER_def_cfb(cname, kstruct, nid, key_len, \ 159 BLOCK_CIPHER_def1(cname, cfb##cbits, cfb##cbits, CFB, kstruct, nid, 1, \ 163 #define BLOCK_CIPHER_def_ofb(cname, kstruct, nid, key_len, \ 166 BLOCK_CIPHER_def1(cname, ofb##cbits, ofb, OFB, kstruct, nid, 1, \ 170 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \ 173 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_siz [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/cms/ |
H A D | cms_att.c | 69 int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid, int lastpos) argument 71 return X509at_get_attr_by_NID(si->signedAttrs, nid, lastpos); 107 int nid, int type, const void *bytes, int len) 109 if (X509at_add1_attr_by_NID(&si->signedAttrs, nid, type, bytes, len)) 134 int CMS_unsigned_get_attr_by_NID(const CMS_SignerInfo *si, int nid, argument 137 return X509at_get_attr_by_NID(si->unsignedAttrs, nid, lastpos); 173 int nid, int type, 176 if (X509at_add1_attr_by_NID(&si->unsignedAttrs, nid, type, bytes, len)) 106 CMS_signed_add1_attr_by_NID(CMS_SignerInfo *si, int nid, int type, const void *bytes, int len) argument 172 CMS_unsigned_add1_attr_by_NID(CMS_SignerInfo *si, int nid, int type, const void *bytes, int len) argument
|
/freebsd-10.1-release/contrib/ntp/libntp/ |
H A D | ssl_init.c | 148 int nid 156 name = OBJ_nid2sn(nid); 160 if (NID_md5 == nid)
|