David Sterba
f07ef1de9b
crypto: tcrypt - do not attempt to write to readonly variable
...
Commit da7f033ddc9fdeb (”crypto: cryptomgr - Add test infrastructure”) added a
const to variable which is later used as target buffer of memcpy.
crypto/tcrypt.c:217:12: warning: passing 'const char (*)[128]' to parameter of type 'void *' discards qualifiers
memset(&iv, 0xff, iv_len);
crypto/tcrypt.c:test_cipher_speed()
- unsigned char *key, iv[128];
+ const char *key, iv[128];
...
memset(&iv, 0xff, iv_len);
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2011-03-04 15:28:52 +08:00
..
2010-10-27 19:04:36 -07:00
2011-01-29 15:09:43 +11:00
2010-02-16 20:24:07 +08:00
2010-02-16 20:34:59 +08:00
2010-12-21 22:22:40 +11:00
2010-08-06 09:26:38 +08:00
2010-05-03 11:28:58 +08:00
2010-08-06 09:40:28 +08:00
2010-11-19 17:47:58 +08:00
2010-11-30 17:04:31 +08:00
2009-11-23 20:25:50 +08:00
2010-02-16 20:25:39 +08:00
2010-02-16 20:26:46 +08:00
2006-09-21 11:41:02 +10:00
2010-12-02 14:47:16 +08:00
2010-10-26 16:52:08 -07:00
2010-02-16 20:24:30 +08:00
2010-02-16 20:27:57 +08:00
2010-11-13 21:47:55 +09:00
2010-02-16 20:29:45 +08:00
2008-02-07 08:42:26 -08:00
2009-01-27 17:11:15 +11:00
2009-02-19 14:44:02 +08:00
2010-02-16 20:31:37 +08:00
2010-02-16 20:31:04 +08:00
2010-02-16 20:31:19 +08:00
2010-09-20 16:05:12 +08:00
2010-02-16 20:31:54 +08:00
2011-01-04 23:34:08 +11:00
2010-05-26 10:36:51 +10:00
2008-06-02 15:46:51 +10:00
2010-11-27 16:30:39 +08:00
2010-10-07 14:08:50 +01:00
2010-02-16 20:33:49 +08:00
2010-12-02 14:47:16 +08:00
2010-02-16 20:34:07 +08:00
2008-08-29 15:50:02 +10:00
2010-12-02 14:47:16 +08:00
2009-03-04 14:43:52 +08:00
2009-08-06 15:32:38 +10:00
2010-03-30 22:02:32 +09:00
2010-03-10 18:24:46 +08:00
2010-12-28 22:56:26 +11:00
2008-04-21 10:19:34 +08:00
2008-08-29 15:50:04 +10:00
2009-02-17 20:00:11 +08:00
2008-04-21 10:19:34 +08:00
2010-11-27 16:32:57 +08:00
2008-12-25 11:02:16 +11:00
2010-03-02 21:58:16 +08:00
2008-12-25 11:02:24 +11:00
2008-02-07 08:42:26 -08:00
2009-07-14 12:58:15 +08:00
2011-01-13 10:25:58 -08:00
2009-12-08 15:55:13 -08:00
2008-07-10 20:35:12 +08:00
2011-01-04 23:34:03 +11:00
2011-01-04 23:34:03 +11:00
2011-01-04 23:34:03 +11:00
2011-01-04 23:34:03 +11:00
2010-03-30 22:02:32 +09:00
2008-12-25 11:02:30 +11:00
2010-05-19 14:06:29 +10:00
2007-10-10 16:55:38 -07:00
2010-03-30 22:02:32 +09:00
2008-04-21 10:19:34 +08:00
2009-07-11 18:23:33 +08:00
2009-07-11 18:23:34 +08:00
2009-07-22 14:38:13 +08:00
2010-11-04 14:48:37 -04:00
2011-03-04 15:28:52 +08:00
2010-03-10 18:30:32 +08:00
2008-04-21 10:19:34 +08:00
2011-01-29 15:14:35 +11:00
2011-02-17 14:24:45 +11:00
2008-12-25 11:02:21 +11:00
2008-01-11 08:16:06 +11:00
2010-06-03 21:02:51 +10:00
2010-03-18 20:22:55 +08:00
2008-12-25 11:02:22 +11:00
2009-08-20 17:58:04 +10:00
2010-03-30 22:02:32 +09:00
2010-05-26 10:36:51 +10:00
2010-11-27 16:30:39 +08:00