CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2021/10/13 07:08:58

Modified files:
        sys/arch/amd64/amd64: aesni.c via.c 
        sys/arch/arm64/arm64: cryptox.c 
        sys/arch/i386/i386: via.c 
        sys/arch/i386/pci: glxsb.c 
        sys/arch/octeon/dev: octcrypto.c 
        sys/dev/pci    : hifn7751.c safe.c ubsec.c 
        sys/crypto     : crypto.c cryptodev.h cryptosoft.c 

Log message:
The kernel crypto framework sometimes returned an error, sometimes
the callback was called, and sometimes both.  So the caller of that
API could not release resources correctly.
A bunch of errors can or should not happen, replace them with an
assert.  Remove redundant checks.  crypto_invoke() should not return
the error, but pass it via callback.
Some old hardware drivers keep part of their inconsistency as I
cannot test them.
OK mpi@

Reply via email to