mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test,crypto: add CFRG curve vectors to wrap/unwrap tests
PR-URL: https://github.com/nodejs/node/pull/46406 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
@@ -113,6 +113,38 @@ async function generateKeysToWrap() {
|
||||
publicUsages: [],
|
||||
pair: true,
|
||||
},
|
||||
{
|
||||
algorithm: {
|
||||
name: 'Ed25519',
|
||||
},
|
||||
privateUsages: ['sign'],
|
||||
publicUsages: ['verify'],
|
||||
pair: true,
|
||||
},
|
||||
{
|
||||
algorithm: {
|
||||
name: 'Ed448',
|
||||
},
|
||||
privateUsages: ['sign'],
|
||||
publicUsages: ['verify'],
|
||||
pair: true,
|
||||
},
|
||||
{
|
||||
algorithm: {
|
||||
name: 'X25519',
|
||||
},
|
||||
privateUsages: ['deriveBits'],
|
||||
publicUsages: [],
|
||||
pair: true,
|
||||
},
|
||||
{
|
||||
algorithm: {
|
||||
name: 'X448',
|
||||
},
|
||||
privateUsages: ['deriveBits'],
|
||||
publicUsages: [],
|
||||
pair: true,
|
||||
},
|
||||
{
|
||||
algorithm: {
|
||||
name: 'AES-CTR',
|
||||
|
||||
Reference in New Issue
Block a user