summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorZhen Kong <zkong@codeaurora.org>2017-06-12 11:10:17 -0700
committerZhen Kong <zkong@codeaurora.org>2017-06-13 11:37:43 -0700
commit0ddb3d1fcf222a977ef1cfc1cde20275b8053078 (patch)
tree7dfdf951b5b8ae99cfac4286cd93b789c755e41f /net/unix/af_unix.c
parent840d1a232cfd67867a61a31ccc5d81c5c2192474 (diff)
crypto: msm: fix rfc4309(ccm(aes)) issue on msm-4.4
In newer kernel (msm-4.4 or later), for AEAD ciphering, crypto api has been re-worked and the assoclen defines the length of association data and iv together. But for rfc4309(ccm(aes)), iv is not part of AAD. Therefore, change qcrypto driver to remove the iv, by subtract 8 from assoclen for rfc4309(ccm(aes)). Change-Id: I37eb1934d7817b5b5c33440122b68e5d37854960 Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions