Skip to content

Commit 1376212

Browse files
authored
Migrate to new dev macros (#719)
1 parent 9d9357e commit 1376212

File tree

97 files changed

+76
-145
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+76
-145
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ whirlpool = { path = "whirlpool" }
3838
blobby = { git = "https://github.com/RustCrypto/utils" }
3939
# https://github.com/RustCrypto/traits/pull/1916
4040
# https://github.com/RustCrypto/traits/pull/1953
41+
# https://github.com/RustCrypto/traits/pull/1958
4142
digest = { git = "https://github.com/RustCrypto/traits" }
4243
# https://github.com/RustCrypto/utils/pull/1200
4344
block-buffer = { git = "https://github.com/RustCrypto/utils" }
File renamed without changes.

belt-hash/tests/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use hex_literal::hex;
44

55
// Test vectors from STB 34.101.31-2020 (Section A.11, Table A.23):
66
// http://apmi.bsu.by/assets/files/std/belt-spec371.pdf
7-
digest::new_test!(belt_stb, "stb", BeltHash, fixed_reset_test);
7+
digest::new_test!(belt_hash_kat, BeltHash, fixed_reset_test);
88

99
#[test]
1010
fn belt_rand() {

blake2/tests/mac.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ use digest::dev::reset_mac_test as test_fn;
55

66
use digest::new_mac_test;
77

8-
new_mac_test!(blake2b_mac, "blake2b/mac", blake2::Blake2bMac512, test_fn);
9-
new_mac_test!(blake2s_mac, "blake2s/mac", blake2::Blake2sMac256, test_fn);
8+
new_mac_test!(blake2b_mac_kat, blake2::Blake2bMac512, test_fn);
9+
new_mac_test!(blake2s_mac_kat, blake2::Blake2sMac256, test_fn);
1010

1111
#[test]
1212
fn blake2b_new_test() {

0 commit comments

Comments
 (0)