Home
last modified time | relevance | path

Searched refs:meth (Results 1 – 25 of 252) sorted by relevance

1234567891011

/external/chromium_org/third_party/openssl/openssl/crypto/ec/
Dec_lib.c76 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) in EC_GROUP_new() argument
80 if (meth == NULL) in EC_GROUP_new()
85 if (meth->group_init == 0) in EC_GROUP_new()
98 ret->meth = meth; in EC_GROUP_new()
113 if (!meth->group_init(ret)) in EC_GROUP_new()
127 if (group->meth->group_finish != 0) in EC_GROUP_free()
128 group->meth->group_finish(group); in EC_GROUP_free()
148 if (group->meth->group_clear_finish != 0) in EC_GROUP_clear_free()
149 group->meth->group_clear_finish(group); in EC_GROUP_clear_free()
150 else if (group->meth->group_finish != 0) in EC_GROUP_clear_free()
[all …]
Dec_oct.c74 if (group->meth->point_set_compressed_coordinates == 0 in EC_POINT_set_compressed_coordinates_GFp()
75 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) in EC_POINT_set_compressed_coordinates_GFp()
80 if (group->meth != point->meth) in EC_POINT_set_compressed_coordinates_GFp()
85 if(group->meth->flags & EC_FLAGS_DEFAULT_OCT) in EC_POINT_set_compressed_coordinates_GFp()
87 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_set_compressed_coordinates_GFp()
101 return group->meth->point_set_compressed_coordinates(group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates_GFp()
108 if (group->meth->point_set_compressed_coordinates == 0 in EC_POINT_set_compressed_coordinates_GF2m()
109 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) in EC_POINT_set_compressed_coordinates_GF2m()
114 if (group->meth != point->meth) in EC_POINT_set_compressed_coordinates_GF2m()
119 if(group->meth->flags & EC_FLAGS_DEFAULT_OCT) in EC_POINT_set_compressed_coordinates_GF2m()
[all …]
Dec2_mult.c94 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; in gf2m_Mdouble()
95 if (!group->meth->field_sqr(group, t1, z, ctx)) goto err; in gf2m_Mdouble()
96 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err; in gf2m_Mdouble()
97 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; in gf2m_Mdouble()
98 if (!group->meth->field_sqr(group, t1, t1, ctx)) goto err; in gf2m_Mdouble()
99 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) goto err; in gf2m_Mdouble()
128 if (!group->meth->field_mul(group, x1, x1, z2, ctx)) goto err; in gf2m_Madd()
129 if (!group->meth->field_mul(group, z1, z1, x2, ctx)) goto err; in gf2m_Madd()
130 if (!group->meth->field_mul(group, t2, x1, z1, ctx)) goto err; in gf2m_Madd()
132 if (!group->meth->field_sqr(group, z1, z1, ctx)) goto err; in gf2m_Madd()
[all …]
Dec_cvt.c78 const EC_METHOD *meth; in EC_GROUP_new_curve_GFp() local
103 meth = EC_GFp_mont_method(); in EC_GROUP_new_curve_GFp()
105 meth = EC_GFp_nist_method(); in EC_GROUP_new_curve_GFp()
108 ret = EC_GROUP_new(meth); in EC_GROUP_new_curve_GFp()
134 meth = EC_GFp_mont_method(); in EC_GROUP_new_curve_GFp()
136 ret = EC_GROUP_new(meth); in EC_GROUP_new_curve_GFp()
153 const EC_METHOD *meth; in EC_GROUP_new_curve_GF2m() local
156 meth = EC_GF2m_simple_method(); in EC_GROUP_new_curve_GF2m()
158 ret = EC_GROUP_new(meth); in EC_GROUP_new_curve_GF2m()
/external/openssl/crypto/ec/
Dec_lib.c76 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) in EC_GROUP_new() argument
80 if (meth == NULL) in EC_GROUP_new()
85 if (meth->group_init == 0) in EC_GROUP_new()
98 ret->meth = meth; in EC_GROUP_new()
113 if (!meth->group_init(ret)) in EC_GROUP_new()
127 if (group->meth->group_finish != 0) in EC_GROUP_free()
128 group->meth->group_finish(group); in EC_GROUP_free()
148 if (group->meth->group_clear_finish != 0) in EC_GROUP_clear_free()
149 group->meth->group_clear_finish(group); in EC_GROUP_clear_free()
150 else if (group->meth->group_finish != 0) in EC_GROUP_clear_free()
[all …]
Dec_oct.c74 if (group->meth->point_set_compressed_coordinates == 0 in EC_POINT_set_compressed_coordinates_GFp()
75 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) in EC_POINT_set_compressed_coordinates_GFp()
80 if (group->meth != point->meth) in EC_POINT_set_compressed_coordinates_GFp()
85 if(group->meth->flags & EC_FLAGS_DEFAULT_OCT) in EC_POINT_set_compressed_coordinates_GFp()
87 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_set_compressed_coordinates_GFp()
101 return group->meth->point_set_compressed_coordinates(group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates_GFp()
108 if (group->meth->point_set_compressed_coordinates == 0 in EC_POINT_set_compressed_coordinates_GF2m()
109 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) in EC_POINT_set_compressed_coordinates_GF2m()
114 if (group->meth != point->meth) in EC_POINT_set_compressed_coordinates_GF2m()
119 if(group->meth->flags & EC_FLAGS_DEFAULT_OCT) in EC_POINT_set_compressed_coordinates_GF2m()
[all …]
Dec2_mult.c94 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; in gf2m_Mdouble()
95 if (!group->meth->field_sqr(group, t1, z, ctx)) goto err; in gf2m_Mdouble()
96 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err; in gf2m_Mdouble()
97 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; in gf2m_Mdouble()
98 if (!group->meth->field_sqr(group, t1, t1, ctx)) goto err; in gf2m_Mdouble()
99 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) goto err; in gf2m_Mdouble()
128 if (!group->meth->field_mul(group, x1, x1, z2, ctx)) goto err; in gf2m_Madd()
129 if (!group->meth->field_mul(group, z1, z1, x2, ctx)) goto err; in gf2m_Madd()
130 if (!group->meth->field_mul(group, t2, x1, z1, ctx)) goto err; in gf2m_Madd()
132 if (!group->meth->field_sqr(group, z1, z1, ctx)) goto err; in gf2m_Madd()
[all …]
Dec_cvt.c78 const EC_METHOD *meth; in EC_GROUP_new_curve_GFp() local
103 meth = EC_GFp_mont_method(); in EC_GROUP_new_curve_GFp()
105 meth = EC_GFp_nist_method(); in EC_GROUP_new_curve_GFp()
108 ret = EC_GROUP_new(meth); in EC_GROUP_new_curve_GFp()
134 meth = EC_GFp_mont_method(); in EC_GROUP_new_curve_GFp()
136 ret = EC_GROUP_new(meth); in EC_GROUP_new_curve_GFp()
153 const EC_METHOD *meth; in EC_GROUP_new_curve_GF2m() local
156 meth = EC_GF2m_simple_method(); in EC_GROUP_new_curve_GF2m()
158 ret = EC_GROUP_new(meth); in EC_GROUP_new_curve_GF2m()
/external/openssl/crypto/rand/
Drand_lib.c79 int RAND_set_rand_method(const RAND_METHOD *meth) in RAND_set_rand_method() argument
88 default_RAND_meth = meth; in RAND_set_rand_method()
140 const RAND_METHOD *meth = RAND_get_rand_method(); in RAND_cleanup() local
141 if (meth && meth->cleanup) in RAND_cleanup()
142 meth->cleanup(); in RAND_cleanup()
148 const RAND_METHOD *meth = RAND_get_rand_method(); in RAND_seed() local
149 if (meth && meth->seed) in RAND_seed()
150 meth->seed(buf,num); in RAND_seed()
155 const RAND_METHOD *meth = RAND_get_rand_method(); in RAND_add() local
156 if (meth && meth->add) in RAND_add()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/rand/
Drand_lib.c79 int RAND_set_rand_method(const RAND_METHOD *meth) in RAND_set_rand_method() argument
88 default_RAND_meth = meth; in RAND_set_rand_method()
140 const RAND_METHOD *meth = RAND_get_rand_method(); in RAND_cleanup() local
141 if (meth && meth->cleanup) in RAND_cleanup()
142 meth->cleanup(); in RAND_cleanup()
148 const RAND_METHOD *meth = RAND_get_rand_method(); in RAND_seed() local
149 if (meth && meth->seed) in RAND_seed()
150 meth->seed(buf,num); in RAND_seed()
155 const RAND_METHOD *meth = RAND_get_rand_method(); in RAND_add() local
156 if (meth && meth->add) in RAND_add()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/dso/
Ddso_lib.c71 void DSO_set_default_method(DSO_METHOD *meth) in DSO_set_default_method() argument
73 default_DSO_meth = meth; in DSO_set_default_method()
83 return(dso->meth); in DSO_get_method()
86 DSO_METHOD *DSO_set_method(DSO *dso, DSO_METHOD *meth) in DSO_set_method() argument
89 mtmp = dso->meth; in DSO_set_method()
90 dso->meth = meth; in DSO_set_method()
94 DSO *DSO_new_method(DSO_METHOD *meth) in DSO_new_method() argument
118 if(meth == NULL) in DSO_new_method()
119 ret->meth = default_DSO_meth; in DSO_new_method()
121 ret->meth = meth; in DSO_new_method()
[all …]
/external/openssl/crypto/dso/
Ddso_lib.c71 void DSO_set_default_method(DSO_METHOD *meth) in DSO_set_default_method() argument
73 default_DSO_meth = meth; in DSO_set_default_method()
83 return(dso->meth); in DSO_get_method()
86 DSO_METHOD *DSO_set_method(DSO *dso, DSO_METHOD *meth) in DSO_set_method() argument
89 mtmp = dso->meth; in DSO_set_method()
90 dso->meth = meth; in DSO_set_method()
94 DSO *DSO_new_method(DSO_METHOD *meth) in DSO_new_method() argument
118 if(meth == NULL) in DSO_new_method()
119 ret->meth = default_DSO_meth; in DSO_new_method()
121 ret->meth = meth; in DSO_new_method()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/comp/
Dcomp_lib.c7 COMP_CTX *COMP_CTX_new(COMP_METHOD *meth) in COMP_CTX_new() argument
17 ret->meth=meth; in COMP_CTX_new()
18 if ((ret->meth->init != NULL) && !ret->meth->init(ret)) in COMP_CTX_new()
31 if (ctx->meth->finish != NULL) in COMP_CTX_free()
32 ctx->meth->finish(ctx); in COMP_CTX_free()
41 if (ctx->meth->compress == NULL) in COMP_compress_block()
46 ret=ctx->meth->compress(ctx,out,olen,in,ilen); in COMP_compress_block()
60 if (ctx->meth->expand == NULL) in COMP_expand_block()
65 ret=ctx->meth->expand(ctx,out,olen,in,ilen); in COMP_expand_block()
/external/openssl/crypto/comp/
Dcomp_lib.c7 COMP_CTX *COMP_CTX_new(COMP_METHOD *meth) in COMP_CTX_new() argument
17 ret->meth=meth; in COMP_CTX_new()
18 if ((ret->meth->init != NULL) && !ret->meth->init(ret)) in COMP_CTX_new()
31 if (ctx->meth->finish != NULL) in COMP_CTX_free()
32 ctx->meth->finish(ctx); in COMP_CTX_free()
41 if (ctx->meth->compress == NULL) in COMP_compress_block()
46 ret=ctx->meth->compress(ctx,out,olen,in,ilen); in COMP_compress_block()
60 if (ctx->meth->expand == NULL) in COMP_expand_block()
65 ret=ctx->meth->expand(ctx,out,olen,in,ilen); in COMP_expand_block()
/external/clang/test/Index/
Dcursor-dynamic-call.mm3 virtual void meth(); field
8 this->meth();
9 SB::meth();
14 -(void)meth; method
25 [self meth];
26 [super meth];
34 ss->meth();
35 [is meth];
51 // CHECK: 8:11 MemberRefExpr=meth:3:16 {{.*}} Dynamic-call
53 // CHECK: 25:3 ObjCMessageExpr=meth:14:8 {{.*}} Dynamic-call Receiver-type=ObjCObjectPointer
[all …]
Doverrides.m43 -(void)meth; method in cat
50 -(void)meth { } method
61 -(void)meth; method
72 -(void)meth; method in readwrite
88 -(void)meth; method
92 -(void)meth; method in cat
96 -(void)meth{} method
107 // CHECK: overrides.m:50:8: ObjCInstanceMethodDecl=meth:50:8 (Definition) [Overrides @43:8]
114 // CHECK: overrides.m:72:8: ObjCInstanceMethodDecl=meth:72:8 [Overrides @61:8] Extent=[72:1 - 72:13]
117 // CHECK: overrides.m:92:8: ObjCInstanceMethodDecl=meth:92:8 Extent=[92:1 - 92:13]
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/dh/
Ddh_lib.c75 void DH_set_default_method(const DH_METHOD *meth) in DH_set_default_method() argument
77 default_DH_method = meth; in DH_set_default_method()
96 int DH_set_method(DH *dh, const DH_METHOD *meth) in DH_set_method() argument
101 mtmp = dh->meth; in DH_set_method()
110 dh->meth = meth; in DH_set_method()
111 if (meth->init) meth->init(dh); in DH_set_method()
131 ret->meth = DH_get_default_method(); in DH_new_method()
147 ret->meth = ENGINE_get_DH(ret->engine); in DH_new_method()
148 if(!ret->meth) in DH_new_method()
172 ret->flags=ret->meth->flags & ~DH_FLAG_NON_FIPS_ALLOW; in DH_new_method()
[all …]
/external/openssl/crypto/dh/
Ddh_lib.c75 void DH_set_default_method(const DH_METHOD *meth) in DH_set_default_method() argument
77 default_DH_method = meth; in DH_set_default_method()
96 int DH_set_method(DH *dh, const DH_METHOD *meth) in DH_set_method() argument
101 mtmp = dh->meth; in DH_set_method()
110 dh->meth = meth; in DH_set_method()
111 if (meth->init) meth->init(dh); in DH_set_method()
131 ret->meth = DH_get_default_method(); in DH_new_method()
147 ret->meth = ENGINE_get_DH(ret->engine); in DH_new_method()
148 if(!ret->meth) in DH_new_method()
172 ret->flags=ret->meth->flags & ~DH_FLAG_NON_FIPS_ALLOW; in DH_new_method()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/ecdh/
Dech_lib.c88 void ECDH_set_default_method(const ECDH_METHOD *meth) in ECDH_set_default_method() argument
90 default_ECDH_method = meth; in ECDH_set_default_method()
109 int ECDH_set_method(EC_KEY *eckey, const ECDH_METHOD *meth) in ECDH_set_method() argument
119 mtmp = ecdh->meth; in ECDH_set_method()
130 ecdh->meth = meth; in ECDH_set_method()
132 if (meth->init) in ECDH_set_method()
133 meth->init(eckey); in ECDH_set_method()
151 ret->meth = ECDH_get_default_method(); in ECDH_DATA_new_method()
158 ret->meth = ENGINE_get_ECDH(ret->engine); in ECDH_DATA_new_method()
159 if (!ret->meth) in ECDH_DATA_new_method()
[all …]
/external/openssl/crypto/ecdh/
Dech_lib.c88 void ECDH_set_default_method(const ECDH_METHOD *meth) in ECDH_set_default_method() argument
90 default_ECDH_method = meth; in ECDH_set_default_method()
109 int ECDH_set_method(EC_KEY *eckey, const ECDH_METHOD *meth) in ECDH_set_method() argument
119 mtmp = ecdh->meth; in ECDH_set_method()
130 ecdh->meth = meth; in ECDH_set_method()
132 if (meth->init) in ECDH_set_method()
133 meth->init(eckey); in ECDH_set_method()
151 ret->meth = ECDH_get_default_method(); in ECDH_DATA_new_method()
158 ret->meth = ENGINE_get_ECDH(ret->engine); in ECDH_DATA_new_method()
159 if (!ret->meth) in ECDH_DATA_new_method()
[all …]
/external/clang/test/SemaObjC/
Dmethod-undefined-warn-1.m4 - (void) meth; method
5 - (void) meth : (int) arg1;
14 - (void) meth {} method
15 - (void) meth : (int) arg2{}
20 - (void) meth; method
21 - (void) meth : (int) arg1;
30 - (void) meth {} method
31 - (void) meth : (int) arg2{}
36 - (void) meth; method
37 - (void) meth : (int) arg1;
[all …]
/external/openssl/crypto/dsa/
Ddsa_lib.c81 void DSA_set_default_method(const DSA_METHOD *meth) in DSA_set_default_method() argument
83 default_DSA_method = meth; in DSA_set_default_method()
107 int DSA_set_method(DSA *dsa, const DSA_METHOD *meth) in DSA_set_method() argument
112 mtmp = dsa->meth; in DSA_set_method()
121 dsa->meth = meth; in DSA_set_method()
122 if (meth->init) meth->init(dsa); in DSA_set_method()
136 ret->meth = DSA_get_default_method(); in DSA_new_method()
152 ret->meth = ENGINE_get_DSA(ret->engine); in DSA_new_method()
153 if(!ret->meth) in DSA_new_method()
179 ret->flags=ret->meth->flags & ~DSA_FLAG_NON_FIPS_ALLOW; in DSA_new_method()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/
Ddsa_lib.c81 void DSA_set_default_method(const DSA_METHOD *meth) in DSA_set_default_method() argument
83 default_DSA_method = meth; in DSA_set_default_method()
107 int DSA_set_method(DSA *dsa, const DSA_METHOD *meth) in DSA_set_method() argument
112 mtmp = dsa->meth; in DSA_set_method()
121 dsa->meth = meth; in DSA_set_method()
122 if (meth->init) meth->init(dsa); in DSA_set_method()
136 ret->meth = DSA_get_default_method(); in DSA_new_method()
152 ret->meth = ENGINE_get_DSA(ret->engine); in DSA_new_method()
153 if(!ret->meth) in DSA_new_method()
179 ret->flags=ret->meth->flags & ~DSA_FLAG_NON_FIPS_ALLOW; in DSA_new_method()
[all …]
/external/openssl/crypto/rsa/
Drsa_lib.c85 void RSA_set_default_method(const RSA_METHOD *meth) in RSA_set_default_method() argument
87 default_RSA_meth = meth; in RSA_set_default_method()
113 return rsa->meth; in RSA_get_method()
116 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth) in RSA_set_method() argument
121 mtmp = rsa->meth; in RSA_set_method()
130 rsa->meth = meth; in RSA_set_method()
131 if (meth->init) meth->init(rsa); in RSA_set_method()
146 ret->meth = RSA_get_default_method(); in RSA_new_method()
162 ret->meth = ENGINE_get_RSA(ret->engine); in RSA_new_method()
163 if(!ret->meth) in RSA_new_method()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/
Drsa_lib.c85 void RSA_set_default_method(const RSA_METHOD *meth) in RSA_set_default_method() argument
87 default_RSA_meth = meth; in RSA_set_default_method()
113 return rsa->meth; in RSA_get_method()
116 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth) in RSA_set_method() argument
121 mtmp = rsa->meth; in RSA_set_method()
130 rsa->meth = meth; in RSA_set_method()
131 if (meth->init) meth->init(rsa); in RSA_set_method()
146 ret->meth = RSA_get_default_method(); in RSA_new_method()
162 ret->meth = ENGINE_get_RSA(ret->engine); in RSA_new_method()
163 if(!ret->meth) in RSA_new_method()
[all …]

1234567891011