Searched refs:auth (Results 1 – 4 of 4) sorted by relevance
/kernel/tests/net/test/ |
D | xfrm_algorithm_test.py | 95 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
|
D | pf_key.py | 239 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))
|
D | xfrm.py | 517 auth, key = auth_trunc 518 nlattrs += self._NlAttr(XFRMA_ALG_AUTH_TRUNC, auth.Pack() + key)
|
D | xfrm_tunnel_test.py | 333 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)
|