Searched refs:meth (Results 51 - 75 of 95) sorted by relevance

1234

/freebsd-11-stable/sys/sys/
H A Daac_ioctl.h60 #define CTL_CODE(devType, func, meth, acc) (((devType) << 16) | ((acc) << 14) | ((func) << 2) | (meth))
/freebsd-11-stable/crypto/openssl/crypto/rsa/
H A Drsa_gen.c89 if (FIPS_mode() && !(rsa->meth->flags & RSA_FLAG_FIPS_METHOD)
95 if (rsa->meth->rsa_keygen)
96 return rsa->meth->rsa_keygen(rsa, bits, e_value, cb);
H A Drsa_eay.c232 if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx,
427 if (!rsa->meth->rsa_mod_exp(ret, f, rsa, ctx))
440 if (!rsa->meth->bn_mod_exp(ret, f, d, rsa->n, ctx,
545 if (!rsa->meth->rsa_mod_exp(ret, f, rsa, ctx))
561 if (!rsa->meth->bn_mod_exp(ret, f, d, rsa->n, ctx,
668 if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx,
748 smooth = (rsa->meth->bn_mod_exp == BN_mod_exp_mont)
816 if (!rsa->meth->bn_mod_exp(m1, r1, dmq1, rsa->q, ctx, rsa->_method_mod_q))
836 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, rsa->_method_mod_p))
878 if (rsa->meth
[all...]
H A Drsa.h139 const RSA_METHOD *meth; member in struct:rsa_st
140 /* functional reference if 'meth' is ENGINE-provided */
349 void RSA_set_default_method(const RSA_METHOD *meth);
352 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
/freebsd-11-stable/crypto/openssl/ssl/
H A Dssl_sess.c913 const SSL_METHOD *meth; local
916 meth = s->ctx->method->get_ssl_method(session->ssl_version);
917 if (meth == NULL)
918 meth = s->method->get_ssl_method(session->ssl_version);
919 if (meth == NULL) {
924 if (meth != s->method) {
925 if (!SSL_set_ssl_method(s, meth))
957 meth = s->ctx->method;
958 if (meth != s->method) {
959 if (!SSL_set_ssl_method(s, meth))
[all...]
H A Dssltest.c1053 const SSL_METHOD *meth = NULL; local
1510 meth = SSLv2_method();
1515 meth = SSLv3_method();
1520 meth = DTLSv1_method();
1522 meth = DTLSv1_2_method();
1527 meth = TLSv1_method();
1529 meth = TLSv1_2_method();
1532 meth = SSLv23_method();
1534 c_ctx = SSL_CTX_new(meth);
1535 s_ctx = SSL_CTX_new(meth);
3323 const SSL_METHOD *meth; local
[all...]
H A Dheartbeat_test.c73 const SSL_METHOD *meth)
80 fixture.ctx = SSL_CTX_new(meth);
72 set_up(const char *const test_case_name, const SSL_METHOD *meth) argument
H A Dssl_lib.c275 int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth) argument
279 ctx->method = meth;
283 meth->version ==
1893 SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth)
1897 if (meth == NULL) {
1902 if (FIPS_mode() && (meth->version < TLS1_VERSION)) {
1918 ret->method = meth;
1927 ret->session_timeout = meth->get_timeout();
1979 meth->version ==
2011 if (!(meth
2684 SSL_set_ssl_method(SSL *s, const SSL_METHOD *meth) argument
[all...]
/freebsd-11-stable/crypto/openssl/crypto/dh/
H A Ddh.h157 const DH_METHOD *meth; member in struct:dh_st
213 void DH_set_default_method(const DH_METHOD *meth);
215 int DH_set_method(DH *dh, const DH_METHOD *meth);
/freebsd-11-stable/crypto/openssl/apps/
H A Ds_client.c692 const SSL_METHOD *meth = NULL; local
750 meth = SSLv23_client_method();
923 meth = TLSv1_client_method();
928 meth = TLSv1_client_method();
935 meth = TLSv1_client_method();
938 meth = TLSv1_client_method();
941 meth = TLSv1_client_method();
946 meth = SSLv2_client_method();
952 meth = SSLv3_client_method();
958 meth
[all...]
H A Ds_server.c1099 const SSL_METHOD *meth = NULL; local
1141 meth = SSLv23_server_method();
1435 meth = TLSv1_server_method();
1440 meth = TLSv1_server_method();
1455 meth = SSLv2_server_method();
1461 meth = SSLv3_server_method();
1467 meth = TLSv1_server_method();
1470 meth = TLSv1_1_server_method();
1473 meth = TLSv1_2_server_method();
1479 meth
[all...]
H A Decparam.c432 const EC_METHOD *meth = EC_GROUP_method_of(group); local
442 is_prime = (EC_METHOD_get_field_type(meth) == NID_X9_62_prime_field);
/freebsd-11-stable/crypto/openssl/crypto/dsa/
H A Ddsa_ossl.c99 * if (!dsa->meth->bn_mod_exp(dsa, r,dsa->g,&k,dsa->p,ctx,
111 if ((dsa)->meth->dsa_mod_exp) \
112 _tmp_res53 = (dsa)->meth->dsa_mod_exp((dsa), (rr), (a1), (p1), \
122 if ((dsa)->meth->bn_mod_exp) \
123 _tmp_res53 = (dsa)->meth->bn_mod_exp((dsa), (r), (a), (p), \
H A Ddsa_gen.c100 if (FIPS_mode() && !(ret->meth->flags & DSA_FLAG_FIPS_METHOD)
106 if (ret->meth->dsa_paramgen)
107 return ret->meth->dsa_paramgen(ret, bits, seed_in, seed_len,
H A Ddsa.h175 const DSA_METHOD *meth; member in struct:dsa_st
176 /* functional reference if 'meth' is ENGINE-provided */
/freebsd-11-stable/crypto/openssl/crypto/conf/
H A Dconf_api.c174 if (conf->meth->is_number(conf, *str))
175 ret = ret * 10 + conf->meth->to_int(conf, *str);
H A Dconf_def.c86 static CONF *def_create(CONF_METHOD *meth);
135 static CONF *def_create(CONF_METHOD *meth) argument
141 if (meth->init(ret) == 0) {
153 conf->meth = &default_method;
165 conf->meth = &WIN32_method;
/freebsd-11-stable/tests/sys/opencrypto/
H A Dcryptotest.py159 def runXTS(self, fname, meth):
187 c = Crypto(meth, cipherkey, crid=crid)
/freebsd-11-stable/contrib/apr/locks/unix/
H A Dglobal_mutex.c63 if (m->proc_mutex->meth->flags & APR_PROCESS_LOCK_MECH_IS_GLOBAL) {
/freebsd-11-stable/contrib/ldns/
H A Dkeys.c124 const EVP_PKEY_ASN1_METHOD* meth; local
130 meth = EVP_PKEY_asn1_find_str(NULL, "gost2001", -1);
131 if(meth) {
132 EVP_PKEY_asn1_get0_info(&gost_id, NULL, NULL, NULL, NULL, meth);
154 meth = EVP_PKEY_asn1_find_str(&e, "gost2001", -1);
155 if(!meth) {
162 * on some platforms this frees up the meth and unloads gost stuff */
165 EVP_PKEY_asn1_get0_info(&gost_id, NULL, NULL, NULL, NULL, meth);
/freebsd-11-stable/crypto/openssl/crypto/comp/
H A Dc_zlib.c345 COMP_METHOD *meth = &zlib_method_nozlib; local
396 meth = &zlib_stateful_method;
401 return (meth);
/freebsd-11-stable/crypto/openssl/crypto/evp/
H A Dpmeth_lib.c216 const EVP_PKEY_METHOD *meth)
219 *ppkey_id = meth->pkey_id;
221 *pflags = meth->flags;
215 EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags, const EVP_PKEY_METHOD *meth) argument
/freebsd-11-stable/crypto/openssl/crypto/ec/
H A Dec_key.c150 const EC_METHOD *meth = EC_GROUP_method_of(src->group); local
154 dest->group = EC_GROUP_new(meth);
H A Dec_mult.c581 if (group->meth != r->meth) {
619 if (group->meth != points[i]->meth) {
/freebsd-11-stable/crypto/openssl/crypto/x509v3/
H A Dx509v3.h660 char *i2s_ASN1_INTEGER(X509V3_EXT_METHOD *meth, ASN1_INTEGER *aint);
661 ASN1_INTEGER *s2i_ASN1_INTEGER(X509V3_EXT_METHOD *meth, char *value);
662 char *i2s_ASN1_ENUMERATED(X509V3_EXT_METHOD *meth, ASN1_ENUMERATED *aint);
663 char *i2s_ASN1_ENUMERATED_TABLE(X509V3_EXT_METHOD *meth,

Completed in 322 milliseconds

1234