Commit 53a076cd authored by Yu'an Wang's avatar Yu'an Wang Committed by wangyuan
Browse files

crypto: hisilicon/qm - alloc reserve buffer to set and get xqc

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8E6ED


CVE: NA

--------------------------------

If the temporarily applied memory is used to set or get the xqc
information, the driver will release the memory after the mailbox
timeout. However, the hardware still performs the operation.
Therefore, the released memory may be written by hardware. So when
load driver, reserve memory is applied for xqc configuration.

Signed-off-by: default avatarYu'an Wang <wangyuan46@huawei.com>
parent 77baaf70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment