diff --git a/Cargo.lock b/Cargo.lock index 8188b12f..a26318f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -99,7 +99,7 @@ dependencies = [ "glass_pumpkin", "hashbrown", "nom", - "num-bigint", + "num-bigint 0.4.8", "num-complex", "num-traits", "once_cell", @@ -121,7 +121,7 @@ dependencies = [ "hex", "nom", "nom_locate", - "num-bigint", + "num-bigint 0.4.8", "num-complex", "num-traits", "pulldown-cmark 0.13.4", @@ -207,6 +207,12 @@ dependencies = [ "rustc_version", ] +[[package]] +name = "base16ct" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6" + [[package]] name = "base64" version = "0.22.1" @@ -362,6 +368,12 @@ dependencies = [ "error-code", ] +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + [[package]] name = "codespan" version = "0.13.1" @@ -409,9 +421,9 @@ checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" [[package]] name = "cortex-m" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f985670a83ddb4c96174f696987458ae26fe3d801faf7263b56a2b2252c2f76f" +checksum = "844b9697e922c99847eed515c6eb6d101e7ce62ff556fcaec243798291427ee8" dependencies = [ "bare-metal", "bitfield", @@ -462,6 +474,12 @@ dependencies = [ "critical-section", ] +[[package]] +name = "cpubits" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15b85f9c39137c3a891689859392b1bd49812121d0d61c9caf00d46ed5ce06ae" + [[package]] name = "cpufeatures" version = "0.3.0" @@ -543,6 +561,19 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" +[[package]] +name = "crypto-bigint" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a52aa3fcda4e6302a9f48734f234d35d4721b96f8fe07d073f07ce9df4f0271" +dependencies = [ + "cpubits", + "ctutils", + "num-traits", + "rand_core", + "serdect", +] + [[package]] name = "crypto-common" version = "0.2.2" @@ -552,6 +583,25 @@ dependencies = [ "hybrid-array", ] +[[package]] +name = "crypto-primes" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3633a51a39c69ebbaa4feaa694bd83d241e4093901c84a0963b19d9bb3f0cf8f" +dependencies = [ + "crypto-bigint", + "rand_core", +] + +[[package]] +name = "ctutils" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d5515a3834141de9eafb9717ad39eea8247b5674e6066c404e8c4b365d2a29e" +dependencies = [ + "cmov", +] + [[package]] name = "darling" version = "0.20.11" @@ -782,16 +832,18 @@ dependencies = [ [[package]] name = "glass_pumpkin" -version = "2.0.0-rc0" +version = "2.0.0-rc1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec260059e5d59a4899d78dff8bf59abf81f8f5b3b44e9d3ba25c9dade1390a36" +checksum = "a7809b1b81636525574d3ff5afd967c43df03bb23598c8348ee926648672f6d4" dependencies = [ + "crypto-bigint", + "crypto-primes", "getrandom", - "num-bigint", + "num-bigint 0.5.1", "num-integer", "num-traits", - "once_cell", "rand_core", + "thiserror", ] [[package]] @@ -1114,6 +1166,17 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-bigint" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93e7820bc0a80a0238e650327316f929ba18d5be054b647490a3a6a339f3e7c0" +dependencies = [ + "num-integer", + "num-traits", + "rand_core", +] + [[package]] name = "num-complex" version = "0.4.6" @@ -1602,6 +1665,16 @@ dependencies = [ "serde", ] +[[package]] +name = "serdect" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66cf8fedced2fcf12406bcb34223dffb92eaf34908ede12fed414c82b7f00b3e" +dependencies = [ + "base16ct", + "serde", +] + [[package]] name = "sha2" version = "0.11.0" diff --git a/Cargo.toml b/Cargo.toml index 987c0af3..6cb767f7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ cortex-m-rt = "0.7" cortex-m-semihosting = "0.6" criterion = "0.8.2" embedded-alloc = "0.7.0" -glass_pumpkin = "=2.0.0-rc0" +glass_pumpkin = "=2.0.0-rc1" hashbrown = "0.17" hex = "0.4.2" nom = { version = "8", default-features = false, features = ["alloc"] }