Home
last modified time | relevance | path

Searched refs:new_ctx (Results 1 – 23 of 23) sorted by relevance

/external/openssl/crypto/ec/
Dec2_oct.c94 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_set_compressed_coordinates() local
103 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_set_compressed_coordinates()
155 if (new_ctx != NULL) in ec_GF2m_simple_set_compressed_coordinates()
156 BN_CTX_free(new_ctx); in ec_GF2m_simple_set_compressed_coordinates()
169 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_point2oct() local
213 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_point2oct()
281 if (new_ctx != NULL) in ec_GF2m_simple_point2oct()
282 BN_CTX_free(new_ctx); in ec_GF2m_simple_point2oct()
288 if (new_ctx != NULL) in ec_GF2m_simple_point2oct()
289 BN_CTX_free(new_ctx); in ec_GF2m_simple_point2oct()
[all …]
Decp_smpl.c180 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_set_curve() local
192 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_set_curve()
225 if (new_ctx != NULL) in ec_GFp_simple_group_set_curve()
226 BN_CTX_free(new_ctx); in ec_GFp_simple_group_set_curve()
234 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_get_curve() local
247 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_get_curve()
276 if (new_ctx) in ec_GFp_simple_group_get_curve()
277 BN_CTX_free(new_ctx); in ec_GFp_simple_group_get_curve()
293 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_check_discriminant() local
297 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_check_discriminant()
[all …]
Decp_oct.c73 BN_CTX *new_ctx = NULL; in ec_GFp_simple_set_compressed_coordinates() local
82 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_set_compressed_coordinates()
193 if (new_ctx != NULL) in ec_GFp_simple_set_compressed_coordinates()
194 BN_CTX_free(new_ctx); in ec_GFp_simple_set_compressed_coordinates()
203 BN_CTX *new_ctx = NULL; in ec_GFp_simple_point2oct() local
247 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point2oct()
312 if (new_ctx != NULL) in ec_GFp_simple_point2oct()
313 BN_CTX_free(new_ctx); in ec_GFp_simple_point2oct()
319 if (new_ctx != NULL) in ec_GFp_simple_point2oct()
320 BN_CTX_free(new_ctx); in ec_GFp_simple_point2oct()
[all …]
Dec2_smpl.c271 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_group_check_discriminant() local
275 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_group_check_discriminant()
298 if (new_ctx != NULL) in ec_GF2m_simple_group_check_discriminant()
299 BN_CTX_free(new_ctx); in ec_GF2m_simple_group_check_discriminant()
423 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_add() local
441 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_add()
514 if (new_ctx != NULL) in ec_GF2m_simple_add()
515 BN_CTX_free(new_ctx); in ec_GF2m_simple_add()
554 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_is_on_curve() local
570 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_is_on_curve()
[all …]
Dec_check.c63 BN_CTX *new_ctx = NULL; in EC_GROUP_check() local
68 ctx = new_ctx = BN_CTX_new(); in EC_GROUP_check()
118 if (new_ctx != NULL) in EC_GROUP_check()
119 BN_CTX_free(new_ctx); in EC_GROUP_check()
Decp_nist.c134 BN_CTX *new_ctx = NULL; in ec_GFp_nist_group_set_curve() local
138 if ((ctx = new_ctx = BN_CTX_new()) == NULL) return 0; in ec_GFp_nist_group_set_curve()
163 if (new_ctx != NULL) in ec_GFp_nist_group_set_curve()
164 BN_CTX_free(new_ctx); in ec_GFp_nist_group_set_curve()
Decp_mont.c207 BN_CTX *new_ctx = NULL; in ec_GFp_mont_group_set_curve() local
225 ctx = new_ctx = BN_CTX_new(); in ec_GFp_mont_group_set_curve()
257 if (new_ctx != NULL) in ec_GFp_mont_group_set_curve()
258 BN_CTX_free(new_ctx); in ec_GFp_mont_group_set_curve()
Dec_mult.c349 BN_CTX *new_ctx = NULL; in ec_wNAF_mul() local
394 ctx = new_ctx = BN_CTX_new(); in ec_wNAF_mul()
714 if (new_ctx != NULL) in ec_wNAF_mul()
715 BN_CTX_free(new_ctx); in ec_wNAF_mul()
769 BN_CTX *new_ctx = NULL; in ec_wNAF_precompute_mult() local
791 ctx = new_ctx = BN_CTX_new(); in ec_wNAF_precompute_mult()
914 if (new_ctx != NULL) in ec_wNAF_precompute_mult()
915 BN_CTX_free(new_ctx); in ec_wNAF_precompute_mult()
Dec2_mult.c325 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_mul() local
333 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_mul()
376 if (new_ctx != NULL) in ec_GF2m_simple_mul()
377 BN_CTX_free(new_ctx); in ec_GF2m_simple_mul()
/external/chromium_org/third_party/boringssl/src/crypto/ec/
Dsimple.c168 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_set_curve() local
178 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_set_curve()
218 if (new_ctx != NULL) in ec_GFp_simple_group_set_curve()
219 BN_CTX_free(new_ctx); in ec_GFp_simple_group_set_curve()
226 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_get_curve() local
236 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_get_curve()
263 if (new_ctx) in ec_GFp_simple_group_get_curve()
264 BN_CTX_free(new_ctx); in ec_GFp_simple_group_get_curve()
276 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_check_discriminant() local
279 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_check_discriminant()
[all …]
Doct.c81 BN_CTX *new_ctx = NULL; in ec_GFp_simple_point2oct() local
119 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point2oct()
182 if (new_ctx != NULL) in ec_GFp_simple_point2oct()
183 BN_CTX_free(new_ctx); in ec_GFp_simple_point2oct()
189 if (new_ctx != NULL) in ec_GFp_simple_point2oct()
190 BN_CTX_free(new_ctx); in ec_GFp_simple_point2oct()
200 BN_CTX *new_ctx = NULL; in ec_GFp_simple_oct2point() local
242 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_oct2point()
291 if (new_ctx != NULL) in ec_GFp_simple_oct2point()
292 BN_CTX_free(new_ctx); in ec_GFp_simple_oct2point()
[all …]
Dec_montgomery.c191 BN_CTX *new_ctx = NULL; in ec_GFp_mont_group_set_curve() local
206 ctx = new_ctx = BN_CTX_new(); in ec_GFp_mont_group_set_curve()
239 if (new_ctx != NULL) in ec_GFp_mont_group_set_curve()
240 BN_CTX_free(new_ctx); in ec_GFp_mont_group_set_curve()
Dwnaf.c299 BN_CTX *new_ctx = NULL; in ec_wNAF_mul() local
341 ctx = new_ctx = BN_CTX_new(); in ec_wNAF_mul()
626 if (new_ctx != NULL) in ec_wNAF_mul()
627 BN_CTX_free(new_ctx); in ec_wNAF_mul()
680 BN_CTX *new_ctx = NULL; in ec_wNAF_precompute_mult() local
703 ctx = new_ctx = BN_CTX_new(); in ec_wNAF_precompute_mult()
818 if (new_ctx != NULL) in ec_wNAF_precompute_mult()
819 BN_CTX_free(new_ctx); in ec_wNAF_precompute_mult()
/external/jemalloc/src/
Dprof.c499 bool new_ctx; in prof_lookup_global() local
523 new_ctx = true; in prof_lookup_global()
532 new_ctx = false; in prof_lookup_global()
538 *p_new_ctx = new_ctx; in prof_lookup_global()
560 bool new_ctx; in prof_lookup() local
566 if (prof_lookup_global(bt, prof_tdata, &btkey, &ctx, &new_ctx)) in prof_lookup()
589 if (new_ctx) in prof_lookup()
601 if (new_ctx) in prof_lookup()
/external/chromium_org/third_party/mesa/src/src/glsl/
Dralloc.h235 void ralloc_steal(const void *new_ctx, void *ptr);
Dralloc.c249 ralloc_steal(const void *new_ctx, void *ptr) in ralloc_steal() argument
257 parent = get_header(new_ctx); in ralloc_steal()
Dir.cpp1646 steal_memory(ir_instruction *ir, void *new_ctx) in steal_memory() argument
1672 ralloc_steal(new_ctx, ir); in steal_memory()
/external/mesa3d/src/glsl/
Dralloc.h235 void ralloc_steal(const void *new_ctx, void *ptr);
Dralloc.c249 ralloc_steal(const void *new_ctx, void *ptr) in ralloc_steal() argument
257 parent = get_header(new_ctx); in ralloc_steal()
Dir.cpp1646 steal_memory(ir_instruction *ir, void *new_ctx) in steal_memory() argument
1672 ralloc_steal(new_ctx, ir); in steal_memory()
/external/chromium_org/third_party/webrtc/base/
Dnssstreamadapter.cc957 scoped_ptr<NSSContext> new_ctx(new NSSContext()); in Instance() local
958 new_ctx->slot_ = PK11_GetInternalSlot(); in Instance()
959 if (new_ctx->slot_) in Instance()
960 global_nss_context = new_ctx.release(); in Instance()
/external/chromium_org/third_party/mesa/src/src/glx/
Dglxclient.h217 void (*unbind)(struct glx_context *context, struct glx_context *new_ctx);
/external/mesa3d/src/glx/
Dglxclient.h217 void (*unbind)(struct glx_context *context, struct glx_context *new_ctx);