linux/drivers/crypto/hisilicon/sec2
Zhiqi Song f1115b0096 crypto: hisilicon/sec2 - save capability registers in probe process
Pre-store the valid value of the sec alg support related capability
register in sec_qm_init(), which will be called by probe process.
It can reduce the number of capability register queries and avoid
obtaining incorrect values in abnormal scenarios, such as reset
failed and the memory space disabled.

Fixes: 921715b6b7 ("crypto: hisilicon/sec - get algorithm bitmap from registers")
Signed-off-by: Zhiqi Song <songzhiqi1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2023-12-08 11:59:45 +08:00
..
Makefile
sec_crypto.c crypto: hisilicon/sec2 - save capability registers in probe process 2023-12-08 11:59:45 +08:00
sec_crypto.h crypto: hisilicon/sec - fix auth key size error 2022-07-29 18:29:17 +08:00
sec_main.c crypto: hisilicon/sec2 - save capability registers in probe process 2023-12-08 11:59:45 +08:00
sec.h crypto: hisilicon/sec2 - save capability registers in probe process 2023-12-08 11:59:45 +08:00