Skip to contentSkip to conversation

lib/mpi: purge mpi_set_buffer()

PATCH Applied Nicolai Stange 2 participants 2 messages May 26, 2016 – May 31, 2016 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/mpi: purge mpi_set_buffer()

mpi_set_buffer() has no in-tree users and similar functionality is provided by mpi_read_raw_data().

Remove mpi_set_buffer().

---
Applicable to linux-next-20150525.
allmodconfig build on x86_64 succeeded.

 include/linux/mpi.h |  1 -
 lib/mpi/mpicoder.c  | 76 -----------------------------------------------------
 2 files changed, 77 deletions(-)
include/linux/mpi.h +0 -1
index 3a5abe9..f219559 100644
@@ -80,7 +80,6 @@ void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign);
 int mpi_read_buffer(MPI a, uint8_t *buf, unsigned buf_len, unsigned *nbytes,
 		    int *sign);
 void *mpi_get_secure_buffer(MPI a, unsigned *nbytes, int *sign);
-int mpi_set_buffer(MPI a, const void *buffer, unsigned nbytes, int sign);
 int mpi_write_to_sgl(MPI a, struct scatterlist *sg, unsigned *nbytes,
 		     int *sign);
 
lib/mpi/mpicoder.c +0 -76

82 lines not on this page · raw message

Signature · 1 line
2.8.2
maintainer Applied
#1 lore raw
Quoted 6 lines · Nicolai Stange

mpi_set_buffer() has no in-tree users and similar functionality is provided by mpi_read_raw_data().

Remove mpi_set_buffer().

Applied.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt