Adding routine for asymmetric decryption.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2023-02-12 21:53:19 +01:00
parent 2ce458dad5
commit 8bc4b133ca
2 changed files with 16 additions and 1 deletions

View File

@@ -118,3 +118,8 @@ class Algorithm(Enum):
ALGO_RSA_PSS_SHA256 = 0x43
ALGO_RSA_PSS_SHA384 = 0x44
ALGO_RSA_PSS_SHA512 = 0x45
class Padding(Enum):
RAW = 0x21
PKCS = 0x22
OAEP = 0x23