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/28d0fd0eba37
branches:  trunk
changeset: 934532:28d0fd0eba37
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 343907e8a4b9 -r 28d0fd0eba37 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