/freebsd-11-stable/crypto/openssl/ssl/ |
H A D | ssl_conf.c | 294 int nid; local 295 nid = EC_curve_nist2nid(value); 296 if (nid == NID_undef) 297 nid = OBJ_sn2nid(value); 298 if (nid == 0) 300 ecdh = EC_KEY_new_by_curve_name(nid);
|
/freebsd-11-stable/crypto/openssl/crypto/evp/ |
H A D | e_aes.c | 441 # define BLOCK_CIPHER_generic(nid,keylen,blocksize,ivlen,nmode,mode,MODE,flags) \ 443 nid##_##keylen##_##nmode,blocksize,keylen/8,ivlen, \ 451 nid##_##keylen##_##nmode,blocksize, \ 462 # define BLOCK_CIPHER_custom(nid,keylen,blocksize,ivlen,mode,MODE,flags) \ 464 nid##_##keylen##_##mode,blocksize, \ 473 nid##_##keylen##_##mode,blocksize, \ 810 # define BLOCK_CIPHER_generic(nid,keylen,blocksize,ivlen,nmode,mode,MODE,flags) \ 812 nid##_##keylen##_##nmode,blocksize,keylen/8,ivlen, \ 820 nid##_##keylen##_##nmode,blocksize, \ 831 # define BLOCK_CIPHER_custom(nid,keyle [all...] |
H A D | evp_pbe.c | 255 int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md, argument 268 return EVP_PBE_alg_add_type(EVP_PBE_TYPE_OUTER, nid,
|
H A D | evp_enc.c | 123 && (cipher->nid == 124 ctx->cipher->nid)))) 148 impl = ENGINE_get_cipher_engine(cipher->nid); 151 const EVP_CIPHER *c = ENGINE_get_cipher(impl, cipher->nid);
|
/freebsd-11-stable/crypto/openssh/ |
H A D | ssh-rsa.c | 89 int nid, hash_alg, ret = SSH_ERR_INTERNAL_ERROR; local 110 nid = rsa_hash_alg_nid(hash_alg); 122 if (RSA_sign(nid, digest, dlen, sig, &len, key->rsa) != 1) {
|
H A D | cipher-ctr.c | 132 aes_ctr.nid = NID_undef;
|
H A D | cipher-aes.c | 148 rijndal_cbc.nid = NID_undef;
|
H A D | ssh_api.c | 439 _ssh_host_public_key(int type, int nid, struct ssh *ssh) argument 447 (type != KEY_ECDSA || k->key->ecdsa_nid == nid)) 454 _ssh_host_private_key(int type, int nid, struct ssh *ssh) argument 462 (type != KEY_ECDSA || k->key->ecdsa_nid == nid))
|
H A D | cipher-3des1.c | 148 ssh1_3des.nid = NID_undef;
|
/freebsd-11-stable/usr.sbin/uefisign/ |
H A D | uefisign.c | 162 int len, nid, ok; local 169 nid = OBJ_create("1.3.6.1.4.1.311.2.1.4", NULL, NULL); 240 PKCS7_set0_type_other(pkcs7->d.sign->contents, nid, t);
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_ssl.c | 111 int nid; local 124 nid = OBJ_txt2nid("commonName"); 125 tt_assert(NID_undef != nid); 127 name, nid, MBSTRING_ASC, (unsigned char*)"example.com",
|
/freebsd-11-stable/crypto/openssl/crypto/cms/ |
H A D | cms_lib.c | 382 int nid; local 385 nid = OBJ_obj2nid(mdoid); 396 if (EVP_MD_CTX_type(mtmp) == nid 401 || EVP_MD_pkey_type(EVP_MD_CTX_md(mtmp)) == nid)
|
H A D | cms_env.c | 526 static size_t aes_wrap_keylen(int nid) argument 528 switch (nid) { 543 CMS_RecipientInfo *CMS_add0_recipient_key(CMS_ContentInfo *cms, int nid, argument 557 if (nid == NID_undef) { 560 nid = NID_id_aes128_wrap; 564 nid = NID_id_aes192_wrap; 568 nid = NID_id_aes256_wrap; 578 size_t exp_keylen = aes_wrap_keylen(nid); 631 OBJ_nid2obj(nid), V_ASN1_UNDEF, NULL);
|
H A D | cms.h | 211 CMS_RecipientInfo *CMS_add0_recipient_key(CMS_ContentInfo *cms, int nid, 291 int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid, 302 int nid, int type, 311 int CMS_unsigned_get_attr_by_NID(const CMS_SignerInfo *si, int nid, 322 int nid, int type,
|
/freebsd-11-stable/contrib/ntp/include/ |
H A D | ntp_crypto.h | 161 int nid; /* signature/digest ID */ member in struct:cert_info 186 extern int crypto_nid; /* digest nid */
|
/freebsd-11-stable/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new.h | 174 int wpas_dbus_unregister_network(struct wpa_supplicant *wpa_s, int nid); 223 int nid); 346 int nid) 466 struct wpa_supplicant *wpa_s, int nid) 345 wpas_dbus_unregister_network(struct wpa_supplicant *wpa_s, int nid) argument 465 wpas_dbus_unregister_persistent_group( struct wpa_supplicant *wpa_s, int nid) argument
|
/freebsd-11-stable/crypto/openssl/crypto/rsa/ |
H A D | rsa_ameth.c | 673 int nid, nid2; local 677 nid = OBJ_obj2nid(alg->algorithm); 678 if (nid == NID_rsaEncryption) 680 if (nid == NID_rsassaPss) 683 if (OBJ_find_sigid_algs(nid, NULL, &nid2)) { 799 int nid; local 811 nid = OBJ_obj2nid(cmsalg->algorithm); 812 if (nid == NID_rsaEncryption) 814 if (nid != NID_rsaesOaep) {
|
/freebsd-11-stable/crypto/openssl/apps/ |
H A D | req.c | 143 char *value, int nid, int n_min, int n_max, 146 char *value, int nid, int n_min, int n_max, 1140 int nid, mval; local 1193 if ((nid = OBJ_txt2nid(type)) == NID_undef) 1224 if (!add_DN_object(subj, v->value, def, value, nid, 1251 if ((nid = OBJ_txt2nid(type)) == NID_undef) 1286 v->value, def, value, nid, n_min, 1364 char *value, int nid, int n_min, int n_max, 1413 if (!X509_NAME_add_entry_by_NID(n, nid, chtype, 1422 char *value, int nid, in 1363 add_DN_object(X509_NAME *n, char *text, const char *def, char *value, int nid, int n_min, int n_max, unsigned long chtype, int mval) argument 1421 add_attribute_object(X509_REQ *req, char *text, const char *def, char *value, int nid, int n_min, int n_max, unsigned long chtype) argument [all...] |
/freebsd-11-stable/sys/dev/sound/pci/hda/ |
H A D | hdaa.h | 96 nid_t nid; member in struct:hdaa_widget 190 nid_t nid; member in struct:hdaa_devinfo
|
/freebsd-11-stable/crypto/openssl/crypto/pkcs12/ |
H A D | p12_crt.c | 67 static int copy_bag_attr(PKCS12_SAFEBAG *bag, EVP_PKEY *pkey, int nid) argument 71 idx = EVP_PKEY_get_attr_by_NID(pkey, nid, -1);
|
/freebsd-11-stable/crypto/openssl/crypto/x509v3/ |
H A D | x509v3.h | 388 # define EXT_BITSTRING(nid, table) { nid, 0, ASN1_ITEM_ref(ASN1_BIT_STRING), \ 396 # define EXT_IA5STRING(nid) { nid, 0, ASN1_ITEM_ref(ASN1_IA5STRING), \ 671 const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid); 675 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, variable 677 int X509V3_EXT_free(int nid, void *ext_data); 680 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, variable
|
/freebsd-11-stable/crypto/openssl/crypto/pem/ |
H A D | pem.h | 484 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, 492 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, 501 int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, 504 int PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid,
|
/freebsd-11-stable/crypto/openssl/crypto/ts/ |
H A D | ts.h | 388 int TS_REQ_get_ext_by_NID(TS_REQ *a, int nid, int lastpos); 394 void *TS_REQ_get_ext_d2i(TS_REQ *a, int nid, int *crit, int *idx); 449 int TS_TST_INFO_get_ext_by_NID(TS_TST_INFO *a, int nid, int lastpos); 455 void *TS_TST_INFO_get_ext_d2i(TS_TST_INFO *a, int nid, int *crit, int *idx);
|
/freebsd-11-stable/contrib/wpa/src/crypto/ |
H A D | crypto_openssl.c | 1554 int nid; member in struct:crypto_ec 1565 int nid; local 1570 nid = NID_X9_62_prime256v1; 1573 nid = NID_secp384r1; 1576 nid = NID_secp521r1; 1579 nid = NID_X9_62_prime192v1; 1582 nid = NID_secp224r1; 1586 nid = NID_brainpoolP224r1; 1591 nid = NID_brainpoolP256r1; 1596 nid [all...] |
/freebsd-11-stable/sys/fs/fuse/ |
H A D | fuse_ipc.h | 401 struct mount *mp, uint64_t nid, struct thread *td, 405 struct mount *mp, uint64_t nid, pid_t pid,
|