Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dxfrm_algorithm_test.py95 def TestNameGenerator(version, proto, auth, crypt, aead): argument
106 if aead is not None:
107 param_string += "%s_%d_%d_" % (aead.name, aead.key_len,
108 aead.icv_len)
114 def ParamTestSocketPolicySimple(self, version, proto, auth, crypt, aead): argument
142 aead_left = (xfrm.XfrmAlgoAead((aead.name, aead.key_len, aead.icv_len)),
143 os.urandom(aead.key_len / 8)) if aead else None
144 aead_right = (xfrm.XfrmAlgoAead((aead.name, aead.key_len, aead.icv_len)),
145 os.urandom(aead.key_len / 8)) if aead else None
159 aead=aead_right,
[all …]
Dxfrm.py485 def AddSaInfo(self, src, dst, spi, mode, reqid, encryption, auth_trunc, aead, argument
520 if aead is not None:
521 aead_alg, key = aead