/freebsd-current/crypto/openssl/providers/common/ |
H A D | securitycheck.c | 96 int nid, strength; local 104 nid = EC_GROUP_get_curve_name(group); 105 if (nid == NID_undef) { 111 curve_name = EC_curve_nid2nist(nid);
|
/freebsd-current/sys/dev/cardbus/ |
H A D | cardbusvar.h | 57 uint8_t nid[6]; /* MAC address */ member in struct:cardbus_devinfo::__anon2019::__anon2020
|
/freebsd-current/crypto/openssl/crypto/asn1/ |
H A D | p8_pkey.c | 74 int PKCS8_pkey_add1_attr_by_NID(PKCS8_PRIV_KEY_INFO *p8, int nid, int type, 77 if (X509at_add1_attr_by_NID(&p8->attributes, nid, type, bytes, len) != NULL)
|
/freebsd-current/crypto/openssl/crypto/x509/ |
H A D | x509name.c | 19 int X509_NAME_get_text_by_NID(const X509_NAME *name, int nid, argument 24 obj = OBJ_nid2obj(nid); 60 int X509_NAME_get_index_by_NID(const X509_NAME *name, int nid, int lastpos) argument 64 obj = OBJ_nid2obj(nid); 156 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, argument 162 ne = X509_NAME_ENTRY_create_by_NID(NULL, nid, type, bytes, len); 261 X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, argument 269 obj = OBJ_nid2obj(nid);
|
H A D | x509_trust.c | 259 int nid = OBJ_obj2nid(obj); local 261 if (nid == id || (nid == NID_anyExtendedKeyUsage && 270 int nid = OBJ_obj2nid(obj); local 272 if (nid == id || (nid == NID_anyExtendedKeyUsage &&
|
H A D | x509_att.c | 26 int X509at_get_attr_by_NID(const STACK_OF(X509_ATTRIBUTE) *x, int nid, 29 const ASN1_OBJECT *obj = OBJ_nid2obj(nid); 159 int nid, int type, 166 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len); 175 **x, int nid, int type, 183 if (*x != NULL && X509at_get_attr_by_NID(*x, nid, -1) != -1) { 188 return ossl_x509at_add1_attr_by_NID(x, nid, type, bytes, len); 257 X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid, argument 264 obj = OBJ_nid2obj(nid);
|
H A D | x509_v3.c | 30 int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, int nid, 35 obj = OBJ_nid2obj(nid); 139 X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex, int nid, argument 146 obj = OBJ_nid2obj(nid);
|
/freebsd-current/crypto/openssl/crypto/pkcs12/ |
H A D | p12_attr.c | 77 int PKCS12_add1_attr_by_NID(PKCS12_SAFEBAG *bag, int nid, int type, argument 80 if (X509at_add1_attr_by_NID(&bag->attrib, nid, type, bytes, len) != NULL)
|
/freebsd-current/crypto/openssl/crypto/objects/ |
H A D | objects.pl | 34 if (defined($nid{$Cname})) 35 { die "$ARGV[1]:$o:There's already an object with name ",$Cname," on line ",$order{$nid{$Cname}},"\n"; } 36 $nid{$Cname} = $mynum; 119 if (!defined($nid{$Cname})) 122 $nid{$Cname} = $max_nid; 175 print expand("#define NID_$Cname\t\t$nid{$Cname}\n") if $nid{$Cname} ne "";
|
/freebsd-current/crypto/openssl/test/helpers/ |
H A D | ssl_test_ctx.c | 519 int nid; local 526 EVP_PKEY_asn1_get0_info(&nid, NULL, NULL, NULL, NULL, ameth); 528 nid = OBJ_sn2nid(value); 529 if (nid == NID_undef) 530 nid = OBJ_ln2nid(value); 532 if (nid == NID_undef) 533 nid = EC_curve_nist2nid(value); 535 if (nid == NID_undef) 537 *ptype = nid; 580 int nid; local [all...] |
/freebsd-current/crypto/openssl/test/ |
H A D | property_test.c | 345 int nid; member in struct:__anon152 364 if (!TEST_true(ossl_method_store_add(store, &prov, impls[i].nid, 374 int nid = impls[j].nid; local 377 if (!TEST_true(ossl_method_store_remove(store, nid, impl)) 378 || !TEST_false(ossl_method_store_remove(store, nid, impl))) { 384 if (TEST_false(ossl_method_store_remove(store, impls[0].nid, impls[0].impl))) 399 int nid; member in struct:__anon153 412 int nid; member in struct:__anon154 439 impls[i].nid, impl [all...] |
H A D | ectest.c | 1140 int nid = curves[n].nid; local 1142 if (!TEST_ptr(group = EC_GROUP_new_by_curve_name(nid))) { 1144 OBJ_nid2sn(nid)); 1148 TEST_info("EC_GROUP_check() failed with curve %s\n", OBJ_nid2sn(nid)); 1158 int r, nid = curves[n].nid; local 1161 if (!TEST_ptr(group = EC_GROUP_new_by_curve_name(nid))) { 1162 TEST_info("Curve %s failed\n", OBJ_nid2sn(nid)); 1212 const int nid; member in struct:nistp_test_params 1500 int ret = 0, nid, field_nid, has_seed; local 1696 int ret = 0, nid, rv = 0; local 1823 int ret = 0, nid, tnid; local 2156 int nid = curves[n].nid; local 2344 int ret = 0, nid; local 2613 int ret = 0, nid, bsize; local 2697 int ret = 0, nid, bsize; local [all...] |
/freebsd-current/crypto/openssl/crypto/ec/ |
H A D | eck_prn.c | 98 int nid; local 104 nid = EC_GROUP_get_curve_name(x); 105 if (nid == 0) 107 if (BIO_printf(bp, "ASN1 OID: %s", OBJ_nid2sn(nid)) <= 0) 111 nname = EC_curve_nid2nist(nid);
|
H A D | ec_pmeth.c | 396 int nid; local 397 nid = EC_curve_nist2nid(value); 398 if (nid == NID_undef) 399 nid = OBJ_sn2nid(value); 400 if (nid == NID_undef) 401 nid = OBJ_ln2nid(value); 402 if (nid == NID_undef) { 406 return EVP_PKEY_CTX_set_ec_paramgen_curve_nid(ctx, nid);
|
/freebsd-current/crypto/openssl/crypto/evp/ |
H A D | ec_ctrl.c | 284 int EVP_PKEY_CTX_set_ec_paramgen_curve_nid(EVP_PKEY_CTX *ctx, int nid) argument 286 int keytype = nid == EVP_PKEY_SM2 ? EVP_PKEY_SM2 : EVP_PKEY_EC; 290 nid, NULL);
|
H A D | evp_pkey.c | 169 int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos) argument 171 return X509at_get_attr_by_NID(key->attributes, nid, lastpos); 207 int nid, int type, 210 if (X509at_add1_attr_by_NID(&key->attributes, nid, type, bytes, len)) 206 EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, int nid, int type, const unsigned char *bytes, int len) argument
|
/freebsd-current/crypto/openssl/apps/lib/ |
H A D | s_cb.c | 227 static const char *get_sigtype(int nid) argument 229 switch (nid) { 307 int nid; local 313 if (SSL_get_peer_signature_nid(s, &nid) && nid != NID_undef) 314 BIO_printf(out, "Peer signing digest: %s\n", OBJ_nid2sn(nid)); 315 if (SSL_get_peer_signature_type_nid(s, &nid)) 316 BIO_printf(out, "Peer signature type: %s\n", get_sigtype(nid)); 358 int i, ngroups, *groups, nid; local 370 nid 1225 int nid; local 1378 security_callback_debug(const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *ex) argument [all...] |
/freebsd-current/crypto/openssl/include/crypto/ |
H A D | evp.h | 248 /* nid */ 291 int nid; member in struct:evp_cipher_st 434 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \ 438 nid##_##nmode, block_size, key_len, iv_len, \ 451 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \ 454 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \ 457 #define BLOCK_CIPHER_def_cfb(cname, kstruct, nid, key_len, \ 460 BLOCK_CIPHER_def1(cname, cfb##cbits, cfb##cbits, CFB, kstruct, nid, 1, \ 464 #define BLOCK_CIPHER_def_ofb(cname, kstruct, nid, key_len, \ 467 BLOCK_CIPHER_def1(cname, ofb##cbits, ofb, OFB, kstruct, nid, [all...] |
/freebsd-current/crypto/openssl/include/openssl/ |
H A D | engine.h | 284 * int foo(ENGINE *e, const EVP_CIPHER **cipher, const int **nids, int nid); 285 * int foo(ENGINE *e, const EVP_MD **digest, const int **nids, int nid); 287 * the framework wants the EVP_CIPHER for 'nid', it will call; 288 * foo(e, &p_evp_cipher, NULL, nid); (return zero for failure) 289 * If the framework wants a list of supported 'nid's, it will call; 293 * Returns to a pointer to the array of supported cipher 'nid's. If the 582 const EVP_CIPHER *ENGINE_get_cipher(ENGINE *e, int nid); 584 const EVP_MD *ENGINE_get_digest(ENGINE *e, int nid); 586 const EVP_PKEY_METHOD *ENGINE_get_pkey_meth(ENGINE *e, int nid); 588 const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth(ENGINE *e, int nid); [all...] |
/freebsd-current/crypto/openssl/crypto/engine/ |
H A D | eng_local.h | 65 ENGINE *ossl_engine_table_select(ENGINE_TABLE **table, int nid, 67 typedef void (engine_table_doall_cb) (int nid, STACK_OF(ENGINE) *sk,
|
/freebsd-current/crypto/openssl/crypto/pkcs7/ |
H A D | pk7_attr.c | 54 int PKCS7_simple_smimecap(STACK_OF(X509_ALGOR) *sk, int nid, int arg) 64 alg->algorithm = OBJ_nid2obj(nid);
|
H A D | pk7_doit.c | 20 static int add_attribute(STACK_OF(X509_ATTRIBUTE) **sk, int nid, int atrtype, 22 static ASN1_TYPE *get_attribute(const STACK_OF(X509_ATTRIBUTE) *sk, int nid); 28 int nid = OBJ_obj2nid(p7->type); variable 30 switch (nid) { 677 static BIO *PKCS7_find_digest(EVP_MD_CTX **pmd, BIO *bio, int nid) argument 690 if (EVP_MD_CTX_get_type(*pmd) == nid) 1161 ASN1_TYPE *PKCS7_get_signed_attribute(const PKCS7_SIGNER_INFO *si, int nid) argument 1163 return get_attribute(si->auth_attr, nid); 1166 ASN1_TYPE *PKCS7_get_attribute(const PKCS7_SIGNER_INFO *si, int nid) argument 1168 return get_attribute(si->unauth_attr, nid); 1226 PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, void *value) argument 1232 PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, void *value) argument [all...] |
/freebsd-current/crypto/openssl/engines/ |
H A D | e_afalg.c | 82 static const EVP_CIPHER *afalg_aes_cbc(int nid); 83 static cbc_handles *get_cipher_handle(int nid); 85 const int **nids, int nid); 703 static cbc_handles *get_cipher_handle(int nid) argument 705 switch (nid) { 717 static const EVP_CIPHER *afalg_aes_cbc(int nid) argument 719 cbc_handles *cipher_handle = get_cipher_handle(nid); 725 EVP_CIPHER_meth_new(nid, 748 const int **nids, int nid) 757 switch (nid) { 747 afalg_ciphers(ENGINE *e, const EVP_CIPHER **cipher, const int **nids, int nid) argument [all...] |
/freebsd-current/sys/compat/linuxkpi/common/include/net/ |
H A D | page_pool.h | 42 int nid; /* NUMA */ member in struct:page_pool_params
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | a_md5encrypt.c | 52 int nid 58 DEBUG_INSIST(NID_md5 == nid); 63 if (!EVP_DigestInit(digest_ctx, EVP_get_digestbynid(nid))) { 64 msyslog(LOG_ERR, "%s init failed", OBJ_nid2sn(nid));
|