commit | 26d438457ed1b99b6cb26d8f694e8d3de336f9d8 | [log] [tgz] |
---|---|---|
author | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | Wed Jan 30 11:30:05 2013 +0200 |
committer | James Morris <james.l.morris@oracle.com> | Fri Feb 01 16:28:24 2013 +1100 |
tree | 9a6f3cd4f009fc0bff888e52a2c00af757b50e58 | |
parent | 5a73fcfa8875a94c2956e7ff8fba54d31a3e2854 [diff] |
digsig: remove unnecessary memory allocation and copying 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>