| author | |
| committer | |
| log | b8b68cb279e8f51a8aa7c67aa42cefc644375b74 |
| tree | ceb53b69ff40a1539b6973380ac69a0560c35ad1 |
| parent | 8716fde7bcb2fa472438e936128cb8f8512680ab |
9 files changed, 23 insertions(+), 31 deletions(-)
lib/std/crypto/benchmark.zig+2-2| ... | ... | @@ -5,8 +5,8 @@ |
| 5 | 5 | // and substantial portions of the software. |
| 6 | 6 | // zig run benchmark.zig --release-fast --override-lib-dir .. |
| 7 | 7 | |
| 8 | const builtin = @import("builtin"); | |
| 9 | const std = @import("std"); | |
| 8 | const std = @import("../std.zig"); | |
| 9 | const builtin = std.builtin; | |
| 10 | 10 | const mem = std.mem; |
| 11 | 11 | const time = std.time; |
| 12 | 12 | const Timer = time.Timer; |
lib/std/crypto/blake2.zig+4-4| ... | ... | @@ -3,10 +3,10 @@ |
| 3 | 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. |
| 4 | 4 | // The MIT license requires this copyright notice to be included in all copies |
| 5 | 5 | // and substantial portions of the software. |
| 6 | const mem = @import("../mem.zig"); | |
| 7 | const builtin = @import("builtin"); | |
| 8 | const debug = @import("../debug.zig"); | |
| 9 | const math = @import("../math.zig"); | |
| 6 | const std = @import("../std.zig"); | |
| 7 | const mem = std.mem; | |
| 8 | const math = std.math; | |
| 9 | const debug = std.debug; | |
| 10 | 10 | const htest = @import("test.zig"); |
| 11 | 11 | |
| 12 | 12 | const RoundParam = struct { |
lib/std/crypto/chacha20.zig-2| ... | ... | @@ -7,10 +7,8 @@ |
| 7 | 7 | |
| 8 | 8 | const std = @import("../std.zig"); |
| 9 | 9 | const mem = std.mem; |
| 10 | const endian = std.endian; | |
| 11 | 10 | const assert = std.debug.assert; |
| 12 | 11 | const testing = std.testing; |
| 13 | const builtin = @import("builtin"); | |
| 14 | 12 | const maxInt = std.math.maxInt; |
| 15 | 13 | const Poly1305 = std.crypto.onetimeauth.Poly1305; |
| 16 | 14 |
lib/std/crypto/md5.zig+4-6| ... | ... | @@ -3,12 +3,10 @@ |
| 3 | 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. |
| 4 | 4 | // The MIT license requires this copyright notice to be included in all copies |
| 5 | 5 | // and substantial portions of the software. |
| 6 | const mem = @import("../mem.zig"); | |
| 7 | const math = @import("../math.zig"); | |
| 8 | const endian = @import("../endian.zig"); | |
| 9 | const builtin = @import("builtin"); | |
| 10 | const debug = @import("../debug.zig"); | |
| 11 | const fmt = @import("../fmt.zig"); | |
| 6 | const std = @import("../std.zig"); | |
| 7 | const mem = std.mem; | |
| 8 | const math = std.math; | |
| 9 | const debug = std.debug; | |
| 12 | 10 | |
| 13 | 11 | const RoundParam = struct { |
| 14 | 12 | a: usize, |
lib/std/crypto/poly1305.zig+1-1| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. |
| 4 | 4 | // The MIT license requires this copyright notice to be included in all copies |
| 5 | 5 | // and substantial portions of the software. |
| 6 | const std = @import("std"); | |
| 6 | const std = @import("../std.zig"); | |
| 7 | 7 | const mem = std.mem; |
| 8 | 8 | |
| 9 | 9 | pub const Poly1305 = struct { |
lib/std/crypto/sha1.zig+4-5| ... | ... | @@ -3,11 +3,10 @@ |
| 3 | 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. |
| 4 | 4 | // The MIT license requires this copyright notice to be included in all copies |
| 5 | 5 | // and substantial portions of the software. |
| 6 | const mem = @import("../mem.zig"); | |
| 7 | const math = @import("../math.zig"); | |
| 8 | const endian = @import("../endian.zig"); | |
| 9 | const debug = @import("../debug.zig"); | |
| 10 | const builtin = @import("builtin"); | |
| 6 | const std = @import("../std.zig"); | |
| 7 | const mem = std.mem; | |
| 8 | const math = std.math; | |
| 9 | const debug = std.debug; | |
| 11 | 10 | |
| 12 | 11 | const RoundParam = struct { |
| 13 | 12 | a: usize, |
lib/std/crypto/sha2.zig+4-5| ... | ... | @@ -3,11 +3,10 @@ |
| 3 | 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. |
| 4 | 4 | // The MIT license requires this copyright notice to be included in all copies |
| 5 | 5 | // and substantial portions of the software. |
| 6 | const mem = @import("../mem.zig"); | |
| 7 | const math = @import("../math.zig"); | |
| 8 | const endian = @import("../endian.zig"); | |
| 9 | const debug = @import("../debug.zig"); | |
| 10 | const builtin = @import("builtin"); | |
| 6 | const std = @import("../std.zig"); | |
| 7 | const mem = std.mem; | |
| 8 | const math = std.math; | |
| 9 | const debug = std.debug; | |
| 11 | 10 | const htest = @import("test.zig"); |
| 12 | 11 | |
| 13 | 12 | ///////////////////// |
lib/std/crypto/sha3.zig+4-5| ... | ... | @@ -3,11 +3,10 @@ |
| 3 | 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. |
| 4 | 4 | // The MIT license requires this copyright notice to be included in all copies |
| 5 | 5 | // and substantial portions of the software. |
| 6 | const mem = @import("../mem.zig"); | |
| 7 | const math = @import("../math.zig"); | |
| 8 | const endian = @import("../endian.zig"); | |
| 9 | const debug = @import("../debug.zig"); | |
| 10 | const builtin = @import("builtin"); | |
| 6 | const std = @import("../std.zig"); | |
| 7 | const mem = std.mem; | |
| 8 | const math = std.math; | |
| 9 | const debug = std.debug; | |
| 11 | 10 | const htest = @import("test.zig"); |
| 12 | 11 | |
| 13 | 12 | pub const Sha3_224 = Keccak(224, 0x06); |
lib/std/crypto/test.zig-1| ... | ... | @@ -5,7 +5,6 @@ |
| 5 | 5 | // and substantial portions of the software. |
| 6 | 6 | const std = @import("../std.zig"); |
| 7 | 7 | const testing = std.testing; |
| 8 | const mem = std.mem; | |
| 9 | 8 | const fmt = std.fmt; |
| 10 | 9 | |
| 11 | 10 | // Hash using the specified hasher `H` asserting `expected == H(input)`. |