aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2006-06-04 12:15:59 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2006-06-04 12:15:59 +0000
commit38d2f8d63c54bef9b6e1118f2177fb87c849a0b1 (patch)
treeb7933613f22af775e4d43a9a928573c787a7e926 /sys
parentf2de87fec42a3186305e68ac52acec69fa6857c1 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/opencrypto/cryptosoft.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/opencrypto/cryptosoft.c b/sys/opencrypto/cryptosoft.c
index 215c676cb4894..dd6714befc20d 100644
--- a/sys/opencrypto/cryptosoft.c
+++ b/sys/opencrypto/cryptosoft.c
@@ -80,8 +80,8 @@ int32_t swcr_id = -1;
} while (0)
static int swcr_encdec(struct cryptodesc *, struct swcr_data *, caddr_t, int);
-static int swcr_authcompute(struct cryptop *crp, struct cryptodesc *crd,
- struct swcr_data *sw, caddr_t buf, int outtype);
+static int swcr_authcompute(struct cryptodesc *crd, struct swcr_data *sw,
+ caddr_t buf, int outtype);
static int swcr_compdec(struct cryptodesc *, struct swcr_data *, caddr_t, int);
static int swcr_process(void *, struct cryptop *, int);
static int swcr_newsession(void *, u_int32_t *, struct cryptoini *);
@@ -470,8 +470,8 @@ swcr_authprepare(struct auth_hash *axf, struct swcr_data *sw, u_char *key,
* Compute keyed-hash authenticator.
*/
static int
-swcr_authcompute(struct cryptop *crp, struct cryptodesc *crd,
- struct swcr_data *sw, caddr_t buf, int outtype)
+swcr_authcompute(struct cryptodesc *crd, struct swcr_data *sw, caddr_t buf,
+ int outtype)
{
unsigned char aalg[AALG_MAX_RESULT_LEN];
struct auth_hash *axf;
@@ -997,7 +997,7 @@ swcr_process(void *arg, struct cryptop *crp, int hint)
case CRYPTO_SHA1_KPDK:
case CRYPTO_MD5:
case CRYPTO_SHA1:
- if ((crp->crp_etype = swcr_authcompute(crp, crd, sw,
+ if ((crp->crp_etype = swcr_authcompute(crd, sw,
crp->crp_buf, type)) != 0)
goto done;
break;