Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Remove obsolete comment -- AES block size is always ...



details:   https://anonhg.NetBSD.org/src/rev/f57323f34adc
branches:  trunk
changeset: 972911:f57323f34adc
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Jun 13 18:39:06 2020 +0000

description:
Remove obsolete comment -- AES block size is always 128.

diffstat:

 sys/dev/cgd_crypto.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (30 lines):

diff -r d32ce54f95c2 -r f57323f34adc sys/dev/cgd_crypto.c
--- a/sys/dev/cgd_crypto.c      Sat Jun 13 18:38:33 2020 +0000
+++ b/sys/dev/cgd_crypto.c      Sat Jun 13 18:39:06 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgd_crypto.c,v 1.19 2020/06/13 18:38:33 riastradh Exp $ */
+/* $NetBSD: cgd_crypto.c,v 1.20 2020/06/13 18:39:06 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgd_crypto.c,v 1.19 2020/06/13 18:38:33 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgd_crypto.c,v 1.20 2020/06/13 18:39:06 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/malloc.h>
@@ -173,11 +173,6 @@
  *  AES Framework
  */
 
-/*
- * NOTE: we do not store the blocksize in here, because it is not
- *       variable [yet], we hardcode the blocksize to 16 (128 bits).
- */
-
 struct aes_privdata {
        keyInstance     ap_enckey;
        keyInstance     ap_deckey;



Home | Main Index | Thread Index | Old Index