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

Function enc_algorithm_lookup

freebsd/netipsec/key.c:8544–8553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8542}
8543
8544const struct enc_xform *
8545enc_algorithm_lookup(int alg)
8546{
8547 int i;
8548
8549 for (i = 0; i < nitems(supported_ealgs); i++)
8550 if (alg == supported_ealgs[i].sadb_alg)
8551 return (supported_ealgs[i].xform);
8552 return (NULL);
8553}
8554
8555const struct auth_hash *
8556auth_algorithm_lookup(int alg)

Callers 3

key_getcomb_ealgFunction · 0.85
key_registerFunction · 0.85
esp_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected