summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJason Wang <wangborong@cdjrlc.com>2021-08-03 15:55:25 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-08-12 14:16:57 +0300
commitc391714c04971f5f68e3685bd7da940c9b90036d (patch)
tree81ec72a041cc6e80bef7a833c250dab17c2346bd /lib/mpi/mpiutil.c
parent0888d04b47a165ae8c429c6fe11b3c43f5017f31 (diff)
downloadlinux-c391714c04971f5f68e3685bd7da940c9b90036d.tar.xz
crypto: sun8i-ce - use kfree_sensitive to clear and free sensitive data
The kfree_sensitive is a kernel API to clear sensitive information that should not be leaked to other future users of the same memory objects and free the memory. Its function is the same as the combination of memzero_explicit and kfree. Thus, we can replace the combination APIs with the single kfree_sensitive API. Signed-off-by: Jason Wang <wangborong@cdjrlc.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions