1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-26 09:21:28 +00:00

Remove duplicate namespace_prefix

This commit is contained in:
Thom Wiggers 2019-04-09 16:49:43 +02:00
parent 26ffedc86b
commit b2ef82e2da
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

View File

@ -79,9 +79,6 @@ class Implementation:
def path(self, base='..') -> str:
return os.path.join(self.scheme.path(), self.name)
def namespace_prefix(self):
return 'PQCLEAN_{}_{}_'.format(self.scheme.name.upper(), self.name.upper()).replace('-', '')
def libname(self) -> str:
if os.name == 'nt':
return "lib{}_{}.lib".format(self.scheme.name, self.name)