diff --git a/aes-gcm-siv/Cargo.toml b/aes-gcm-siv/Cargo.toml index c4c0a8c1..348d3401 100644 --- a/aes-gcm-siv/Cargo.toml +++ b/aes-gcm-siv/Cargo.toml @@ -32,8 +32,9 @@ aead = { version = "0.5", features = ["dev"], default-features = false } default = ["aes", "alloc", "getrandom"] std = ["aead/std", "alloc"] alloc = ["aead/alloc"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] heapless = ["aead/heapless"] +rand_core = ["aead/rand_core"] stream = ["aead/stream"] [package.metadata.docs.rs] diff --git a/aes-gcm/Cargo.toml b/aes-gcm/Cargo.toml index f9a80c20..6abd0f4d 100644 --- a/aes-gcm/Cargo.toml +++ b/aes-gcm/Cargo.toml @@ -33,8 +33,9 @@ hex-literal = "0.3" default = ["aes", "alloc", "getrandom"] std = ["aead/std", "alloc"] alloc = ["aead/alloc"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] heapless = ["aead/heapless"] +rand_core = ["aead/rand_core"] stream = ["aead/stream"] [package.metadata.docs.rs] diff --git a/aes-siv/Cargo.toml b/aes-siv/Cargo.toml index a8d41e99..2cecf476 100644 --- a/aes-siv/Cargo.toml +++ b/aes-siv/Cargo.toml @@ -37,8 +37,9 @@ hex-literal = "0.3" default = ["alloc", "getrandom"] std = ["aead/std", "alloc"] alloc = ["aead/alloc"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] heapless = ["aead/heapless"] +rand_core = ["aead/rand_core"] stream = ["aead/stream"] [package.metadata.docs.rs] diff --git a/ccm/Cargo.toml b/ccm/Cargo.toml index 49045ab8..72928229 100644 --- a/ccm/Cargo.toml +++ b/ccm/Cargo.toml @@ -28,6 +28,7 @@ hex-literal = "0.3.4" default = ["alloc", "getrandom"] std = ["aead/std", "alloc"] alloc = ["aead/alloc"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] heapless = ["aead/heapless"] +rand_core = ["aead/rand_core"] stream = ["aead/stream"] diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml index eedee0c8..2531ed50 100644 --- a/chacha20poly1305/Cargo.toml +++ b/chacha20poly1305/Cargo.toml @@ -31,8 +31,9 @@ aead = { version = "0.5", features = ["dev"], default-features = false } default = ["alloc", "getrandom"] std = ["aead/std", "alloc"] alloc = ["aead/alloc"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] heapless = ["aead/heapless"] +rand_core = ["aead/rand_core"] reduced-round = [] stream = ["aead/stream"] diff --git a/deoxys/Cargo.toml b/deoxys/Cargo.toml index 82dabde4..35b55435 100644 --- a/deoxys/Cargo.toml +++ b/deoxys/Cargo.toml @@ -31,8 +31,9 @@ hex-literal = "0.3" default = ["alloc", "getrandom"] std = ["aead/std", "alloc"] alloc = ["aead/alloc"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] heapless = ["aead/heapless"] +rand_core = ["aead/rand_core"] stream = ["aead/stream"] [package.metadata.docs.rs] diff --git a/eax/Cargo.toml b/eax/Cargo.toml index 9798b8bd..af0c2aec 100644 --- a/eax/Cargo.toml +++ b/eax/Cargo.toml @@ -34,8 +34,9 @@ aes = "0.8" default = ["alloc", "getrandom"] std = ["aead/std", "alloc"] alloc = ["aead/alloc"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] heapless = ["aead/heapless"] +rand_core = ["aead/rand_core"] stream = ["aead/stream"] [package.metadata.docs.rs] diff --git a/mgm/Cargo.toml b/mgm/Cargo.toml index d9a81c15..20f437e0 100644 --- a/mgm/Cargo.toml +++ b/mgm/Cargo.toml @@ -32,7 +32,8 @@ hex-literal = "0.2" default = ["alloc", "getrandom"] std = ["aead/std", "alloc"] alloc = ["aead/alloc"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] heapless = ["aead/heapless"] +rand_core = ["aead/rand_core"] stream = ["aead/stream"] force-soft = [] # Disable support for hardware intrinsics