mirror of
https://github.com/trussed-dev/usbd-ccid.git
synced 2026-06-20 04:16:20 -07:00
Progress: GetData/Verify works, next up: GeneralAuthenticate
This commit is contained in:
+1
-5
@@ -8,11 +8,7 @@ use crate::{
|
||||
types::{
|
||||
ApduInterchange,
|
||||
ClassRequest,
|
||||
packet::{
|
||||
self,
|
||||
RawPacket,
|
||||
},
|
||||
tlv,
|
||||
packet::RawPacket,
|
||||
},
|
||||
pipe::Pipe,
|
||||
};
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#![allow(non_camel_case_types)]
|
||||
use heapless_bytes::{
|
||||
Bytes,
|
||||
consts,
|
||||
Unsigned as _
|
||||
};
|
||||
|
||||
+1
-2
@@ -9,7 +9,6 @@ use crate::{
|
||||
ApduInterchange,
|
||||
MessageBuffer,
|
||||
packet::{
|
||||
self,
|
||||
Chain,
|
||||
Command,
|
||||
DataBlock,
|
||||
@@ -183,7 +182,7 @@ where
|
||||
hprintln!("called piv app").ok();
|
||||
let command = match iso7816::Command::try_from(&self.message) {
|
||||
Ok(command) => command,
|
||||
Err(error) => {
|
||||
Err(_error) => {
|
||||
hprintln!("could not parse command from APDU, ignoring {:?}", &self.message).ok();
|
||||
return;
|
||||
}
|
||||
|
||||
+1
-3
@@ -1,6 +1,4 @@
|
||||
use core::convert::TryInto;
|
||||
|
||||
use cortex_m_semihosting::hprintln;
|
||||
// use cortex_m_semihosting::hprintln;
|
||||
use heapless_bytes::Bytes;
|
||||
|
||||
use crate::constants::*;
|
||||
|
||||
Reference in New Issue
Block a user