MCPcopy Create free account
hub / github.com/F-Stack/f-stack / auth_algorithm_lookup

Function auth_algorithm_lookup

freebsd/netipsec/key.c:8555–8564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8553}
8554
8555const struct auth_hash *
8556auth_algorithm_lookup(int alg)
8557{
8558 int i;
8559
8560 for (i = 0; i < nitems(supported_aalgs); i++)
8561 if (alg == supported_aalgs[i].sadb_alg)
8562 return (supported_aalgs[i].xform);
8563 return (NULL);
8564}
8565
8566const struct comp_algo *
8567comp_algorithm_lookup(int alg)

Callers 3

key_getcomb_ahFunction · 0.85
key_registerFunction · 0.85
ah_init0Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected