Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dxfrm_algorithm_test.py95 def TestNameGenerator(version, proto, auth, crypt, aead): argument
102 if auth is not None:
103 param_string += "%s_%d_%d_" % (auth.name, auth.key_len,
104 auth.trunc_len)
114 def ParamTestSocketPolicySimple(self, version, proto, auth, crypt, aead): argument
134 auth_left = (xfrm.XfrmAlgoAuth((auth.name, auth.key_len, auth.trunc_len)),
135 os.urandom(auth.key_len / 8)) if auth else None
136 auth_right = (xfrm.XfrmAlgoAuth((auth.name, auth.key_len, auth.trunc_len)),
137 os.urandom(auth.key_len / 8)) if auth else None
Dpf_key.py239 encryption_key, auth, auth_key): argument
245 auth, encryption, 0)), ""),
278 auth = _GetMultiConstantName(sa.auth, ["SADB_AALG_", "SADB_X_AALG"])
283 sa.spi, sa.replay, state, auth, encrypt, sa.flags))
Dxfrm.py517 auth, key = auth_trunc
518 nlattrs += self._NlAttr(XFRMA_ALG_AUTH_TRUNC, auth.Pack() + key)
Dxfrm_tunnel_test.py333 auth, crypt = xfrm_base._ALGO_AUTH_NULL, xfrm_base._ALGO_CRYPT_NULL
335 auth, crypt = xfrm_base._ALGO_HMAC_SHA1, xfrm_base._ALGO_CBC_AES_256
337 self._SetupXfrmByType(auth, crypt)