提交 b600c308 编写于 作者: Q Qwink2016

修改API风格,将algoName全部修改为algName

Signed-off-by: NQwink2016 <714794360@qq.com>
Change-Id: I21d8d18d42c698782406d8900a64e6795f05e535
上级 0341b555
...@@ -67,7 +67,7 @@ function genIvParamsSpec(n) { ...@@ -67,7 +67,7 @@ function genIvParamsSpec(n) {
var dataBlob = { data: dataIv }; var dataBlob = { data: dataIv };
var ivParamSpec = { var ivParamSpec = {
iv: dataBlob, iv: dataBlob,
algoName: "IvParamsSpec", algName: "IvParamsSpec",
}; };
return ivParamSpec; return ivParamSpec;
} }
...@@ -86,7 +86,7 @@ function genGcmParamsSpec() { ...@@ -86,7 +86,7 @@ function genGcmParamsSpec() {
iv: ivBlob, iv: ivBlob,
aad: aadBlob, aad: aadBlob,
authTag: tagBlob, authTag: tagBlob,
algoName: "GcmParamsSpec", algName: "GcmParamsSpec",
}; };
return gcmParamsSpec; return gcmParamsSpec;
} }
...@@ -105,7 +105,7 @@ function genCcmParamsSpec() { ...@@ -105,7 +105,7 @@ function genCcmParamsSpec() {
iv: ivBlob, iv: ivBlob,
aad: aadBlob, aad: aadBlob,
authTag: tagBlob, authTag: tagBlob,
algoName: "CcmParamsSpec", algName: "CcmParamsSpec",
}; };
return ccmParamsSpec; return ccmParamsSpec;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册