Skip to content

Commit ca4d2f6

Browse files
committed
Consistent use of kdf for password-based key derivation algorithms, add hashAlgorithm prefix for yescrypt
Signed-off-by: Basil Hess <bhe@zurich.ibm.com>
1 parent 3c92ef0 commit ca4d2f6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

schema/cryptography-defs.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@
16531653
"variant": [
16541654
{
16551655
"pattern": "bcrypt[-{cost}]",
1656-
"primitive": "hash"
1656+
"primitive": "kdf"
16571657
}
16581658
]
16591659
},
@@ -1668,7 +1668,7 @@
16681668
"variant": [
16691669
{
16701670
"pattern": "scrypt[-{N}][-{r}][-{p}][-{dkLen}]",
1671-
"primitive": "hash"
1671+
"primitive": "kdf"
16721672
}
16731673
]
16741674
},
@@ -1682,8 +1682,8 @@
16821682
],
16831683
"variant": [
16841684
{
1685-
"pattern": "[(gost-|sm3-)]yescrypt[-{N_log2}][-{r}][-{p}][-{t}]",
1686-
"primitive": "hash"
1685+
"pattern": "[{hashAlgorithm}-]yescrypt[-{N_log2}][-{r}][-{p}][-{t}]",
1686+
"primitive": "kdf"
16871687
}
16881688
]
16891689
},

0 commit comments

Comments
 (0)