Searched refs:nid (Results 151 - 175 of 211) sorted by relevance

123456789

/freebsd-current/crypto/openssl/test/
H A Denginetest.c204 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 Ddh.h42 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 Dpem.h482 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 Dx509v3.h612 # 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 Dmemory.h703 unsigned int nid; member in struct:xen_vmemrange
/freebsd-current/contrib/ntp/sntp/libevent/test/
H A Dregress_ssl.c128 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 Dec_key.c45 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 Dec_lib.c480 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 Dec_asn1.c189 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 Decx_meth.c548 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 Ddigest.c884 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 De_aria.c162 # 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 Dx_pubkey.c401 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 Decparam.c80 const char *sname = OBJ_nid2sn(curves[n].nid);
H A Dca.c1509 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 Ddh_lib.c331 return dh->params.nid;
/freebsd-current/crypto/openssl/crypto/cms/
H A Dcms_enc.c85 if (calg->algorithm == NULL || calg->algorithm->nid == NID_undef) {
/freebsd-current/contrib/libevent/test/
H A Dregress_ssl.c128 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 Dffc.h105 int nid; /* The identity of a named group */ member in struct:ffc_params_st
/freebsd-current/crypto/openssl/ssl/
H A Dssl_local.h1834 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 Dntp_crypto.c153 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 Dsshd.c680 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 Dlibbsm.h232 u_int64_t nid; member in struct:__anon5836
241 u_int64_t nid; member in struct:__anon5837
/freebsd-current/sys/dev/cardbus/
H A Dcardbus_cis.c270 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 Dencode_key2text.c163 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. */

Completed in 708 milliseconds

123456789