svn commit: r364060 - stable/12/sys/dev/safexcel
Mark Johnston
markj at FreeBSD.org
Mon Aug 10 02:39:43 UTC 2020
Author: markj
Date: Mon Aug 10 02:39:42 2020
New Revision: 364060
URL: https://svnweb.freebsd.org/changeset/base/364060
Log:
MFC r363880 (by lwhsu):
Appease gcc's -Wparentheses (and -Werror)
Modified:
stable/12/sys/dev/safexcel/safexcel.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/dev/safexcel/safexcel.c
==============================================================================
--- stable/12/sys/dev/safexcel/safexcel.c Mon Aug 10 00:43:43 2020 (r364059)
+++ stable/12/sys/dev/safexcel/safexcel.c Mon Aug 10 02:39:42 2020 (r364060)
@@ -1651,7 +1651,7 @@ safexcel_instr_ccm(struct safexcel_request *req, struc
b0 = (uint8_t *)instr;
memset(b0, 0, blen);
b0[0] =
- L - 1 | /* payload length size */
+ (L - 1) | /* payload length size */
((CCM_CBC_MAX_DIGEST_LEN - 2) / 2) << 3 /* digest length */ |
(req->mac->crd_len > 0 ? 1 : 0) << 6 /* AAD present bit */;
memcpy(&b0[1], req->iv, AES_CCM_IV_LEN);
More information about the svn-src-stable-12
mailing list