Module Name: src Committed By: riastradh Date: Sun Jul 26 04:44:47 UTC 2020
Modified Files: src/sys/crypto/aes: aes_ccm.c Log Message: Ensure aes_ccm module init runs after aes module init. Otherwise the AES implementation might not be selected early enough. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/crypto/aes/aes_ccm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/crypto/aes/aes_ccm.c diff -u src/sys/crypto/aes/aes_ccm.c:1.2 src/sys/crypto/aes/aes_ccm.c:1.3 --- src/sys/crypto/aes/aes_ccm.c:1.2 Sat Jul 25 22:27:53 2020 +++ src/sys/crypto/aes/aes_ccm.c Sun Jul 26 04:44:47 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: aes_ccm.c,v 1.2 2020/07/25 22:27:53 riastradh Exp $ */ +/* $NetBSD: aes_ccm.c,v 1.3 2020/07/26 04:44:47 riastradh Exp $ */ /*- * Copyright (c) 2020 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(1, "$NetBSD: aes_ccm.c,v 1.2 2020/07/25 22:27:53 riastradh Exp $"); +__KERNEL_RCSID(1, "$NetBSD: aes_ccm.c,v 1.3 2020/07/26 04:44:47 riastradh Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -588,7 +588,7 @@ aes_ccm_selftest(void) /* XXX provisional hack */ #include <sys/module.h> -MODULE(MODULE_CLASS_MISC, aes_ccm, NULL); +MODULE(MODULE_CLASS_MISC, aes_ccm, "aes"); static int aes_ccm_modcmd(modcmd_t cmd, void *opaque)