mirror of
https://github.com/maxgoedjen/secretive.git
synced 2024-11-24 06:27:08 +00:00
Fix EC384 value (#485)
This commit is contained in:
parent
6248ecc9db
commit
dbaa57a05a
@ -249,7 +249,7 @@ extension SmartCard.Store {
|
|||||||
case (.ellipticCurve, 256):
|
case (.ellipticCurve, 256):
|
||||||
return .eciesEncryptionCofactorVariableIVX963SHA256AESGCM
|
return .eciesEncryptionCofactorVariableIVX963SHA256AESGCM
|
||||||
case (.ellipticCurve, 384):
|
case (.ellipticCurve, 384):
|
||||||
return .eciesEncryptionCofactorVariableIVX963SHA256AESGCM
|
return .eciesEncryptionCofactorVariableIVX963SHA384AESGCM
|
||||||
case (.rsa, 1024), (.rsa, 2048):
|
case (.rsa, 1024), (.rsa, 2048):
|
||||||
return .rsaEncryptionOAEPSHA512AESGCM
|
return .rsaEncryptionOAEPSHA512AESGCM
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user