Jack O'Connor
dcfb0e3c04
bpo-31933: fix blake2 multi-byte params on big endian platforms ( #4250 )
...
All Blake2 params have to be encoded in little-endian byte order. For
the two multi-byte integer params, leaf_length and node_offset, that
means that assigning a native-endian integer to them appears to work on
little-endian platforms, but gives the wrong result on big-endian. The
current libb2 API doesn't make that very clear, and @sneves is working
on new API functions in the GH issue above. In the meantime, we can work
around the problem by explicitly assigning little-endian values to the
parameter block.
See https://github.com/BLAKE2/libb2/issues/12 .
2017-11-03 20:02:41 +01:00
..
2017-11-03 20:02:41 +01:00
2017-09-25 11:09:11 +03:00
2017-09-10 18:08:04 +02:00
2017-09-24 02:49:58 +03:00
2017-10-23 13:57:51 -07:00
2017-09-07 18:56:24 +02:00
2017-10-10 12:27:46 -07:00
2017-09-06 18:00:47 -07:00
2017-08-25 18:31:22 +02:00
2017-11-03 11:09:00 +02:00
2017-09-24 12:08:40 -07:00
2017-09-03 08:10:14 +03:00
2016-11-24 23:31:59 +01:00
2017-09-07 18:56:24 +02:00
2017-03-12 10:10:47 +02:00
2017-09-26 20:18:21 -07:00
2017-10-25 23:55:14 -07:00
2017-03-23 17:53:47 +02:00
2017-01-23 09:47:21 +02:00
2017-11-01 20:48:49 +02:00
2017-11-02 20:32:54 +10:00
2017-04-16 10:46:38 +03:00
2017-10-10 23:26:24 +03:00
2017-09-17 21:11:04 +03:00
2017-04-16 10:46:38 +03:00
2017-09-07 18:56:24 +02:00
2016-04-15 02:27:11 +00:00
2017-09-24 12:07:12 +03:00
2017-06-28 08:30:06 +03:00
2017-01-23 09:47:21 +02:00
2017-09-07 18:56:24 +02:00
2016-10-18 16:29:27 +02:00
2016-10-18 16:29:27 +02:00
2016-07-07 17:35:15 +03:00
2017-06-08 14:41:19 +03:00
2017-10-22 21:31:34 +03:00
2017-05-29 10:03:41 -07:00
2017-09-28 10:50:01 +03:00
2017-01-23 09:47:21 +02:00
2017-10-24 23:31:42 +03:00
2017-10-15 12:28:31 -07:00
2017-09-14 10:33:26 +08:00
2017-04-08 09:53:51 +03:00
2017-11-02 07:28:27 -07:00
2017-01-23 09:47:21 +02:00
2017-10-24 16:53:32 -07:00
2017-11-02 20:32:54 +10:00
2017-10-06 20:41:34 +10:00
2017-10-02 07:57:59 -07:00
2016-12-27 14:19:20 +01:00
2017-10-24 16:53:32 -07:00
2016-09-06 10:46:49 -07:00
2017-09-21 14:24:13 +03:00
2017-06-12 08:25:04 +03:00
2017-08-20 18:35:36 +03:00
2017-07-26 15:17:57 -07:00
2016-08-29 13:56:58 +01:00
2017-10-27 07:27:12 -07:00
2017-04-16 10:46:38 +03:00
2017-09-04 16:36:05 -07:00
2017-01-23 09:47:21 +02:00
2017-10-16 12:49:41 -07:00
2016-03-07 14:52:46 -05:00
2017-03-04 00:19:55 -05:00
2017-09-20 23:08:20 -07:00
2017-06-28 08:30:06 +03:00
2017-09-07 18:56:24 +02:00
2016-09-13 20:22:02 +02:00
2016-09-13 20:22:02 +02:00
2017-09-26 21:47:56 +03:00
2016-11-20 07:56:37 +00:00
2017-10-25 12:11:26 +10:00
2017-05-27 18:25:03 +02:00
2017-09-14 18:13:16 -07:00
2017-01-23 09:47:21 +02:00
2017-04-08 09:53:51 +03:00
2017-06-28 08:30:06 +03:00
2017-04-16 10:46:38 +03:00
2017-10-26 16:59:40 +03:00
2017-11-02 20:32:54 +10:00
2017-10-27 05:27:06 -07:00
2017-06-28 08:30:06 +03:00
2017-09-15 16:35:20 -06:00
2017-09-07 18:56:24 +02:00
2017-03-12 13:08:30 +02:00
2017-11-02 20:32:54 +10:00
2017-09-07 18:56:24 +02:00
2017-01-23 09:47:21 +02:00
2017-01-23 09:47:21 +02:00
2017-02-04 11:53:22 +02:00
2017-11-03 19:58:46 +01:00
2017-10-27 05:27:06 -07:00
2017-09-14 09:38:36 +03:00
2017-06-28 08:30:06 +03:00
2017-10-24 23:31:42 +03:00
2017-10-24 23:31:42 +03:00
2017-10-24 23:31:42 +03:00
2017-02-04 12:13:20 +02:00
2017-01-23 09:47:21 +02:00
2017-01-23 09:47:21 +02:00
2017-11-02 07:28:27 -07:00
2017-06-22 22:31:08 -07:00
2017-06-22 22:31:08 -07:00
2017-06-22 22:31:08 -07:00
2016-08-04 02:38:59 +00:00
2017-01-31 23:31:10 -08:00
2017-09-22 17:44:58 +02:00
2017-10-20 13:42:35 -07:00
2017-11-03 11:09:00 +02:00