| author | |
| committer | |
| log | b495512175b9b96fe0792680dc8716f0ec1936af |
| tree | f57b203a14d6f5d7a0ca118b6aee30c7ea7369fe |
| parent | 5a095a3f083f5e2248b0d37bf499c350ad18179f |
| signature |
2 files changed, 3 insertions(+), 0 deletions(-)
lib/std/crypto/benchmark.zig+1| ... | ... | @@ -23,6 +23,7 @@ const hashes = [_]Crypto{ |
| 23 | 23 | Crypto{ .ty = crypto.Sha512, .name = "sha512" }, |
| 24 | 24 | Crypto{ .ty = crypto.Sha3_256, .name = "sha3-256" }, |
| 25 | 25 | Crypto{ .ty = crypto.Sha3_512, .name = "sha3-512" }, |
| 26 | Crypto{ .ty = crypto.gimli.Hash, .name = "gimli-hash" }, | |
| 26 | 27 | Crypto{ .ty = crypto.Blake2s256, .name = "blake2s" }, |
| 27 | 28 | Crypto{ .ty = crypto.Blake2b512, .name = "blake2b" }, |
| 28 | 29 | Crypto{ .ty = crypto.Blake3, .name = "blake3" }, |
lib/std/crypto/gimli.zig+2| ... | ... | @@ -134,6 +134,8 @@ pub const Hash = struct { |
| 134 | 134 | } |
| 135 | 135 | } |
| 136 | 136 | |
| 137 | pub const digest_length = 32; | |
| 138 | ||
| 137 | 139 | /// Finish the current hashing operation, writing the hash to `out` |
| 138 | 140 | /// |
| 139 | 141 | /// From 4.9 "Application to hashing" |