Skip to content
Snippets Groups Projects
Commit 26d43845 authored by Dmitry Kasatkin's avatar Dmitry Kasatkin Committed by James Morris
Browse files

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: default avatarDmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: default avatarJames Morris <james.l.morris@oracle.com>
parent 5a73fcfa
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment