add oaep testvectors

This commit is contained in:
Steffen Jaeckel 2014-08-05 19:14:36 +02:00
parent b0c7cbfaae
commit ed0982b7e7
2 changed files with 1399 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -133,6 +133,11 @@ class PkcsType(object):
self.o1 = '# Message to be signed'
self.o2 = '# Salt'
self.o3 = '# Signature'
elif name == 'oaep':
self.o = '# RSAES-OAEP Encryption Example'
self.o1 = '# Message to be encrypted'
self.o2 = '# Seed'
self.o3 = '# Encryption'
else:
raise ValueError('Type unknown: ' + name)
self.name = name