mirror of
https://github.com/polhenarejos/pico-fido.git
synced 2024-09-20 03:10:10 +00:00
Add some ifdefs for ccid.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
87bdea7e28
commit
4fe29750f2
@ -30,7 +30,9 @@
|
||||
#include "mbedtls/hkdf.h"
|
||||
#include "pk_wrap.h"
|
||||
#include "crypto_utils.h"
|
||||
#ifdef ITF_CCID
|
||||
#include "ccid.h"
|
||||
#endif
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@ -63,7 +65,9 @@ app_t *fido_select(app_t *a, const uint8_t *aid, uint8_t aid_len) {
|
||||
}
|
||||
|
||||
void __attribute__ ((constructor)) fido_ctor() {
|
||||
#ifdef ITF_CCID
|
||||
ccid_atr = atr_fido;
|
||||
#endif
|
||||
register_app(fido_select);
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,9 @@
|
||||
#include "mbedtls/hkdf.h"
|
||||
#include "pk_wrap.h"
|
||||
#include "crypto_utils.h"
|
||||
#ifdef ITF_CCID
|
||||
#include "ccid.h"
|
||||
#endif
|
||||
#include "version.h"
|
||||
#include "asn1.h"
|
||||
#include <stdio.h>
|
||||
|
Loading…
Reference in New Issue
Block a user