Skip to content

Commit d13116a

Browse files
panvaruyadorno
authored andcommitted
test,crypto: add CFRG curve vectors to wrap/unwrap tests
PR-URL: #46406 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 8c6c433 commit d13116a

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

test/parallel/test-webcrypto-wrap-unwrap.js

+32
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,38 @@ async function generateKeysToWrap() {
113113
publicUsages: [],
114114
pair: true,
115115
},
116+
{
117+
algorithm: {
118+
name: 'Ed25519',
119+
},
120+
privateUsages: ['sign'],
121+
publicUsages: ['verify'],
122+
pair: true,
123+
},
124+
{
125+
algorithm: {
126+
name: 'Ed448',
127+
},
128+
privateUsages: ['sign'],
129+
publicUsages: ['verify'],
130+
pair: true,
131+
},
132+
{
133+
algorithm: {
134+
name: 'X25519',
135+
},
136+
privateUsages: ['deriveBits'],
137+
publicUsages: [],
138+
pair: true,
139+
},
140+
{
141+
algorithm: {
142+
name: 'X448',
143+
},
144+
privateUsages: ['deriveBits'],
145+
publicUsages: [],
146+
pair: true,
147+
},
116148
{
117149
algorithm: {
118150
name: 'AES-CTR',

0 commit comments

Comments
 (0)