s/decript/decrypt/ in comment.

This commit is contained in:
msaitoh 2021-12-05 02:41:44 +00:00
parent 6a2ec4ecab
commit 602777964f
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mvcesa.c,v 1.3 2020/06/14 23:29:23 riastradh Exp $ */
/* $NetBSD: mvcesa.c,v 1.4 2021/12/05 02:41:44 msaitoh Exp $ */
/*
* Copyright (c) 2008 KIYOHARA Takashi
* All rights reserved.
@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mvcesa.c,v 1.3 2020/06/14 23:29:23 riastradh Exp $");
__KERNEL_RCSID(0, "$NetBSD: mvcesa.c,v 1.4 2021/12/05 02:41:44 msaitoh Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@ -716,7 +716,7 @@ mvcesa_des_encdec(struct mvcesa_softc *sc, struct mvcesa_session *ses,
}
/*
* Encryption/Decription calculation time is 9 cycles in DES
* Encryption/Decryption calculation time is 9 cycles in DES
* mode and 25 cycles in 3DES mode.
*/
bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVCESA_DESE_DBL,

View File

@ -1,4 +1,4 @@
/* $NetBSD: mvcesareg.h,v 1.2 2013/09/28 05:46:51 kiyohara Exp $ */
/* $NetBSD: mvcesareg.h,v 1.3 2021/12/05 02:41:44 msaitoh Exp $ */
/*
* Copyright (c) 2008 KIYOHARA Takashi
* All rights reserved.
@ -80,7 +80,7 @@
#define MVCESA_SHA1MD5I_AC_IVBYTESWAP (1 << 4)
#define MVCESA_SHA1MD5I_AC_TERMINATION (1 << 31)
/* AES Encryption/Decription Interface Registers */
/* AES Encryption/Decryption Interface Registers */
#define MVCESA_AES_ENCRYPTION 0xd80
#define MVCESA_AES_DECRYPTION 0xdc0
#define MVCESA_AES_DIOC_OFF 0x20 /* Data In/Out Column */