aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorZhen Kong <zkong@codeaurora.org>2014-01-10 12:01:59 -0800
committerZhen Kong <zkong@codeaurora.org>2014-01-15 18:18:48 -0800
commit83c570e1b60c6c1f1b3d2d3d13b1f5447ff2f457 (patch)
tree143e5c7babcef4f34321c2968ec1303c96374528 /scripts/gcc-wrapper.py
parent4ae4d5036759c44eacf10f51cb4a237031c68aa4 (diff)
crypto: msm: Fix key length setting
Hardcoding key length to a constant value results in overwriting command element information in the command descriptor beyond what is allocate for the key information in the command element list. This results in corruption of the command list in the case where command descriptors are used for configuring crypto registers and needlessly writing to key registers that are not relevant to the operation (when writing to registers directly), and thus leads to crypto operation failures. Fix is to use the key length based on what is requested by the client. Change-Id: Ibd625dc7a438fac84b13588700bf472004e246d5 Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions