diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-02-21 00:05:16 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-02-21 00:05:16 +0000 |
commit | 0714901d0a6f95da7b79f015e05fb6536678985f (patch) | |
tree | bcdc0107e836ace3d8664bc652a39a0363cffa1f /sys/dev/pci/hifn7751var.h | |
parent | 3816fe98406dbbc16c848ee4fc7d24ac802f1229 (diff) |
use src/dst descriptor chaining out of an mbuf
Diffstat (limited to 'sys/dev/pci/hifn7751var.h')
-rw-r--r-- | sys/dev/pci/hifn7751var.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/dev/pci/hifn7751var.h b/sys/dev/pci/hifn7751var.h index 0ee8dbf8c2d..1cf840057d9 100644 --- a/sys/dev/pci/hifn7751var.h +++ b/sys/dev/pci/hifn7751var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hifn7751var.h,v 1.1 1999/02/19 02:52:20 deraadt Exp $ */ +/* $OpenBSD: hifn7751var.h,v 1.2 1999/02/21 00:05:15 deraadt Exp $ */ /* * Invertex AEON driver @@ -191,21 +191,19 @@ * can be used by the callback routine if desired. */ typedef struct aeon_command { - u_int flags; + u_int flags; volatile u_int result_status; - u_short session_num; + u_short session_num; /* * You should be able to convert any of these arrays into pointers * (if desired) without modifying code in aeon.c. */ - u_char initial_vector[AEON_IV_LENGTH]; - u_char crypt_key[AEON_MAX_CRYPT_KEY_LENGTH]; - u_char mac_key[AEON_MAC_KEY_LENGTH]; + u_char *iv, *ck, *mac; + int iv_len, ck_len, mac_len; - void *source_buf; - void *dest_buf; + struct mbuf *m; u_short mac_header_skip; u_short crypt_header_skip; |