diff options
| author | Dmitry Kasatkin <[email protected]> | 2013-01-30 09:30:05 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2013-02-01 05:28:24 +0000 |
| commit | 26d438457ed1b99b6cb26d8f694e8d3de336f9d8 (patch) | |
| tree | 9a6f3cd4f009fc0bff888e52a2c00af757b50e58 /lib/mpi/mpicoder.c | |
| parent | ima: differentiate appraise status only for hook specific rules (diff) | |
| download | kernel-26d438457ed1b99b6cb26d8f694e8d3de336f9d8.tar.gz kernel-26d438457ed1b99b6cb26d8f694e8d3de336f9d8.zip | |
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 <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
