Home | History | Annotate | Download | only in ec

Lines Matching refs:buf_len

65 	size_t        buf_len=0;
68 buf_len = EC_POINT_point2oct(group, point, form,
70 if (buf_len == 0)
73 if ((buf = OPENSSL_malloc(buf_len)) == NULL)
76 if (!EC_POINT_point2oct(group, point, form, buf, buf_len, ctx))
82 ret = BN_bin2bn(buf, buf_len, ret);
94 size_t buf_len=0;
98 if ((buf_len = BN_num_bytes(bn)) == 0) return NULL;
99 buf = OPENSSL_malloc(buf_len);
120 if (!EC_POINT_oct2point(group, ret, buf, buf_len, ctx))
141 size_t buf_len=0,i;
144 buf_len = EC_POINT_point2oct(group, point, form,
146 if (buf_len == 0)
149 if ((buf = OPENSSL_malloc(buf_len)) == NULL)
152 if (!EC_POINT_point2oct(group, point, form, buf, buf_len, ctx))
158 ret = (char *)OPENSSL_malloc(buf_len*2+2);
166 for (i=buf_len; i > 0; i--)