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

Function ktls_ocf_free

freebsd/opencrypto/ktls_ocf.c:546–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544}
545
546static void
547ktls_ocf_free(struct ktls_session *tls)
548{
549 struct ocf_session *os;
550
551 os = tls->cipher;
552 crypto_freesession(os->sid);
553 mtx_destroy(&os->lock);
554 zfree(os, M_KTLS_OCF);
555}
556
557static int
558ktls_ocf_try(struct socket *so, struct ktls_session *tls, int direction)

Callers

nothing calls this directly

Calls 2

crypto_freesessionFunction · 0.85
zfreeFunction · 0.50

Tested by

no test coverage detected