OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: talitos - HMAC SNOOP NO AFEU mode requires SW icv checking.
[android-x86/kernel.git]
/
crypto
/
rsa-pkcs1pad.c
diff --git
a/crypto/rsa-pkcs1pad.c
b/crypto/rsa-pkcs1pad.c
index
8baab43
..
7830d30
100644
(file)
--- a/
crypto/rsa-pkcs1pad.c
+++ b/
crypto/rsa-pkcs1pad.c
@@
-496,7
+496,7
@@
static int pkcs1pad_verify_complete(struct akcipher_request *req, int err)
goto done;
pos++;
- if (
memcmp
(out_buf + pos, digest_info->data, digest_info->size))
+ if (
crypto_memneq
(out_buf + pos, digest_info->data, digest_info->size))
goto done;
pos += digest_info->size;