INNER CODE UNIT · Python
get_tmp_kem_oid
open-quantum-safe/oqs-provider · oqs-template/generate.py:93
def get_tmp_kem_oid():
# doesn't work for runs on different files:
# global kemoidcnt
# kemoidcnt = kemoidcnt+1
# return "1.3.9999.99."+str(kemoidcnt)
return "NULL"
def complete_config(config):
for kem in config['kems']:
bits_level = nist_to_bits(get_kem_nistlevel(kem))
if bits_level == None:
print("Cannot find security level for {:s} {:s}".format(kem['family'], kem['name_group']))
exit(1)
kem['bit_security'] = bits_level
if 'nid_hybrid' in kem:
# now add hybrid_nid to hybrid_groups
phyb = {}