Matt Caswell 51909407c2 Left shift of a negative number is undefined behaviour
Fix undefined behaviour in curve25519.c. Prior to this running with
ubsan produces errors like this:

crypto/ec/curve25519.c:3871:18: runtime error: left shift of negative
value -22867

[extended tests]

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3600)
2017-06-02 10:40:13 +01:00
..
2017-05-31 13:33:20 -04:00
2017-05-27 14:15:24 +02:00
2017-03-12 00:19:14 +00:00
2017-05-22 08:03:22 -04:00
2017-05-30 20:38:20 +01:00
2017-04-04 10:44:17 -04:00
2017-05-11 19:39:38 +02:00
2016-06-01 11:29:57 -04:00
2017-05-31 13:33:20 -04:00
2017-05-11 19:39:38 +02:00
2017-05-11 19:39:38 +02:00
2017-05-11 19:39:38 +02:00
2017-02-21 14:47:18 -05:00
2017-05-11 19:39:38 +02:00
2017-05-11 19:39:38 +02:00
2017-05-03 09:04:23 +02:00
2017-02-21 14:13:58 -05:00
2017-05-31 08:56:03 -04:00
2016-05-19 22:33:00 +02:00
2016-05-19 22:33:00 +02:00
2016-05-17 14:51:26 -04:00
2016-05-19 22:33:00 +02:00
2016-05-17 14:51:34 -04:00
2016-05-17 14:53:16 -04:00
2016-05-17 15:38:09 -04:00
2016-06-01 11:27:25 -04:00
2016-05-17 15:38:09 -04:00
2016-07-18 10:47:07 +01:00
2016-08-02 09:59:23 +02:00
2017-04-24 18:09:01 +02:00
2017-05-20 20:54:04 -04:00
2017-02-22 19:51:04 +01:00
2017-02-28 15:26:25 +01:00
2017-02-28 15:26:25 +01:00
2016-05-19 22:33:00 +02:00
2016-05-24 11:04:38 -04:00
2016-05-19 22:33:00 +02:00
2016-10-18 17:09:47 +01:00
2016-05-17 14:53:16 -04:00
2017-02-28 15:26:25 +01:00
2016-05-17 14:24:46 -04:00
2016-05-17 14:53:16 -04:00