Breaking: sort std/crypto functions into categories

Instead of having all primitives and constructions share the same namespace,
they are now organized by category and function family.

Types within the same category are expected to share the exact same API.
This commit is contained in:
Frank Denis
2020-08-19 16:21:05 +02:00
parent 1a4059ed88
commit 6f9ea9eaef
16 changed files with 242 additions and 194 deletions

View File

@@ -313,7 +313,7 @@ pub fn main() !void {
var max_bytes_saved: usize = 0;
var total_bytes: usize = 0;
var hasher = std.crypto.Sha256.init();
var hasher = std.crypto.hash.sha2.Sha256.init();
for (libc_targets) |libc_target| {
const dest_target = DestTarget{