Searched refs:new_ctx (Results 1 – 9 of 9) sorted by relevance
94 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_set_compressed_coordinates() local103 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() local213 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 …]
179 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_set_curve() local191 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_set_curve()224 if (new_ctx != NULL) in ec_GFp_simple_group_set_curve()225 BN_CTX_free(new_ctx); in ec_GFp_simple_group_set_curve()233 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_get_curve() local246 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_get_curve()275 if (new_ctx) in ec_GFp_simple_group_get_curve()276 BN_CTX_free(new_ctx); in ec_GFp_simple_group_get_curve()292 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_check_discriminant() local296 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_check_discriminant()[all …]
73 BN_CTX *new_ctx = NULL; in ec_GFp_simple_set_compressed_coordinates() local82 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() local247 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 …]
270 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_group_check_discriminant() local274 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_group_check_discriminant()297 if (new_ctx != NULL) in ec_GF2m_simple_group_check_discriminant()298 BN_CTX_free(new_ctx); in ec_GF2m_simple_group_check_discriminant()422 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_add() local440 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_add()513 if (new_ctx != NULL) in ec_GF2m_simple_add()514 BN_CTX_free(new_ctx); in ec_GF2m_simple_add()553 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_is_on_curve() local569 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_is_on_curve()[all …]
63 BN_CTX *new_ctx = NULL; in EC_GROUP_check() local68 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()
133 BN_CTX *new_ctx = NULL; in ec_GFp_nist_group_set_curve() local137 if ((ctx = new_ctx = BN_CTX_new()) == NULL) return 0; in ec_GFp_nist_group_set_curve()162 if (new_ctx != NULL) in ec_GFp_nist_group_set_curve()163 BN_CTX_free(new_ctx); in ec_GFp_nist_group_set_curve()
206 BN_CTX *new_ctx = NULL; in ec_GFp_mont_group_set_curve() local224 ctx = new_ctx = BN_CTX_new(); in ec_GFp_mont_group_set_curve()256 if (new_ctx != NULL) in ec_GFp_mont_group_set_curve()257 BN_CTX_free(new_ctx); in ec_GFp_mont_group_set_curve()
349 BN_CTX *new_ctx = NULL; in ec_wNAF_mul() local394 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() local791 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()
320 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_mul() local328 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_mul()371 if (new_ctx != NULL) in ec_GF2m_simple_mul()372 BN_CTX_free(new_ctx); in ec_GF2m_simple_mul()