From: Dmitry Kasatkin Date: Wed, 30 Jan 2013 09:30:05 +0000 (+0200) Subject: digsig: remove unnecessary memory allocation and copying X-Git-Tag: v3.9-rc1~137^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26d438457ed1b99b6cb26d8f694e8d3de336f9d8;p=pandora-kernel.git 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 Signed-off-by: James Morris --- Reading git-diff-tree failed