summaryrefslogtreecommitdiff
path: root/lib/iommu-helper.c
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2015-06-15 20:18:36 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-16 06:35:06 (GMT)
commitd37e296979ed1652aec6850e2d736bd0ebf0cdb1 (patch)
tree6f26c2f3a80bbf2e04c3be67edb22631d705de95 /lib/iommu-helper.c
parent4beb106045976b785a05e77ab5430ad04b6038b7 (diff)
downloadlinux-d37e296979ed1652aec6850e2d736bd0ebf0cdb1.tar.xz
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: Tadeusz Struk <tadeusz.struk@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/iommu-helper.c')
0 files changed, 0 insertions, 0 deletions