diff --git a/Cargo.toml b/Cargo.toml index 47940df..cef4c68 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -74,6 +74,3 @@ log-info = [] log-debug = [] log-warn = [] log-error = [] - -# Support for large ECC keys (brainpool 512 and NIST P521), that do not have functional import/export -large-ecc = [] diff --git a/src/lib.rs b/src/lib.rs index 360d8af..6434585 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -42,7 +42,7 @@ const BACKEND_DIR: &Path = path!("se050-bak"); pub const GLOBAL_ATTEST_ID: ObjectId = ObjectId(hex!("F0000012")); /// The version to know wether it should be re-configured -pub const SE050_CONFIGURE_VERSION: u32 = 3; +pub const SE050_CONFIGURE_VERSION: u32 = 2; pub enum Se05xLocation { Persistent, @@ -199,17 +199,6 @@ mod tests { fn backend_version() { // History of previous SE050_CONFIGURE_VERSION and the curves they used let curves_versions: &[(u32, &[_])] = &[ - ( - 3, - &[ - PRIME256V1_INITIALIZER, - SECP384R1_INITIALIZER, - SECP521R1_INITIALIZER, - BRAINPOOL_P256R1_INITIALIZER, - BRAINPOOL_P384R1_INITIALIZER, - BRAINPOOL_P512R1_INITIALIZER, - ], - ), ( 2, &[ @@ -218,6 +207,7 @@ mod tests { SECP521R1_INITIALIZER, BRAINPOOL_P256R1_INITIALIZER, BRAINPOOL_P384R1_INITIALIZER, + BRAINPOOL_P512R1_INITIALIZER, ], ), (1, &[PRIME256V1_INITIALIZER, SECP521R1_INITIALIZER]),