svn commit: r363880 - head/sys/dev/safexcel
Li-Wen Hsu
lwhsu at FreeBSD.org
Wed Aug 5 05:58:26 UTC 2020
Author: lwhsu
Date: Wed Aug 5 05:58:25 2020
New Revision: 363880
URL: https://svnweb.freebsd.org/changeset/base/363880
Log:
Appease gcc's -Wparentheses (and -Werror)
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/safexcel/safexcel.c
Modified: head/sys/dev/safexcel/safexcel.c
==============================================================================
--- head/sys/dev/safexcel/safexcel.c Wed Aug 5 03:53:57 2020 (r363879)
+++ head/sys/dev/safexcel/safexcel.c Wed Aug 5 05:58:25 2020 (r363880)
@@ -1635,7 +1635,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 */ |
(crp->crp_aad_length > 0 ? 1 : 0) << 6 /* AAD present bit */;
memcpy(&b0[1], req->iv, AES_CCM_IV_LEN);
More information about the svn-src-all
mailing list