Fixed dependencies
This commit is contained in:
@@ -28,7 +28,6 @@ ram_storage = []
|
|||||||
verbose = ["debug_ctap", "libtock_drivers/verbose_usb"]
|
verbose = ["debug_ctap", "libtock_drivers/verbose_usb"]
|
||||||
with_ctap1 = ["crypto/with_ctap1"]
|
with_ctap1 = ["crypto/with_ctap1"]
|
||||||
with_ctap2_1 = []
|
with_ctap2_1 = []
|
||||||
fuzzing = []
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
elf2tab = "0.6.0"
|
elf2tab = "0.6.0"
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ cbor = { path = "../libraries/cbor" }
|
|||||||
|
|
||||||
[dependencies.ctap2]
|
[dependencies.ctap2]
|
||||||
path = ".."
|
path = ".."
|
||||||
features = ['std', 'ram_storage', 'fuzzing']
|
features = ['std', 'ram_storage']
|
||||||
|
|
||||||
# Prevent this from interfering with workspaces
|
# Prevent this from interfering with workspaces
|
||||||
[workspace]
|
[workspace]
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ TBF Header:
|
|||||||
|
|
||||||
start_process_ram: 4294967295 0xFFFFFFFF
|
start_process_ram: 4294967295 0xFFFFFFFF
|
||||||
start_process_flash: 262208 0x40040
|
start_process_flash: 262208 0x40040
|
||||||
|
|
||||||
========================================
|
========================================
|
||||||
Board: nrf52840_dongle
|
Board: nrf52840_dongle
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
@@ -45,7 +44,6 @@ TBF Header:
|
|||||||
|
|
||||||
start_process_ram: 4294967295 0xFFFFFFFF
|
start_process_ram: 4294967295 0xFFFFFFFF
|
||||||
start_process_flash: 262208 0x40040
|
start_process_flash: 262208 0x40040
|
||||||
|
|
||||||
========================================
|
========================================
|
||||||
Board: nrf52840_dongle_dfu
|
Board: nrf52840_dongle_dfu
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
@@ -69,7 +67,6 @@ TBF Header:
|
|||||||
|
|
||||||
start_process_ram: 4294967295 0xFFFFFFFF
|
start_process_ram: 4294967295 0xFFFFFFFF
|
||||||
start_process_flash: 262208 0x40040
|
start_process_flash: 262208 0x40040
|
||||||
|
|
||||||
========================================
|
========================================
|
||||||
Board: nrf52840_mdk_dfu
|
Board: nrf52840_mdk_dfu
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
@@ -93,4 +90,3 @@ TBF Header:
|
|||||||
|
|
||||||
start_process_ram: 4294967295 0xFFFFFFFF
|
start_process_ram: 4294967295 0xFFFFFFFF
|
||||||
start_process_flash: 262208 0x40040
|
start_process_flash: 262208 0x40040
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ TBF Header:
|
|||||||
init_fn_offset: 73 0x49
|
init_fn_offset: 73 0x49
|
||||||
protected_size: 8 0x8
|
protected_size: 8 0x8
|
||||||
minimum_ram_size: 107428 0x1A3A4
|
minimum_ram_size: 107428 0x1A3A4
|
||||||
|
|
||||||
start_process_ram: 4294967295 0xFFFFFFFF
|
start_process_ram: 4294967295 0xFFFFFFFF
|
||||||
start_process_flash: 262208 0x40040
|
start_process_flash: 262208 0x40040
|
||||||
|
|
||||||
|
|||||||
@@ -17,14 +17,11 @@ use crate::ctap::data_formats::{CredentialProtectionPolicy, PublicKeyCredentialS
|
|||||||
use crate::ctap::pin_protocol_v1::PIN_AUTH_LENGTH;
|
use crate::ctap::pin_protocol_v1::PIN_AUTH_LENGTH;
|
||||||
use crate::ctap::status_code::Ctap2StatusCode;
|
use crate::ctap::status_code::Ctap2StatusCode;
|
||||||
use crate::ctap::{key_material, USE_BATCH_ATTESTATION};
|
use crate::ctap::{key_material, USE_BATCH_ATTESTATION};
|
||||||
#[cfg(feature = "fuzzing")]
|
|
||||||
use crate::embedded_flash::{self, StoreConfig, StoreEntry, StoreError};
|
use crate::embedded_flash::{self, StoreConfig, StoreEntry, StoreError};
|
||||||
use alloc::string::String;
|
use alloc::string::String;
|
||||||
use alloc::vec::Vec;
|
use alloc::vec::Vec;
|
||||||
use core::convert::TryInto;
|
use core::convert::TryInto;
|
||||||
use crypto::rng256::Rng256;
|
use crypto::rng256::Rng256;
|
||||||
#[cfg(not(feature = "fuzzing"))]
|
|
||||||
use ctap2::embedded_flash::{self, StoreConfig, StoreEntry, StoreError};
|
|
||||||
|
|
||||||
#[cfg(any(test, feature = "ram_storage"))]
|
#[cfg(any(test, feature = "ram_storage"))]
|
||||||
type Storage = embedded_flash::BufferStorage;
|
type Storage = embedded_flash::BufferStorage;
|
||||||
|
|||||||
Reference in New Issue
Block a user