diff options
author | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | 2013-01-30 11:30:05 +0200 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2013-02-01 16:28:24 +1100 |
commit | 26d438457ed1b99b6cb26d8f694e8d3de336f9d8 (patch) | |
tree | 9a6f3cd4f009fc0bff888e52a2c00af757b50e58 /lib/fault-inject.c | |
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>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions