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

Function crypto_freesession

freebsd/opencrypto/crypto.c:969–983  ·  view source on GitHub ↗

* Delete an existing session (or a reserved session on an unregistered * driver). */

Source from the content-addressed store, hash-verified

967 * driver).
968 */
969void
970crypto_freesession(crypto_session_t cses)
971{
972 struct cryptocap *cap;
973
974 if (cses == NULL)
975 return;
976
977 cap = cses->cap;
978
979 /* Call the driver cleanup routine, if available. */
980 CRYPTODEV_FREESESSION(cap->cc_dev, cses);
981
982 crypto_deletesession(cses);
983}
984
985/*
986 * Return a new driver id. Registers a driver with the system so that

Callers 14

cse_freeFunction · 0.85
crypto_invokeFunction · 0.85
ktls_ocf_freeFunction · 0.85
ktls_ocf_tryFunction · 0.85
ipcomp_cleanupFunction · 0.85
ipcomp_input_cbFunction · 0.85
ipcomp_output_cbFunction · 0.85
ah_cleanupFunction · 0.85
ah_input_cbFunction · 0.85
ah_output_cbFunction · 0.85
esp_cleanupFunction · 0.85

Calls 1

crypto_deletesessionFunction · 0.85

Tested by

no test coverage detected