/freebsd-current/crypto/openssl/test/ |
H A D | enginetest.c | 204 const int **pnids, int nid) 212 if (nid == EVP_PKEY_RSA) { 203 test_pkey_meths(ENGINE *e, EVP_PKEY_METHOD **pmeth, const int **pnids, int nid) argument
|
/freebsd-current/crypto/openssl/include/openssl/ |
H A D | dh.h | 42 int EVP_PKEY_CTX_set_dh_nid(EVP_PKEY_CTX *ctx, int nid); 247 OSSL_DEPRECATEDIN_3_0 DH *DH_new_by_nid(int nid);
|
H A D | pem.h | 482 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, const EVP_PKEY *x, int nid, 491 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, const EVP_PKEY *x, int nid, 501 int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, const EVP_PKEY *x, int nid, 504 int PEM_write_PKCS8PrivateKey_nid(FILE *fp, const EVP_PKEY *x, int nid,
|
H A D | x509v3.h | 612 # define EXT_BITSTRING(nid, table) { nid, 0, ASN1_ITEM_ref(ASN1_BIT_STRING), \ 620 # define EXT_IA5STRING(nid) { nid, 0, ASN1_ITEM_ref(ASN1_IA5STRING), \ 627 #define EXT_UTF8STRING(nid) { nid, 0, ASN1_ITEM_ref(ASN1_UTF8STRING), \ 948 const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid); 952 void *X509V3_get_d2i(const STACK_OF(X509_EXTENSION) *x, int nid, int *crit, variable 956 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, variable
|
/freebsd-current/sys/contrib/xen/ |
H A D | memory.h | 703 unsigned int nid; member in struct:xen_vmemrange
|
/freebsd-current/contrib/ntp/sntp/libevent/test/ |
H A D | regress_ssl.c | 128 int nid; local 141 nid = OBJ_txt2nid("commonName"); 142 tt_assert(NID_undef != nid); 144 name, nid, MBSTRING_ASC, (unsigned char*)"example.com",
|
/freebsd-current/crypto/openssl/crypto/ec/ |
H A D | ec_key.c | 45 int nid) 50 ret->group = EC_GROUP_new_by_curve_name_ex(ctx, propq, nid); 64 EC_KEY *EC_KEY_new_by_curve_name(int nid) argument 66 return EC_KEY_new_by_curve_name_ex(NULL, NULL, nid); 44 EC_KEY_new_by_curve_name_ex(OSSL_LIB_CTX *ctx, const char *propq, int nid) argument
|
H A D | ec_lib.c | 480 void EC_GROUP_set_curve_name(EC_GROUP *group, int nid) argument 482 group->curve_name = nid; 484 (nid != NID_undef) 1430 * the same curve, we prefer the SECP nid when matching explicit 1475 int ok = 0, nid; local 1490 nid = ossl_ec_curve_name2nid(curve_name); 1491 if (nid == NID_undef) { 1495 return EC_GROUP_new_by_curve_name_ex(libctx, propq, nid);
|
H A D | ec_asn1.c | 189 int ok = 0, nid; local 199 nid = EC_GROUP_get_field_type(group); 201 if ((field->fieldType = OBJ_nid2obj(nid)) == NULL) { 206 if (nid == NID_X9_62_prime_field) { 222 } else if (nid == NID_X9_62_characteristic_two_field) 505 /* we don't know the nid => ERROR */ 796 * the same curve, we prefer the SECP nid when matching explicit
|
H A D | ecx_meth.c | 548 int nid; local 552 nid = OBJ_obj2nid(obj); 553 if ((nid != NID_ED25519 && nid != NID_ED448) || ptype != V_ASN1_UNDEF) {
|
/freebsd-current/crypto/openssl/crypto/evp/ |
H A D | digest.c | 884 int nid; local 898 nid = EVP_MD_nid(legacy_method); 899 if (*legacy_nid != NID_undef && *legacy_nid != nid) { 903 *legacy_nid = nid;
|
H A D | e_aria.c | 162 # define BLOCK_CIPHER_generic(nid,keylen,blocksize,ivlen,nmode,mode,MODE,flags) \ 164 nid##_##keylen##_##nmode,blocksize,keylen/8,ivlen, \ 768 #define BLOCK_CIPHER_aead(nid,keylen,blocksize,ivlen,nmode,mode,MODE,flags) \ 770 nid##_##keylen##_##nmode, \
|
/freebsd-current/crypto/openssl/crypto/x509/ |
H A D | x_pubkey.c | 401 int nid; local 403 nid = OBJ_obj2nid(key->algor->algorithm); 408 e = ENGINE_get_pkey_meth_engine(nid); 423 if (!EVP_PKEY_set_type(pkey, nid)) {
|
/freebsd-current/crypto/openssl/apps/ |
H A D | ecparam.c | 80 const char *sname = OBJ_nid2sn(curves[n].nid);
|
H A D | ca.c | 1509 int ok = -1, i, j, last, nid; local 1538 nid = OBJ_obj2nid(obj); 1546 if (str->type == V_ASN1_IA5STRING && nid != NID_pkcs9_emailAddress) 1549 if (nid == NID_pkcs9_emailAddress 1555 if (nid == NID_pkcs9_emailAddress && !email_dn) 1559 if (nid == NID_pkcs9_emailAddress && str->type != V_ASN1_IA5STRING) { 2014 int nid; local 2067 if ((nid = OBJ_txt2nid(type)) == NID_undef) { 2079 if (!X509_NAME_add_entry_by_NID(n, nid, chtype,
|
/freebsd-current/crypto/openssl/crypto/dh/ |
H A D | dh_lib.c | 331 return dh->params.nid;
|
/freebsd-current/crypto/openssl/crypto/cms/ |
H A D | cms_enc.c | 85 if (calg->algorithm == NULL || calg->algorithm->nid == NID_undef) {
|
/freebsd-current/contrib/libevent/test/ |
H A D | regress_ssl.c | 128 int nid; local 141 nid = OBJ_txt2nid("commonName"); 142 tt_assert(NID_undef != nid); 144 name, nid, MBSTRING_ASC, (unsigned char*)"example.com",
|
/freebsd-current/crypto/openssl/include/internal/ |
H A D | ffc.h | 105 int nid; /* The identity of a named group */ member in struct:ffc_params_st
|
/freebsd-current/crypto/openssl/ssl/ |
H A D | ssl_local.h | 1834 int nid; /* NID of public key algorithm */ member in struct:__anon15 2058 int (*sec_cb) (const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, 2435 __owur int ssl_security(const SSL *s, int op, int bits, int nid, void *other); 2436 __owur int ssl_ctx_security(const SSL_CTX *ctx, int op, int bits, int nid, 2440 __owur int ssl_cert_lookup_by_nid(int nid, size_t *pidx); 2654 __owur uint16_t tls1_nid2group_id(int nid); 2818 int nid, 2823 int nid, 2833 const EVP_CIPHER *tls_get_cipher_from_engine(int nid); 2834 const EVP_MD *tls_get_digest_from_engine(int nid); [all...] |
/freebsd-current/contrib/ntp/ntpd/ |
H A D | ntp_crypto.c | 153 int crypto_nid = KEY_TYPE_MD5; /* digest nid */ 685 temp32 = xinfo->nid; 960 temp32 = xinfo->nid; 3494 ret->nid = X509_get_signature_nid(cert); 3495 ret->digest = (const EVP_MD *)EVP_get_digestbynid(ret->nid); 3520 int nid; local 3525 nid = OBJ_obj2nid(obj); 3527 switch (nid) { 3545 OBJ_nid2ln(nid), pathbuf)); 3559 OBJ_nid2ln(nid))); 4075 int nid; local [all...] |
/freebsd-current/crypto/openssh/ |
H A D | sshd.c | 680 get_hostkey_by_type(int type, int nid, int need_private, struct ssh *ssh) argument 709 if (key->ecdsa_nid != nid) 721 get_hostkey_public_by_type(int type, int nid, struct ssh *ssh) argument 723 return get_hostkey_by_type(type, nid, 0, ssh); 727 get_hostkey_private_by_type(int type, int nid, struct ssh *ssh) argument 729 return get_hostkey_by_type(type, nid, 1, ssh);
|
/freebsd-current/contrib/openbsm/bsm/ |
H A D | libbsm.h | 232 u_int64_t nid; member in struct:__anon5836 241 u_int64_t nid; member in struct:__anon5837
|
/freebsd-current/sys/dev/cardbus/ |
H A D | cardbus_cis.c | 270 if (tupledata[1] > sizeof(dinfo->funce.lan.nid)) { 274 bcopy(tupledata + 2, dinfo->funce.lan.nid,
|
/freebsd-current/crypto/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2text.c | 163 if (ffc->nid != NID_undef) { 165 const DH_NAMED_GROUP *group = ossl_ffc_uid_to_dh_named_group(ffc->nid); 174 /* How could this be? We should not have a nid in a no-dh build. */
|