/freebsd-11-stable/crypto/openssl/crypto/comp/ |
H A D | comp_lib.c | 7 COMP_CTX *COMP_CTX_new(COMP_METHOD *meth) argument 16 ret->meth = meth; 17 if ((ret->meth->init != NULL) && !ret->meth->init(ret)) { 29 if (ctx->meth->finish != NULL) 30 ctx->meth->finish(ctx); 39 if (ctx->meth->compress == NULL) { 43 ret = ctx->meth->compress(ctx, out, olen, in, ilen); 56 if (ctx->meth [all...] |
/freebsd-11-stable/crypto/openssl/crypto/ec/ |
H A D | ec_oct.c | 75 if (group->meth->point_set_compressed_coordinates == 0 76 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) { 81 if (group->meth != point->meth) { 86 if (group->meth->flags & EC_FLAGS_DEFAULT_OCT) { 87 if (group->meth->field_type == NID_X9_62_prime_field) 102 return group->meth->point_set_compressed_coordinates(group, point, x, 111 if (group->meth->point_set_compressed_coordinates == 0 112 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) { 117 if (group->meth ! [all...] |
H A D | ec_cvt.c | 82 const EC_METHOD *meth; local 111 meth = EC_GFp_mont_method(); 113 meth = EC_GFp_nist_method(); 116 ret = EC_GROUP_new(meth); 141 meth = EC_GFp_mont_method(); 143 ret = EC_GROUP_new(meth); 160 const EC_METHOD *meth; local 167 meth = EC_GF2m_simple_method(); 169 ret = EC_GROUP_new(meth);
|
H A D | ec_lib.c | 79 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) argument 83 if (meth == NULL) { 87 if (meth->group_init == 0) { 98 ret->meth = meth; 114 if (!meth->group_init(ret)) { 127 if (group->meth->group_finish != 0) 128 group->meth->group_finish(group); 151 if (group->meth->group_clear_finish != 0) 152 group->meth 292 EC_METHOD_get_field_type(const EC_METHOD *meth) argument [all...] |
H A D | ec2_mult.c | 96 if (!group->meth->field_sqr(group, x, x, ctx)) 98 if (!group->meth->field_sqr(group, t1, z, ctx)) 100 if (!group->meth->field_mul(group, z, x, t1, ctx)) 102 if (!group->meth->field_sqr(group, x, x, ctx)) 104 if (!group->meth->field_sqr(group, t1, t1, ctx)) 106 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) 141 if (!group->meth->field_mul(group, x1, x1, z2, ctx)) 143 if (!group->meth->field_mul(group, z1, z1, x2, ctx)) 145 if (!group->meth->field_mul(group, t2, x1, z1, ctx)) 149 if (!group->meth [all...] |
H A D | ecp_smpl.c | 209 if (group->meth->field_encode) { 210 if (!group->meth->field_encode(group, &group->a, tmp_a, ctx)) 218 if (group->meth->field_encode) 219 if (!group->meth->field_encode(group, &group->b, &group->b, ctx)) 248 if (group->meth->field_decode) { 255 if (!group->meth->field_decode(group, a, &group->a, ctx)) 259 if (!group->meth->field_decode(group, b, &group->b, ctx)) 311 if (group->meth->field_decode) { 312 if (!group->meth->field_decode(group, a, &group->a, ctx)) 314 if (!group->meth [all...] |
/freebsd-11-stable/crypto/openssl/ssl/ |
H A D | t1_ext.c | 67 custom_ext_method *meth = exts->meths; local 68 for (i = 0; i < exts->meths_count; i++, meth++) { 69 if (ext_type == meth->ext_type) 70 return meth; 81 custom_ext_method *meth = exts->meths; local 82 for (i = 0; i < exts->meths_count; i++, meth++) 83 meth->ext_flags = 0; 92 custom_ext_method *meth; local 93 meth = custom_ext_find(exts, ext_type); 95 if (!meth) 129 custom_ext_method *meth; local 229 custom_ext_method *meth; local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/rand/ |
H A D | rand_lib.c | 80 int RAND_set_rand_method(const RAND_METHOD *meth) argument 88 default_RAND_meth = meth; 135 const RAND_METHOD *meth = RAND_get_rand_method(); local 136 if (meth && meth->cleanup) 137 meth->cleanup(); 143 const RAND_METHOD *meth = RAND_get_rand_method(); local 144 if (meth && meth->seed) 145 meth 150 const RAND_METHOD *meth = RAND_get_rand_method(); local 157 const RAND_METHOD *meth = RAND_get_rand_method(); local 165 const RAND_METHOD *meth = RAND_get_rand_method(); local 173 const RAND_METHOD *meth = RAND_get_rand_method(); local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/dso/ |
H A D | dso_lib.c | 72 void DSO_set_default_method(DSO_METHOD *meth) argument 74 default_DSO_meth = meth; 84 return (dso->meth); 87 DSO_METHOD *DSO_set_method(DSO *dso, DSO_METHOD *meth) argument 90 mtmp = dso->meth; 91 dso->meth = meth; 95 DSO *DSO_new_method(DSO_METHOD *meth) argument 119 if (meth == NULL) 120 ret->meth 190 DSO_load(DSO *dso, const char *filename, DSO_METHOD *meth, int flags) argument 428 DSO_METHOD *meth = default_DSO_meth; local 440 DSO_METHOD *meth = default_DSO_meth; local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/dsa/ |
H A D | dsa_vrf.c | 68 if (FIPS_mode() && !(dsa->meth->flags & DSA_FLAG_FIPS_METHOD) 74 return dsa->meth->dsa_do_verify(dgst, dgst_len, sig, dsa);
|
H A D | dsa_lib.c | 81 void DSA_set_default_method(const DSA_METHOD *meth) argument 83 default_DSA_method = meth; 106 int DSA_set_method(DSA *dsa, const DSA_METHOD *meth) argument 113 mtmp = dsa->meth; 122 dsa->meth = meth; 123 if (meth->init) 124 meth->init(dsa); 137 ret->meth = DSA_get_default_method(); 149 ret->meth [all...] |
H A D | dsa_sign.c | 69 if (FIPS_mode() && !(dsa->meth->flags & DSA_FLAG_FIPS_METHOD) 75 return dsa->meth->dsa_do_sign(dgst, dlen, dsa); 81 if (FIPS_mode() && !(dsa->meth->flags & DSA_FLAG_FIPS_METHOD) 87 return dsa->meth->dsa_sign_setup(dsa, ctx_in, kinvp, rp);
|
H A D | dsa_key.c | 76 if (FIPS_mode() && !(dsa->meth->flags & DSA_FLAG_FIPS_METHOD) 82 if (dsa->meth->dsa_keygen) 83 return dsa->meth->dsa_keygen(dsa);
|
/freebsd-11-stable/crypto/openssl/crypto/x509v3/ |
H A D | v3_int.c | 80 static void *s2i_asn1_int(X509V3_EXT_METHOD *meth, X509V3_CTX *ctx, argument 83 return s2i_ASN1_INTEGER(meth, value);
|
/freebsd-11-stable/crypto/openssl/crypto/ecdh/ |
H A D | ech_lib.c | 88 void ECDH_set_default_method(const ECDH_METHOD *meth) argument 90 default_ECDH_method = meth; 108 int ECDH_set_method(EC_KEY *eckey, const ECDH_METHOD *meth) argument 118 mtmp = ecdh->meth; 128 ecdh->meth = meth; 130 if (meth->init) 131 meth->init(eckey); 148 ret->meth = ECDH_get_default_method(); 154 ret->meth [all...] |
H A D | ech_key.c | 80 return ecdh->meth->compute_key(out, outlen, pub_key, eckey, KDF);
|
H A D | ech_locl.h | 94 const ECDH_METHOD *meth; member in struct:ecdh_data_st
|
/freebsd-11-stable/crypto/openssl/crypto/rsa/ |
H A D | rsa_lib.c | 85 void RSA_set_default_method(const RSA_METHOD *meth) argument 87 default_RSA_meth = meth; 112 return rsa->meth; 115 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth) argument 122 mtmp = rsa->meth; 131 rsa->meth = meth; 132 if (meth->init) 133 meth->init(rsa); 148 ret->meth [all...] |
H A D | rsa_crpt.c | 79 if (FIPS_mode() && !(rsa->meth->flags & RSA_FLAG_FIPS_METHOD) 85 return (rsa->meth->rsa_pub_enc(flen, from, to, rsa, padding)); 92 if (FIPS_mode() && !(rsa->meth->flags & RSA_FLAG_FIPS_METHOD) 98 return (rsa->meth->rsa_priv_enc(flen, from, to, rsa, padding)); 105 if (FIPS_mode() && !(rsa->meth->flags & RSA_FLAG_FIPS_METHOD) 111 return (rsa->meth->rsa_priv_dec(flen, from, to, rsa, padding)); 118 if (FIPS_mode() && !(rsa->meth->flags & RSA_FLAG_FIPS_METHOD) 124 return (rsa->meth->rsa_pub_dec(flen, from, to, rsa, padding)); 129 return ((r == NULL) ? 0 : r->meth->flags); 233 rsa->meth [all...] |
/freebsd-11-stable/crypto/openssl/crypto/dh/ |
H A D | dh_lib.c | 75 void DH_set_default_method(const DH_METHOD *meth) argument 77 default_DH_method = meth; 95 int DH_set_method(DH *dh, const DH_METHOD *meth) argument 102 mtmp = dh->meth; 111 dh->meth = meth; 112 if (meth->init) 113 meth->init(dh); 132 ret->meth = DH_get_default_method(); 144 ret->meth [all...] |
/freebsd-11-stable/crypto/openssl/crypto/conf/ |
H A D | conf_lib.c | 87 int CONF_set_default_method(CONF_METHOD *meth) argument 89 default_CONF_method = meth; 228 CONF *NCONF_new(CONF_METHOD *meth) argument 232 if (meth == NULL) 233 meth = NCONF_default(); 235 ret = meth->create(meth); 248 conf->meth->destroy(conf); 255 conf->meth->destroy_data(conf); 265 return conf->meth [all...] |
/freebsd-11-stable/crypto/openssl/crypto/ecdsa/ |
H A D | ecs_lib.c | 75 void ECDSA_set_default_method(const ECDSA_METHOD *meth) argument 77 default_ECDSA_method = meth; 95 int ECDSA_set_method(EC_KEY *eckey, const ECDSA_METHOD *meth) argument 110 ecdsa->meth = meth; 127 ret->meth = ECDSA_get_default_method(); 133 ret->meth = ENGINE_get_ECDSA(ret->engine); 134 if (!ret->meth) { 143 ret->flags = ret->meth->flags; 146 if ((ret->meth [all...] |
/freebsd-11-stable/crypto/openssl/apps/ |
H A D | ciphers.c | 97 const SSL_METHOD *meth = NULL; local 102 meth = SSLv23_server_method(); 131 meth = SSLv2_client_method(); 135 meth = SSLv3_client_method(); 139 meth = TLSv1_client_method(); 159 ctx = SSL_CTX_new(meth);
|
/freebsd-11-stable/crypto/openssl/engines/ |
H A D | e_ubsec.c | 628 const RSA_METHOD *meth = RSA_PKCS1_SSLeay(); local 629 to_return = (*meth->rsa_mod_exp) (r0, I, rsa, ctx); 730 const RSA_METHOD *meth = RSA_PKCS1_SSLeay(); local 731 ret = (*meth->bn_mod_exp) (r, a, p, m, ctx, m_ctx); 779 const DSA_METHOD *meth; local 782 meth = DSA_OpenSSL(); 783 to_return = meth->dsa_do_sign(dgst, dlen, dsa); 802 const DSA_METHOD *meth; local 806 meth = DSA_OpenSSL(); 807 to_return = meth 857 const DSA_METHOD *meth; local 880 const DSA_METHOD *meth; local 908 const DH_METHOD *meth; local 924 const DH_METHOD *meth; local 980 const DH_METHOD *meth; local 998 const DH_METHOD *meth; local 1028 const RAND_METHOD *meth; local 1041 const RAND_METHOD *meth; local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/store/ |
H A D | str_locl.h | 115 const STORE_METHOD *meth; member in struct:store_st 116 /* functional reference if 'meth' is ENGINE-provided */
|