Skip to content

Commit

Permalink
generate (O)ID tables
Browse files Browse the repository at this point in the history
  • Loading branch information
baentsch committed Sep 21, 2023
1 parent 4588019 commit e6de3ff
Show file tree
Hide file tree
Showing 4 changed files with 235 additions and 219 deletions.
2 changes: 1 addition & 1 deletion oqs-template/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,4 @@ def load_config(include_disabled_sigs=False):
populate('README.md', config2, '<!---')
print("All files generated")
os.environ["LIBOQS_DOCS_DIR"]=os.path.join(os.environ["LIBOQS_SRC_DIR"], "docs")
#import generate_oid_nid_table
import generate_oid_nid_table
2 changes: 1 addition & 1 deletion oqs-template/generate_oid_nid_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def gen_kem_table(oqslibdocdir):
entry['hybrid_group'] if 'hybrid_group' in entry else ""])

# sort by: family, version, security level, variant, hybrid
table.sort(key = lambda row: "{:s}|{:s}|{:d}|{:s}|{:s}".format(row[0], row[1], row[3], row[2], row[5]))
table.sort(key = lambda row: "{:s}|{:s}|{:s}|{:s}|{:s}".format(row[0], row[1], str(row[3]), row[2], row[5]))

table = [table_header] + table

Expand Down
Loading

0 comments on commit e6de3ff

Please sign in to comment.