Home
last modified time | relevance | path

Searched refs:len_bits (Results 1 – 1 of 1) sorted by relevance

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dipsec_test_utils.py26 def make_key(len_bits): argument
28 len_bits % 8 == 0, "Unexpected key length. Should be a multiple "
29 "of 8, got %s" % len_bits)
30 return binascii.hexlify(os.urandom(int(len_bits / 8))).decode()