Lines Matching refs:buf_len
26 size_t buf_len = 0;
29 buf_len = EC_POINT_point2buf(group, point, form, &buf, ctx);
31 if (buf_len == 0)
34 ret = BN_bin2bn(buf, buf_len, ret);
44 size_t buf_len = 0;
48 if ((buf_len = BN_num_bytes(bn)) == 0)
49 buf_len = 1;
50 if ((buf = OPENSSL_malloc(buf_len)) == NULL) {
55 if (BN_bn2binpad(bn, buf, buf_len) < 0) {
68 if (!EC_POINT_oct2point(group, ret, buf, buf_len, ctx)) {