Lines Matching defs:buf
27 unsigned char *buf;
29 buf_len = EC_POINT_point2buf(group, point, form, &buf, ctx);
34 ret = BN_bin2bn(buf, buf_len, ret);
36 OPENSSL_free(buf);
45 unsigned char *buf;
50 if ((buf = OPENSSL_malloc(buf_len)) == NULL) {
55 if (BN_bn2binpad(bn, buf, buf_len) < 0) {
56 OPENSSL_free(buf);
62 OPENSSL_free(buf);
68 if (!EC_POINT_oct2point(group, ret, buf, buf_len, ctx)) {
71 OPENSSL_free(buf);
75 OPENSSL_free(buf);