Fixed dependencies

This commit is contained in:
mingxguo27
2020-09-22 17:41:16 +00:00
parent 6cab8aaa20
commit d0a1f707bc
5 changed files with 1 additions and 10 deletions

View File

@@ -28,7 +28,6 @@ ram_storage = []
verbose = ["debug_ctap", "libtock_drivers/verbose_usb"]
with_ctap1 = ["crypto/with_ctap1"]
with_ctap2_1 = []
fuzzing = []
[dev-dependencies]
elf2tab = "0.6.0"

View File

@@ -17,7 +17,7 @@ cbor = { path = "../libraries/cbor" }
[dependencies.ctap2]
path = ".."
features = ['std', 'ram_storage', 'fuzzing']
features = ['std', 'ram_storage']
# Prevent this from interfering with workspaces
[workspace]

View File

@@ -21,7 +21,6 @@ TBF Header:
start_process_ram: 4294967295 0xFFFFFFFF
start_process_flash: 262208 0x40040
========================================
Board: nrf52840_dongle
----------------------------------------
@@ -45,7 +44,6 @@ TBF Header:
start_process_ram: 4294967295 0xFFFFFFFF
start_process_flash: 262208 0x40040
========================================
Board: nrf52840_dongle_dfu
----------------------------------------
@@ -69,7 +67,6 @@ TBF Header:
start_process_ram: 4294967295 0xFFFFFFFF
start_process_flash: 262208 0x40040
========================================
Board: nrf52840_mdk_dfu
----------------------------------------
@@ -93,4 +90,3 @@ TBF Header:
start_process_ram: 4294967295 0xFFFFFFFF
start_process_flash: 262208 0x40040

View File

@@ -18,7 +18,6 @@ TBF Header:
init_fn_offset: 73 0x49
protected_size: 8 0x8
minimum_ram_size: 107428 0x1A3A4
start_process_ram: 4294967295 0xFFFFFFFF
start_process_flash: 262208 0x40040

View File

@@ -17,14 +17,11 @@ use crate::ctap::data_formats::{CredentialProtectionPolicy, PublicKeyCredentialS
use crate::ctap::pin_protocol_v1::PIN_AUTH_LENGTH;
use crate::ctap::status_code::Ctap2StatusCode;
use crate::ctap::{key_material, USE_BATCH_ATTESTATION};
#[cfg(feature = "fuzzing")]
use crate::embedded_flash::{self, StoreConfig, StoreEntry, StoreError};
use alloc::string::String;
use alloc::vec::Vec;
use core::convert::TryInto;
use crypto::rng256::Rng256;
#[cfg(not(feature = "fuzzing"))]
use ctap2::embedded_flash::{self, StoreConfig, StoreEntry, StoreError};
#[cfg(any(test, feature = "ram_storage"))]
type Storage = embedded_flash::BufferStorage;