Propagate the NBYTES constant from Int256 to SecKey

This commit is contained in:
Julien Cretin
2020-06-04 14:32:04 +02:00
parent 3d2de2b02a
commit 0073c153d2
2 changed files with 5 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ const AAGUID: usize = 7;
const NUM_TAGS: usize = 8;
const MAX_PIN_RETRIES: u8 = 6;
const ATTESTATION_PRIVATE_KEY_LENGTH: usize = 32;
const ATTESTATION_PRIVATE_KEY_LENGTH: usize = crypto::ecdsa::NBYTES;
const AAGUID_LENGTH: usize = 16;
#[derive(PartialEq, Eq, PartialOrd, Ord)]