Re: [PATCH 1/2] digsig: remove unnecessary memory allocation and copying

2013-01-31 Thread James Morris
On Wed, 30 Jan 2013, Dmitry Kasatkin wrote: > In existing use case, copying of the decoded data is unnecessary in > pkcs_1_v1_5_decode_emsa. It is just enough to get pointer to the message. > Removing copying and extra buffer allocation. Applied. -- James Morris -- To unsubscribe from this lis

[PATCH 1/2] digsig: remove unnecessary memory allocation and copying

2013-01-30 Thread Dmitry Kasatkin
In existing use case, copying of the decoded data is unnecessary in pkcs_1_v1_5_decode_emsa. It is just enough to get pointer to the message. Removing copying and extra buffer allocation. Signed-off-by: Dmitry Kasatkin --- lib/digsig.c | 41 ++--- 1 file cha