]> code.ossystems Code Review - meta-freescale.git/blob
84268c5802120a9abb5fda8a1d1cf7afebe38173
[meta-freescale.git] /
1 From 7012cf33a00618749319b1903f48ee3a35f5887b Mon Sep 17 00:00:00 2001
2 From: Cristian Stoica <cristian.stoica@nxp.com>
3 Date: Mon, 8 Feb 2016 16:12:54 +0200
4 Subject: [PATCH 34/48] cryptodev: fix incorrect function signature
5
6 Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
7 ---
8  crypto/engine/eng_cryptodev.c | 2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c
12 index 5a68c76..cec6938 100644
13 --- a/crypto/engine/eng_cryptodev.c
14 +++ b/crypto/engine/eng_cryptodev.c
15 @@ -3148,7 +3148,7 @@ static ECDSA_SIG *cryptodev_ecdsa_do_sign(const unsigned char *dgst,
16  }
17  
18  static int cryptodev_ecdsa_verify(const unsigned char *dgst, int dgst_len,
19 -                                  ECDSA_SIG *sig, EC_KEY *eckey)
20 +                                  const ECDSA_SIG *sig, EC_KEY *eckey)
21  {
22      BIGNUM *m = NULL, *p = NULL, *a = NULL, *b = NULL;
23      BIGNUM *x = NULL, *y = NULL, *w_x = NULL, *w_y = NULL;
24 -- 
25 2.7.0
26