Appease gcc's -Wparentheses (and -Werror)

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Li-Wen Hsu 2020-08-05 05:58:25 +00:00
parent e5e10c82ec
commit 096761378c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363880

View File

@ -1635,7 +1635,7 @@ safexcel_instr_ccm(struct safexcel_request *req, struct safexcel_instr *instr,
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);