Frank Denis
fa17447090
std/crypto: make the whole APIs more consistent
...
- use `PascalCase` for all types. So, AES256GCM is now Aes256Gcm.
- consistently use `_length` instead of mixing `_size` and `_length` for the
constants we expose
- Use `minimum_key_length` when it represents an actual minimum length.
Otherwise, use `key_length`.
- Require output buffers (for ciphertexts, macs, hashes) to be of the right
size, not at least of that size in some functions, and the exact size elsewhere.
- Use a `_bits` suffix instead of `_length` when a size is represented as a
number of bits to avoid confusion.
- Functions returning a constant-sized slice are now defined as a slice instead
of a pointer + a runtime assertion. This is the case for most hash functions.
- Use `camelCase` for all functions instead of `snake_case`.
No functional changes, but these are breaking API changes.
2020-10-17 18:53:08 -04:00
..
2020-08-20 16:07:04 -04:00
2020-10-15 20:34:22 -04:00
2020-10-08 22:45:39 -07:00
2020-09-11 20:02:41 -04:00
2020-10-17 18:53:08 -04:00
2020-09-03 18:10:40 +03:00
2020-10-14 21:49:45 -04:00
2020-09-05 13:58:02 +03:00
2020-10-12 20:08:23 -07:00
2020-09-14 16:43:49 +03:00
2020-09-25 10:58:07 +02:00
2020-09-07 06:23:27 -06:00
2020-08-20 16:07:04 -04:00
2020-10-09 22:16:48 -04:00
2020-09-29 12:06:35 -07:00
2020-10-01 15:01:25 -06:00
2020-08-20 16:07:04 -04:00
2020-10-15 19:37:55 -07:00
2020-08-20 16:07:04 -04:00
2020-10-16 21:29:24 -04:00
2020-08-21 14:50:37 -07:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-10-15 16:44:16 -07:00
2020-09-25 20:50:40 -07:00
2020-08-20 16:07:04 -04:00
2020-09-29 19:49:13 +02:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-10-11 19:16:07 -05:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-09-02 00:17:50 +02:00
2020-10-15 20:34:22 -04:00
2020-10-07 16:58:50 -04:00
2020-10-12 18:56:25 -04:00
2020-10-16 18:14:39 -07:00
2020-09-04 05:15:03 +03:00
2020-09-11 20:02:41 -04:00
2020-08-20 16:07:04 -04:00
2020-10-17 18:53:08 -04:00
2020-08-20 16:07:04 -04:00
2020-10-12 18:56:25 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-10-12 18:56:25 -04:00
2020-09-15 18:14:06 +03:00
2020-10-07 04:34:09 -04:00
2020-09-27 05:46:39 -04:00
2020-10-15 12:21:19 +02:00
2020-10-12 18:56:25 -04:00
2020-09-09 00:33:14 -04:00
2020-08-22 02:47:50 -04:00
2020-09-25 10:58:07 +02:00
2020-08-31 23:39:50 +10:00
2020-09-07 06:23:27 -06:00
2020-08-22 02:47:39 -04:00
2020-09-26 21:03:38 -07:00
2020-10-04 15:31:47 +02:00
2020-10-15 20:34:22 -04:00
2020-09-03 18:10:40 +03:00
2020-10-15 20:34:22 -04:00
2020-08-20 16:07:04 -04:00
2020-09-24 22:06:41 +02:00
2020-08-20 16:07:04 -04:00
2020-10-16 18:14:39 -07:00
2020-10-12 18:56:25 -04:00
2020-09-04 22:49:14 +03:00
2020-09-22 05:12:21 -07:00
2020-10-12 18:56:25 -04:00
2020-09-03 18:07:30 -04:00
2020-10-15 20:57:16 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-10-17 15:46:36 -07:00
2020-10-15 20:34:22 -04:00
2020-10-15 20:34:22 -04:00
2020-10-15 20:34:22 -04:00
2020-09-03 18:10:40 +03:00
2020-10-14 21:49:45 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-10-15 20:34:22 -04:00