Source-Changes-HG archive

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

[src/trunk]: src/sys/crypto Make aes and chacha prints debug only.



details:   https://anonhg.NetBSD.org/src/rev/216a3409ebff
branches:  trunk
changeset: 372272:216a3409ebff
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Nov 05 17:36:33 2022 +0000

description:
Make aes and chacha prints debug only.

diffstat:

 sys/crypto/aes/aes_impl.c       |  6 +++---
 sys/crypto/chacha/chacha_impl.c |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r f0e9f118468e -r 216a3409ebff sys/crypto/aes/aes_impl.c
--- a/sys/crypto/aes/aes_impl.c Sat Nov 05 17:32:03 2022 +0000
+++ b/sys/crypto/aes/aes_impl.c Sat Nov 05 17:36:33 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aes_impl.c,v 1.9 2020/07/27 20:45:15 riastradh Exp $   */
+/*     $NetBSD: aes_impl.c,v 1.10 2022/11/05 17:36:33 jmcneill Exp $   */
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: aes_impl.c,v 1.9 2020/07/27 20:45:15 riastradh Exp $");
+__KERNEL_RCSID(1, "$NetBSD: aes_impl.c,v 1.10 2022/11/05 17:36:33 jmcneill Exp $");
 
 #include <sys/types.h>
 #include <sys/kernel.h>
@@ -121,7 +121,7 @@
        if (aes_impl == NULL)
                panic("AES self-tests failed");
 
-       aprint_verbose("aes: %s\n", aes_impl->ai_name);
+       aprint_debug("aes: %s\n", aes_impl->ai_name);
        return 0;
 }
 
diff -r f0e9f118468e -r 216a3409ebff sys/crypto/chacha/chacha_impl.c
--- a/sys/crypto/chacha/chacha_impl.c   Sat Nov 05 17:32:03 2022 +0000
+++ b/sys/crypto/chacha/chacha_impl.c   Sat Nov 05 17:36:33 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: chacha_impl.c,v 1.3 2020/07/27 20:49:10 riastradh Exp $        */
+/*     $NetBSD: chacha_impl.c,v 1.4 2022/11/05 17:36:33 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -84,7 +84,7 @@
                        chacha_impl = chacha_md_impl;
        }
 
-       aprint_verbose("chacha: %s\n", chacha_impl->ci_name);
+       aprint_debug("chacha: %s\n", chacha_impl->ci_name);
        return 0;
 }
 



Home | Main Index | Thread Index | Old Index