Cryptographic services framework, and software "device driver". The
authorangelos <angelos@openbsd.org>
Fri, 17 Mar 2000 10:25:20 +0000 (10:25 +0000)
committerangelos <angelos@openbsd.org>
Fri, 17 Mar 2000 10:25:20 +0000 (10:25 +0000)
commit7a398ca36b953f95e5768c72ada0f40965ff2426
tree5b1fcc54c377ebfae6358743bee03a9f59b27dfd
parent214c10f5792ed5cc1bb70f0955eaa4101ca2c4f3
Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
 - multiple instances of the same algorithm used in the same session
 - use of multiple crypto drivers in the same session
 - asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.
18 files changed:
sys/conf/GENERIC
sys/conf/files
sys/crypto/crypto.c [new file with mode: 0644]
sys/crypto/crypto.h [new file with mode: 0644]
sys/crypto/xform.c [new file with mode: 0644]
sys/crypto/xform.h [new file with mode: 0644]
sys/kern/init_main.c
sys/net/if_enc.c
sys/net/pfkeyv2.c
sys/netinet/ip_ah.c
sys/netinet/ip_ah.h
sys/netinet/ip_esp.c
sys/netinet/ip_esp.h
sys/netinet/ip_ipsp.c
sys/netinet/ip_ipsp.h
sys/netinet/ip_output.c
sys/netinet/ip_xform.c [deleted file]
sys/netinet/ipsec_input.c