mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8166597: Crypto support for the EdDSA Signature Algorithm
Reviewed-by: weijun, mullan, wetmore
This commit is contained in:
parent
02293daa64
commit
fd28aad72d
47 changed files with 4697 additions and 155 deletions
|
@ -1870,6 +1870,12 @@ public final class Main {
|
|||
keysize = SecurityProviderConstants.DEF_RSA_KEY_SIZE;
|
||||
} else if ("DSA".equalsIgnoreCase(keyAlgName)) {
|
||||
keysize = SecurityProviderConstants.DEF_DSA_KEY_SIZE;
|
||||
} else if ("EdDSA".equalsIgnoreCase(keyAlgName)) {
|
||||
keysize = SecurityProviderConstants.DEF_ED_KEY_SIZE;
|
||||
} else if ("Ed25519".equalsIgnoreCase(keyAlgName)) {
|
||||
keysize = 255;
|
||||
} else if ("Ed448".equalsIgnoreCase(keyAlgName)) {
|
||||
keysize = 448;
|
||||
}
|
||||
} else {
|
||||
if ("EC".equalsIgnoreCase(keyAlgName)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue