Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
e2aeb817
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
1 年多 前同步成功
通知
10
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看板
提交
e2aeb817
编写于
8月 27, 2002
作者:
B
Bodo Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change 'usage' formatting
上级
34f1f2a8
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
49 addition
and
53 deletion
+49
-53
apps/ecparam.c
apps/ecparam.c
+49
-53
未找到文件。
apps/ecparam.c
浏览文件 @
e2aeb817
...
...
@@ -98,31 +98,28 @@
#undef PROG
#define PROG ecparam_main
/* -inform arg - input format - default PEM (DER or PEM)
* -outform arg - output format - default PEM
* -in arg - input file - default stdin
* -out arg - output file - default stdout
* -noout
* -text
* -check - validate the ec parameters
* -C
* -noout
* -name file - use the ecparameters with 'short name' name
* -list_curves - prints a list of all currently available curve
* 'short names' and exits
* -conv_form - specifies the point conversion form
* possible values: compressed
* uncompressed (default)
* hybrid
* -param_enc - specifies the way the ec parameters are encoded
* in the asn1 der encoding
* possilbe values: named_curve (default)
* explicit
* -no_seed - if 'explicit' parameters are choosen do not
* use the seed
* -genkey - generates a ec private key
* -rand file
* -engine e - use engine e, possible a hardware device
/* -inform arg - input format - default PEM (DER or PEM)
* -outform arg - output format - default PEM
* -in arg - input file - default stdin
* -out arg - output file - default stdout
* -noout - do not print the ec parameter
* -text - print the ec parameters in text form
* -check - validate the ec parameters
* -C - print a 'C' function creating the parameters
* -name arg - use the ec parameters with 'short name' name
* -list_curves - prints a list of all currently available curve 'short names'
* -conv_form arg - specifies the point conversion form
* - possible values: compressed
* uncompressed (default)
* hybrid
* -param_enc arg - specifies the way the ec parameters are encoded
* in the asn1 der encoding
* possible values: named_curve (default)
* explicit
* -no_seed - if 'explicit' parameters are choosen do not use the seed
* -genkey - generate ec key
* -rand file - files to use for random number input
* -engine e - use engine e, possibly a hardware device
*/
...
...
@@ -264,52 +261,51 @@ int MAIN(int argc, char **argv)
bad:
BIO_printf
(
bio_err
,
"%s [options] <infile >outfile
\n
"
,
prog
);
BIO_printf
(
bio_err
,
"where options are
\n
"
);
BIO_printf
(
bio_err
,
" -inform arg
input format - "
BIO_printf
(
bio_err
,
" -inform arg input format - "
"default PEM (DER or PEM)
\n
"
);
BIO_printf
(
bio_err
,
" -outform arg
output format - "
BIO_printf
(
bio_err
,
" -outform arg output format - "
"default PEM
\n
"
);
BIO_printf
(
bio_err
,
" -in arg
input file - "
BIO_printf
(
bio_err
,
" -in arg input file - "
"default stdin
\n
"
);
BIO_printf
(
bio_err
,
" -out arg
output file - "
BIO_printf
(
bio_err
,
" -out arg output file - "
"default stdout
\n
"
);
BIO_printf
(
bio_err
,
" -noout
do not print the "
BIO_printf
(
bio_err
,
" -noout do not print the "
"ec parameter
\n
"
);
BIO_printf
(
bio_err
,
" -text
print the ec "
BIO_printf
(
bio_err
,
" -text print the ec "
"parameters in text form
\n
"
);
BIO_printf
(
bio_err
,
" -check
validate the ec "
BIO_printf
(
bio_err
,
" -check validate the ec "
"parameters
\n
"
);
BIO_printf
(
bio_err
,
" -C
print a 'C' "
BIO_printf
(
bio_err
,
" -C print a 'C' "
"function creating the parameters
\n
"
);
BIO_printf
(
bio_err
,
" -name arg
use the "
BIO_printf
(
bio_err
,
" -name arg use the "
"ec parameters with 'short name' name
\n
"
);
BIO_printf
(
bio_err
,
" -list_curves prints a list of "
"all currently available curve
\n
"
);
BIO_printf
(
bio_err
,
" 'short names'
\n
"
);
BIO_printf
(
bio_err
,
" -conv_form arg specifies the "
BIO_printf
(
bio_err
,
" -list_curves prints a list of "
"all currently available curve 'short names'
\n
"
);
BIO_printf
(
bio_err
,
" -conv_form arg specifies the "
"point conversion form
\n
"
);
BIO_printf
(
bio_err
,
"
possible values:"
BIO_printf
(
bio_err
,
" possible values:"
" compressed
\n
"
);
BIO_printf
(
bio_err
,
"
"
BIO_printf
(
bio_err
,
" "
" uncompressed (default)
\n
"
);
BIO_printf
(
bio_err
,
"
"
BIO_printf
(
bio_err
,
" "
" hybrid
\n
"
);
BIO_printf
(
bio_err
,
" -param_enc arg
specifies the way"
BIO_printf
(
bio_err
,
" -param_enc arg specifies the way"
" the ec parameters are encoded
\n
"
);
BIO_printf
(
bio_err
,
"
in the asn1 der "
BIO_printf
(
bio_err
,
" in the asn1 der "
"encoding
\n
"
);
BIO_printf
(
bio_err
,
"
possilb
e values:"
BIO_printf
(
bio_err
,
"
possibl
e values:"
" named_curve (default)
\n
"
);
BIO_printf
(
bio_err
,
"
"
"
explicit
\n
"
);
BIO_printf
(
bio_err
,
" -no_seed
if 'explicit'"
" parameters are choosen do not
\n
"
);
BIO_printf
(
bio_err
,
"
use the seed
\n
"
);
BIO_printf
(
bio_err
,
" -genkey
generate ec"
BIO_printf
(
bio_err
,
"
"
" explicit
\n
"
);
BIO_printf
(
bio_err
,
" -no_seed if 'explicit'"
" parameters are choosen do not
"
"
use the seed
\n
"
);
BIO_printf
(
bio_err
,
" -genkey generate ec"
" key
\n
"
);
BIO_printf
(
bio_err
,
" -rand file
files to use for"
BIO_printf
(
bio_err
,
" -rand file files to use for"
" random number input
\n
"
);
BIO_printf
(
bio_err
,
" -engine e
use engine e, "
"possibl
e
a hardware device
\n
"
);
BIO_printf
(
bio_err
,
" -engine e use engine e, "
"possibl
y
a hardware device
\n
"
);
goto
end
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录