Lines Matching refs:auth
137 def AlgoEnforcedOrEnabled(crypt, auth, aead, target_algo, target_kernel): argument
140 crypt, auth, aead)
145 auth = authCase[0]
147 return AlgoEnforcedOrEnabled(crypt, auth, None, auth.name, authCase[1])
152 auth = xfrm.XfrmAlgoAuth(("digest_null", 0, 0))
153 return AlgoEnforcedOrEnabled(crypt, auth, None, crypt.name, cryptCase[1])
189 auth = authCase[0]
190 param_string += "%s_%d_%d_" % (auth.name, auth.key_len,
191 auth.trunc_len)
214 auth = authCase[0] if authCase else None
235 auth_left = (xfrm.XfrmAlgoAuth((auth.name, auth.key_len, auth.trunc_len)),
236 os.urandom(auth.key_len / 8)) if auth else None
237 auth_right = (xfrm.XfrmAlgoAuth((auth.name, auth.key_len, auth.trunc_len)),
238 os.urandom(auth.key_len / 8)) if auth else None