Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
5b438e9b
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
大约 1 年 前同步成功
通知
9
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5b438e9b
编写于
3月 06, 2001
作者:
B
Bodo Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add a few 'const's
上级
7b4c588f
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
9 addition
and
9 deletion
+9
-9
crypto/ec/ec.h
crypto/ec/ec.h
+4
-4
crypto/ec/ec_lcl.h
crypto/ec/ec_lcl.h
+5
-5
未找到文件。
crypto/ec/ec.h
浏览文件 @
5b438e9b
...
...
@@ -121,7 +121,7 @@ int EC_POINT_copy(EC_POINT *, const EC_POINT *);
/* TODO: 'set' and 'get' functions for EC_POINTs */
size_t
EC_POINT_point2oct
(
const
EC_GROUP
*
,
EC_POINT
*
,
point_conversion_form_t
form
,
size_t
EC_POINT_point2oct
(
const
EC_GROUP
*
,
const
EC_POINT
*
,
point_conversion_form_t
form
,
unsigned
char
*
buf
,
size_t
len
,
BN_CTX
*
);
int
EC_POINT_oct2point
(
const
EC_GROUP
*
,
EC_POINT
*
,
const
unsigned
char
*
buf
,
size_t
len
,
BN_CTX
*
);
...
...
@@ -129,10 +129,10 @@ int EC_POINT_oct2point(const EC_GROUP *, EC_POINT *,
int
EC_POINT_add
(
const
EC_GROUP
*
,
EC_POINT
*
r
,
const
EC_POINT
*
a
,
const
EC_POINT
*
b
,
BN_CTX
*
);
int
EC_POINT_dbl
(
const
EC_GROUP
*
,
EC_POINT
*
r
,
const
EC_POINT
*
a
,
BN_CTX
*
);
int
EC_POINT_is_at_infinity
(
const
EC_GROUP
*
,
EC_POINT
*
);
int
EC_POINT_is_on_curve
(
const
EC_GROUP
*
,
EC_POINT
*
,
BN_CTX
*
);
int
EC_POINT_is_at_infinity
(
const
EC_GROUP
*
,
const
EC_POINT
*
);
int
EC_POINT_is_on_curve
(
const
EC_GROUP
*
,
const
EC_POINT
*
,
BN_CTX
*
);
int
EC_POINT_make_affine
(
const
EC_GROUP
*
,
EC_POINT
*
,
BN_CTX
*
);
int
EC_POINT_make_affine
(
const
EC_GROUP
*
,
const
EC_POINT
*
,
BN_CTX
*
);
...
...
crypto/ec/ec_lcl.h
浏览文件 @
5b438e9b
...
...
@@ -67,7 +67,7 @@ struct ec_method_st {
/* used by EC_GROUP_new, EC_GROUP_set_GFp, EC_GROUP_free, EC_GROUP_copy: */
int
(
*
group_init
)(
EC_GROUP
*
);
/* int (*group_set)(EC_GROUP *, .....); */
int
(
*
group_set_GFp
)(
EC_GROUP
*
,
BIGNUM
*
p
,
BIGNUM
*
a
,
BIGNUM
*
b
,
BN_CTX
*
);
int
(
*
group_set_GFp
)(
EC_GROUP
*
,
const
BIGNUM
*
p
,
const
BIGNUM
*
a
,
const
BIGNUM
*
b
,
BN_CTX
*
);
void
(
*
group_finish
)(
EC_GROUP
*
);
int
(
*
group_copy
)(
EC_GROUP
*
,
const
EC_GROUP
*
);
...
...
@@ -86,7 +86,7 @@ struct ec_method_st {
/* TODO: 'set' and 'get' functions for EC_POINTs */
/* used by EC_POINT_point2oct, EC_POINT_oct2point: */
size_t
(
*
point2oct
)(
const
EC_GROUP
*
,
EC_POINT
*
,
point_conversion_form_t
form
,
size_t
(
*
point2oct
)(
const
EC_GROUP
*
,
const
EC_POINT
*
,
point_conversion_form_t
form
,
unsigned
char
*
buf
,
size_t
len
,
BN_CTX
*
);
int
(
*
oct2point
)(
const
EC_GROUP
*
,
EC_POINT
*
,
const
unsigned
char
*
buf
,
size_t
len
,
BN_CTX
*
);
...
...
@@ -96,9 +96,9 @@ struct ec_method_st {
int
(
*
dbl
)(
const
EC_GROUP
*
,
EC_POINT
*
r
,
const
EC_POINT
*
a
,
BN_CTX
*
);
/* used by EC_POINT_is_at_infinity, EC_POINT_is_on_curve, EC_POINT_make_affine */
int
(
*
is_at_infinity
)(
const
EC_GROUP
*
,
EC_POINT
*
);
int
(
*
is_on_curve
)(
const
EC_GROUP
*
,
EC_POINT
*
,
BN_CTX
*
);
int
(
*
make_affine
)(
const
EC_GROUP
*
,
EC_POINT
*
,
BN_CTX
*
);
int
(
*
is_at_infinity
)(
const
EC_GROUP
*
,
const
EC_POINT
*
);
int
(
*
is_on_curve
)(
const
EC_GROUP
*
,
const
EC_POINT
*
,
BN_CTX
*
);
int
(
*
make_affine
)(
const
EC_GROUP
*
,
const
EC_POINT
*
,
BN_CTX
*
);
/* internal functions */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录