diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-05-02 18:20:51 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-05-02 18:20:51 +0000 |
commit | 1d09bfba24a84648daec4b116612abdbd749c298 (patch) | |
tree | a65260dedbd0c257ca6134b3ee6010ea582b6ac4 /sys/dev/pci/ubsecvar.h | |
parent | d2a0bd321d277defedfd5351a391979e99264d8f (diff) |
Don't refer to the parameters directly by number, use macro's so it can be
changed later if necessary.
Also, don't bother bzero'n the mcr, all of the fields are initialized anyway
Diffstat (limited to 'sys/dev/pci/ubsecvar.h')
-rw-r--r-- | sys/dev/pci/ubsecvar.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/ubsecvar.h b/sys/dev/pci/ubsecvar.h index 460d9b0c276..68a0719403e 100644 --- a/sys/dev/pci/ubsecvar.h +++ b/sys/dev/pci/ubsecvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ubsecvar.h,v 1.28 2002/04/26 05:06:03 jason Exp $ */ +/* $OpenBSD: ubsecvar.h,v 1.29 2002/05/02 18:20:50 jason Exp $ */ /* * Copyright (c) 2000 Theo de Raadt @@ -75,6 +75,10 @@ struct ubsec_q2_rng { }; /* C = (M ^ E) mod N */ +#define UBS_MODEXP_PAR_M 0 +#define UBS_MODEXP_PAR_E 1 +#define UBS_MODEXP_PAR_N 2 +#define UBS_MODEXP_PAR_C 3 struct ubsec_q2_modexp { struct ubsec_q2 me_q; struct cryptkop * me_krp; |