diff options
author | Nicolas Toromanoff <nicolas.toromanoff@foss.st.com> | 2021-11-30 08:55:01 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-12-11 16:48:06 +1100 |
commit | 95fe2253cc1ad65d7f140d1944fa1b5d3c67abc0 (patch) | |
tree | 0c758a6614eef9f80556e0288b730f4d91200597 /drivers/crypto/stm32/stm32-hash.c | |
parent | 4b898d5cfa4d9a0ad5bc82cb5eafdc092394c6a9 (diff) | |
download | linux-95fe2253cc1ad65d7f140d1944fa1b5d3c67abc0.tar.bz2 |
crypto: stm32/cryp - reorder hw initialization
The CRYP IP checks the written key depending of the configuration, it's
safer to write the whole configuration to hardware then the key to avoid
unexpected key rejection.
Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@foss.st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/stm32/stm32-hash.c')
0 files changed, 0 insertions, 0 deletions