digsig: remove unnecessary memory allocation and copying
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Wed, 30 Jan 2013 09:30:05 +0000 (11:30 +0200)
committerJames Morris <james.l.morris@oracle.com>
Fri, 1 Feb 2013 05:28:24 +0000 (16:28 +1100)
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 <dmitry.kasatkin@intel.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>

No differences found