diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2001-06-29 21:52:43 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2001-06-29 21:52:43 +0000 |
commit | 7ef9f514b387475baa51f83caad0366a0ff362aa (patch) | |
tree | aff27f4a361366ae8f6b8ce24143dedd64686753 /sys/dev/pci/ubsecreg.h | |
parent | f859f6a737df43805988f21a7004ccd010a3b34d (diff) |
move definitions around a bit and define a few more constants
Diffstat (limited to 'sys/dev/pci/ubsecreg.h')
-rw-r--r-- | sys/dev/pci/ubsecreg.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pci/ubsecreg.h b/sys/dev/pci/ubsecreg.h index 15d60e44bed..5c2828bb7fa 100644 --- a/sys/dev/pci/ubsecreg.h +++ b/sys/dev/pci/ubsecreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ubsecreg.h,v 1.13 2001/05/30 02:26:14 jason Exp $ */ +/* $OpenBSD: ubsecreg.h,v 1.14 2001/06/29 21:52:42 jason Exp $ */ /* * Copyright (c) 2000 Theo de Raadt @@ -71,11 +71,6 @@ #define BS_ERR_ADDR 0xfffffffc /* error address mask */ #define BS_ERR_READ 0x00000002 /* fault was on read */ -#define UBSEC_CARD(sid) (((sid) & 0xf0000000) >> 28) -#define UBSEC_SESSION(sid) ( (sid) & 0x0fffffff) -#define UBSEC_SID(crd, sesn) (((crd) << 28) | ((sesn) & 0x0fffffff)) -#define MAX_SCATTER 64 - struct ubsec_pktctx { u_int32_t pc_deskey[6]; /* 3DES key */ u_int32_t pc_hminner[5]; /* hmac inner state */ |