Skip to content
Snippets Groups Projects
Commit d37e2969 authored by Tadeusz Struk's avatar Tadeusz Struk Committed by Herbert Xu
Browse files

MPILIB: add mpi_read_buf() and mpi_get_size() helpers


Added a mpi_read_buf() helper function to export MPI to a buf provided by
the user, and a mpi_get_size() helper, that tells the user how big the buf is.
Changed mpi_free to use kzfree instead of kfree because it is used to free
crypto keys.

Signed-off-by: default avatarTadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 4beb1060
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment