freebsd-dev/sys/opencrypto
John Baldwin 1b96435a65 Avoid checking pointers that are never NULL.
Coverity noted that cod pointer is always non-NULL at the end of
cryptodev_aead().  While here, fix cryptodev_op() to match by making
one earlier failure case before cod and crp are allocated just return
directly.

CID:		1422185
Reported by:	Coverity
2020-04-02 17:22:16 +00:00
..
_cryptodev.h OpenCrypto: Convert sessions to opaque handles instead of integers 2018-07-18 00:56:25 +00:00
cast.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
cast.h Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
castsb.h
cbc_mac.c Don't panic for empty CCM requests. 2019-04-24 23:27:39 +00:00
cbc_mac.h Add CBC-MAC authentication. 2019-02-15 03:46:39 +00:00
criov.c Refactor driver and consumer interfaces for OCF (in-kernel crypto). 2020-03-27 18:25:23 +00:00
crypto.c Remove duplicate conditional. 2020-04-02 16:55:28 +00:00
cryptodeflate.c Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib, 2019-08-01 06:35:33 +00:00
cryptodev_if.m Refactor driver and consumer interfaces for OCF (in-kernel crypto). 2020-03-27 18:25:23 +00:00
cryptodev.c Avoid checking pointers that are never NULL. 2020-04-02 17:22:16 +00:00
cryptodev.h Refactor driver and consumer interfaces for OCF (in-kernel crypto). 2020-03-27 18:25:23 +00:00
cryptosoft.c Refactor driver and consumer interfaces for OCF (in-kernel crypto). 2020-03-27 18:25:23 +00:00
deflate.h Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib, 2019-08-01 06:35:33 +00:00
gfmult.c
gfmult.h
gmac.c
gmac.h
ktls_ocf.c Refactor driver and consumer interfaces for OCF (in-kernel crypto). 2020-03-27 18:25:23 +00:00
rmd160.c
rmd160.h
skipjack.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
skipjack.h Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_aes_icm.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_aes_xts.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_auth.h Add AES-CCM encryption, and plumb into OCF. 2019-02-15 03:53:03 +00:00
xform_blf.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_cast5.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_cbc_mac.c Add CBC-MAC authentication. 2019-02-15 03:46:39 +00:00
xform_cml.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_comp.h
xform_deflate.c
xform_des1.c Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
xform_des3.c Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
xform_enc.h Miscellaneous typo fixes 2020-02-07 19:53:07 +00:00
xform_gmac.c Refactor driver and consumer interfaces for OCF (in-kernel crypto). 2020-03-27 18:25:23 +00:00
xform_md5.c Remove "HMAC" from <HASH>_HMAC_BLOCK_LEN macro names 2018-07-09 07:21:37 +00:00
xform_null.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_poly1305.c Add xform-conforming auth_hash wrapper for Poly-1305 2018-08-17 00:30:04 +00:00
xform_poly1305.h Add xform-conforming auth_hash wrapper for Poly-1305 2018-08-17 00:30:04 +00:00
xform_rijndael.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_rmd160.c Remove "HMAC" from <HASH>_HMAC_BLOCK_LEN macro names 2018-07-09 07:21:37 +00:00
xform_sha1.c OCF: Add plain hash modes 2018-07-09 07:28:13 +00:00
xform_sha2.c OCF: Add plain hash modes 2018-07-09 07:28:13 +00:00
xform_skipjack.c Use 'const' for keys and IVs passed to software encryption algorithms. 2019-08-22 00:02:08 +00:00
xform_userland.h
xform.c
xform.h