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.py28 def make_key(len_bits): argument
30 len_bits % 8 == 0, "Unexpected key length. Should be a multiple "
31 "of 8, got %s" % len_bits)
32 return binascii.hexlify(os.urandom(int(len_bits/8))).decode()