Lines Matching refs:buf
27 unsigned char *buf; in EC_POINT_point2bn() local
29 buf_len = EC_POINT_point2buf(group, point, form, &buf, ctx); in EC_POINT_point2bn()
34 ret = BN_bin2bn(buf, buf_len, ret); in EC_POINT_point2bn()
36 OPENSSL_free(buf); in EC_POINT_point2bn()
45 unsigned char *buf; in EC_POINT_bn2point() local
50 if ((buf = OPENSSL_malloc(buf_len)) == NULL) in EC_POINT_bn2point()
53 if (BN_bn2binpad(bn, buf, buf_len) < 0) { in EC_POINT_bn2point()
54 OPENSSL_free(buf); in EC_POINT_bn2point()
60 OPENSSL_free(buf); in EC_POINT_bn2point()
66 if (!EC_POINT_oct2point(group, ret, buf, buf_len, ctx)) { in EC_POINT_bn2point()
69 OPENSSL_free(buf); in EC_POINT_bn2point()
73 OPENSSL_free(buf); in EC_POINT_bn2point()