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:
parent
26ffedc86b
commit
b2ef82e2da
@ -79,9 +79,6 @@ class Implementation:
|
|||||||
def path(self, base='..') -> str:
|
def path(self, base='..') -> str:
|
||||||
return os.path.join(self.scheme.path(), self.name)
|
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:
|
def libname(self) -> str:
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
return "lib{}_{}.lib".format(self.scheme.name, self.name)
|
return "lib{}_{}.lib".format(self.scheme.name, self.name)
|
||||||
|
Loading…
Reference in New Issue
Block a user