]> git.ipfire.org Git - thirdparty/openssl.git/commit
Use CRIOGET to fetch a crypto descriptor when present.
authorJohn Baldwin <jhb@FreeBSD.org>
Sat, 21 Nov 2020 01:07:35 +0000 (17:07 -0800)
committerBenjamin Kaduk <bkaduk@akamai.com>
Thu, 18 Feb 2021 21:38:20 +0000 (13:38 -0800)
commitb6de54b2c1062f15819174784d9bd53c85c432d3
treeb5af6a57aa717dcae834f124fd6cd2eb2d2dc1ca
parent01cf4f868e08f82daa16d049fa7d241d8089c8d8
Use CRIOGET to fetch a crypto descriptor when present.

FreeBSD's current /dev/crypto implementation requires that consumers
clone a separate file descriptor via the CRIOGET ioctl that can then
be used with other ioctls such as CIOCGSESSION.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(cherry picked from commit b39c215decf6e68c28cb64dcfaf5ae5a7e8d35b4)

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13853)
crypto/engine/eng_devcrypto.c