Source-Changes-HG archive

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

[src/trunk]: src/sys/crypto/aes/arch/arm Nix outdated comment.



details:   https://anonhg.NetBSD.org/src/rev/0e7f463b45d8
branches:  trunk
changeset: 937098:0e7f463b45d8
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Aug 09 02:00:57 2020 +0000

description:
Nix outdated comment.

I implemented this parallelism a couple weeks ago.

diffstat:

 sys/crypto/aes/arch/arm/aes_neon_subr.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r 53377dfec39e -r 0e7f463b45d8 sys/crypto/aes/arch/arm/aes_neon_subr.c
--- a/sys/crypto/aes/arch/arm/aes_neon_subr.c   Sun Aug 09 01:59:04 2020 +0000
+++ b/sys/crypto/aes/arch/arm/aes_neon_subr.c   Sun Aug 09 02:00:57 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aes_neon_subr.c,v 1.5 2020/08/08 14:47:01 riastradh Exp $      */
+/*     $NetBSD: aes_neon_subr.c,v 1.6 2020/08/09 02:00:57 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: aes_neon_subr.c,v 1.5 2020/08/08 14:47:01 riastradh Exp $");
+__KERNEL_RCSID(1, "$NetBSD: aes_neon_subr.c,v 1.6 2020/08/09 02:00:57 riastradh Exp $");
 
 #ifdef _KERNEL
 #include <sys/systm.h>
@@ -287,12 +287,6 @@
        storeblock(auth0, auth);
 }
 
-/*
- * XXX On aarch64, we have enough registers that we should be able to
- * pipeline two simultaneous vpaes computations in an `aes_neon_enc2'
- * function, which should substantially improve CCM throughput.
- */
-
 void
 aes_neon_ccm_enc1(const struct aesenc *enc, const uint8_t in[static 16],
     uint8_t out[static 16], size_t nbytes, uint8_t authctr[static 32],



Home | Main Index | Thread Index | Old Index