Lines Matching refs:bsize

2072     size_t bsize;  in ossl_parameter_test()  local
2125 || !TEST_size_t_gt(bsize = EC_POINT_point2oct( in ossl_parameter_test()
2128 || !TEST_ptr(buf2 = OPENSSL_malloc(bsize)) in ossl_parameter_test()
2131 POINT_CONVERSION_UNCOMPRESSED, buf2, bsize, bn_ctx), bsize) in ossl_parameter_test()
2133 bld, OSSL_PKEY_PARAM_EC_GENERATOR, buf2, bsize)) in ossl_parameter_test()
2725 int ret = 0, nid, bsize; in custom_generator_test() local
2744 bsize = (EC_GROUP_get_degree(group) + 7) / 8; in custom_generator_test()
2745 bsize = 1 + 2 * bsize; /* UNCOMPRESSED_POINT format */ in custom_generator_test()
2760 0, ctx), bsize) in custom_generator_test()
2761 || !TEST_ptr(b1 = OPENSSL_malloc(bsize)) in custom_generator_test()
2764 bsize, ctx), bsize) in custom_generator_test()
2777 0, ctx), bsize) in custom_generator_test()
2778 || !TEST_ptr(b2 = OPENSSL_malloc(bsize)) in custom_generator_test()
2781 bsize, ctx), bsize) in custom_generator_test()
2783 || !TEST_mem_eq(b1, bsize, b2, bsize)) in custom_generator_test()
2786 if (!do_test_custom_explicit_fromdata(group, ctx, b1, bsize)) in custom_generator_test()
2809 int ret = 0, nid, bsize; in custom_params_test() local
2858 bsize = (EC_GROUP_get_degree(group) + 7) / 8; in custom_params_test()
2859 bsize = 1 + 2 * bsize; /* UNCOMPRESSED_POINT format */ in custom_params_test()
2870 NULL, 0, ctx), bsize) in custom_params_test()
2871 || !TEST_ptr(buf1 = OPENSSL_malloc(bsize)) in custom_params_test()
2874 buf1, bsize, ctx), bsize) in custom_params_test()
2895 || !TEST_true(EC_POINT_oct2point(altgroup, G2, buf1, bsize, ctx)) in custom_params_test()
2915 NULL, 0, ctx), bsize) in custom_params_test()
2918 buf1, bsize, ctx), bsize) in custom_params_test()
2926 NULL, 0, ctx), bsize) in custom_params_test()
2927 || !TEST_ptr(buf2 = OPENSSL_malloc(bsize)) in custom_params_test()
2930 buf2, bsize, ctx), bsize) in custom_params_test()
2932 || !TEST_mem_eq(buf1, bsize, buf2, bsize)) in custom_params_test()
2957 NULL, 0, ctx), bsize) in custom_params_test()
2958 || !TEST_ptr(pub1 = OPENSSL_malloc(bsize)) in custom_params_test()
2961 pub1, bsize, ctx), bsize)) in custom_params_test()
2968 NULL, 0, ctx), bsize) in custom_params_test()
2969 || !TEST_ptr(pub2 = OPENSSL_malloc(bsize)) in custom_params_test()
2972 pub2, bsize, ctx), bsize)) in custom_params_test()
2990 || !TEST_int_gt(bsize, sslen) in custom_params_test()
2997 || !TEST_int_gt(bsize, t) in custom_params_test()
3013 pub1, bsize)) in custom_params_test()
3027 pub2, bsize)) in custom_params_test()
3047 || !TEST_int_gt(bsize, t) in custom_params_test()