Commit Graph

  • 3def9bff4f Added PKCS5 source for key derivation. Pol Henarejos 2022-11-14 13:07:24 +01:00
  • fccee34a1e In asn1_find_tag(), tag_data and tag_len are not modified if not found. Pol Henarejos 2022-11-07 22:26:00 +01:00
  • 28170100cc Adding support for Curve25519 and Curve448. Pol Henarejos 2022-11-09 16:49:45 +01:00
  • 74210d7af0 Fix chaining more than 2 chunks. Pol Henarejos 2022-10-30 23:41:56 +01:00
  • b2c2980d73 Fix secure channel with no payload. Pol Henarejos 2022-10-30 21:10:15 +01:00
  • 4a8a6728c7 Adding support for specific vendor HID command (0x41). Pol Henarejos 2022-10-29 19:41:00 +02:00
  • 5bdc7ab202 Adding specific vendor command to unlock the device. Pol Henarejos 2022-10-17 17:38:20 +02:00
  • 1e66e51595 Adding ENABLE_DELAYED_BOOT flag for delayed boot compilation. Pol Henarejos 2022-10-05 11:09:24 +02:00
  • e5fe638c68 Fix related with reallocation under some optimization situations. Pol Henarejos 2022-10-05 09:33:18 +02:00
  • 8f14db677e Fix strange bug when usb cannot write. Pol Henarejos 2022-09-29 23:11:49 +02:00
  • d0fe447416 Fix PING with no data. Pol Henarejos 2022-09-29 16:59:30 +02:00
  • 27d897be6c Adding delete_file(). Pol Henarejos 2022-09-29 09:05:39 +02:00
  • c5095dfec6 Only send response apdu if sw != 0. Pol Henarejos 2022-09-27 22:10:47 +02:00
  • 2aff75a3ec Fix keepalive msg. Pol Henarejos 2022-09-27 22:09:16 +02:00
  • 286858c907 Compact debug. Pol Henarejos 2022-09-27 22:07:15 +02:00
  • 815e865ced Moving some defines. Pol Henarejos 2022-09-27 12:23:43 +02:00
  • 3912775ccb Fix writting large packets. Pol Henarejos 2022-09-27 12:23:16 +02:00
  • b70a7474f2 Possibly not necessary, as it returns 0 if there is no available. Pol Henarejos 2022-09-25 23:35:35 +02:00
  • 96641e79e5 Moving to MbedTLS 3.2.1 Pol Henarejos 2022-09-25 23:33:12 +02:00
  • fa371643a1 Fix writing large usb buffers. Pol Henarejos 2022-09-25 23:23:07 +02:00
  • 52a2ff8b34 Adding chacha sources, as it is enabled in config. Pol Henarejos 2022-09-25 20:34:51 +02:00
  • 55d4839e21 Adding missing function to ccid driver. Pol Henarejos 2022-09-25 20:34:18 +02:00
  • 657913d29a Upgrading version v3.4 Pol Henarejos 2022-09-25 18:14:18 +02:00
  • 18fa1d7f37 Reseting previous command if new arrives. Pol Henarejos 2022-09-25 18:09:37 +02:00
  • f123108c3e Added variable to cancel button press. Pol Henarejos 2022-09-23 18:07:38 +02:00
  • f8590ba8c7 Added CTAPHID_CANCEL support. Pol Henarejos 2022-09-23 18:07:27 +02:00
  • 4d7101b802 Fix send_keepalive with auxiliary buffer. Pol Henarejos 2022-09-22 23:53:55 +02:00
  • 7fded7234b Adding extra buffer to tx. Pol Henarejos 2022-09-22 22:52:56 +02:00
  • 988d4e23c2 Fix combining APDU MSG and keepalive. Pol Henarejos 2022-09-22 22:52:41 +02:00
  • c23f17107a Random functions shall be called for each core, otherwise it will hung. Pol Henarejos 2022-09-22 20:18:05 +02:00
  • 91e2b7f643 Fix reading corrupted memory. Pol Henarejos 2022-09-22 19:24:17 +02:00
  • 3092da23ed card_init_core1() shall be called from every thread launched on core1. Pol Henarejos 2022-09-22 19:24:07 +02:00
  • e29521fcf6 Multiple bug fixes to pass HID tests. Pol Henarejos 2022-09-22 19:23:39 +02:00
  • d2e54b04db Adding variable button timeout. Pol Henarejos 2022-09-22 19:22:44 +02:00
  • 4ab68cc822 HID fixes. Pol Henarejos 2022-09-22 14:05:39 +02:00
  • e1914556ec Fix debug_data Pol Henarejos 2022-09-22 09:59:02 +02:00
  • 287be74921 Adding macro for easy debug. Pol Henarejos 2022-09-22 09:29:43 +02:00
  • 5a4aff7008 Adding KEEP_ALIVE response. Pol Henarejos 2022-09-20 15:31:34 +02:00
  • 8b97791d8f Reorganizing core0/core1 split. Pol Henarejos 2022-09-20 14:39:59 +02:00
  • 847005d94f Adding support for clientPIN. Pol Henarejos 2022-09-19 17:20:52 +02:00
  • 68f43f3cb2 Adding functions for calling random in core0. Pol Henarejos 2022-09-16 00:49:10 +02:00
  • 4c49e59edc Major CTAP refactoring. Pol Henarejos 2022-09-15 14:16:40 +02:00
  • 633593aae3 Adding chacha sources. Pol Henarejos 2022-09-15 14:16:30 +02:00
  • 42f3c67c61 Adding Credentials structure. Pol Henarejos 2022-09-14 17:27:00 +02:00
  • 493a88538a Adding support for ChaCha20 with Poly1305. Pol Henarejos 2022-09-14 17:26:45 +02:00
  • 607f7c50d4 Adding some macros for CBOR parsing. Pol Henarejos 2022-09-14 00:08:05 +02:00
  • 2cb59d57d2 Adding first attempt of adding make_credential. Pol Henarejos 2022-09-13 20:37:15 +02:00
  • a8e1fe5842 Adding CBOR parser routines. Pol Henarejos 2022-09-13 20:36:27 +02:00
  • d1530733a2 Lots of fixes with CBOR encoding cbor_get_info(). Pol Henarejos 2022-09-12 00:50:38 +02:00
  • 4538d6ef14 Add TinyCBOR library compile. Pol Henarejos 2022-09-09 20:43:18 +02:00
  • 4a1bddb3d5 Adding cbor_get_info(). Pol Henarejos 2022-09-09 20:35:11 +02:00
  • c6a129b6ad Add TinyCBOR for CBOR encoding/decoding. Pol Henarejos 2022-09-09 20:33:42 +02:00
  • abd52c34ba Added CBOR processing. Pol Henarejos 2022-09-08 20:37:21 +02:00
  • 7aeac46eef Adding CTAP2 commands. Pol Henarejos 2022-09-08 17:49:56 +02:00
  • 867d4637ee Moving from U2F to CTAP1. Pol Henarejos 2022-09-08 17:35:40 +02:00
  • 7491021102 Fix initializing variables. v3.2 Pol Henarejos 2022-09-08 16:38:13 +02:00
  • 9b137f6f08 Moved to FIDO. Pol Henarejos 2022-09-08 13:50:28 +02:00
  • 3f492b9272 Upgrade version to v3.2. Pol Henarejos 2022-09-08 13:45:30 +02:00
  • 799733203b Added SYNC command. Pol Henarejos 2022-09-08 13:24:03 +02:00
  • 0be497e713 Added LOCK command. Pol Henarejos 2022-09-08 13:12:17 +02:00
  • e23dead31d Add PING command. Pol Henarejos 2022-09-08 12:56:32 +02:00
  • 4d9faccedb Added some sanity checks. Pol Henarejos 2022-09-08 12:13:34 +02:00
  • f47df94dfb Added some string descriptors. Pol Henarejos 2022-09-08 10:45:25 +02:00
  • c0123aa669 Adding blink in 1 second on WINK. Pol Henarejos 2022-09-06 16:09:02 +02:00
  • 43dfb0cde5 Fix APDU processing for small packets. Pol Henarejos 2022-09-05 17:30:05 +02:00
  • f14e029094 Adding x509 routines. Pol Henarejos 2022-09-05 17:05:51 +02:00
  • f14cc8dba5 Clearing tx buffer for every transmission. Pol Henarejos 2022-09-05 16:47:07 +02:00
  • 16a1981dc3 When a packet > 57 bytes is sent, it must be chunked. Pol Henarejos 2022-09-05 11:29:04 +02:00
  • 9ccd10fcea Adding x509 functions. Pol Henarejos 2022-09-02 19:08:45 +02:00
  • a6506e6c95 Adding missing headers. Pol Henarejos 2022-09-02 19:08:33 +02:00
  • 3e73d6569b Disabling MbedTLS with FS. Pol Henarejos 2022-09-02 19:08:25 +02:00
  • 214ec2b9ae Adding support for U2F_MSG Pol Henarejos 2022-09-02 18:02:31 +02:00
  • 1d2a461086 Adding missing file. v3.0 Pol Henarejos 2022-08-31 14:18:14 +02:00
  • 8075352fab Upgrading version to v3.0 Pol Henarejos 2022-08-31 13:55:29 +02:00
  • cd3812ecca Creating a cmake library to be added by other projects. Pol Henarejos 2022-08-31 13:55:14 +02:00
  • 2f565f23e0 Small debug fix Pol Henarejos 2022-08-30 17:48:25 +02:00
  • 93ac6c2128 Fix addressing apdu. Pol Henarejos 2022-08-30 16:57:37 +02:00
  • 13983bdd68 Fix compiling with disabled debug apdu. Pol Henarejos 2022-08-30 16:57:12 +02:00
  • b42e2b5493 Fix processing apdu. Pol Henarejos 2022-08-30 16:57:01 +02:00
  • b75e5a6619 Not used anymore. Pol Henarejos 2022-08-30 13:22:21 +02:00
  • 40288a85f1 It's a major reorganization. Pol Henarejos 2022-08-30 02:00:11 +02:00
  • 2236501d20 Upgrading pico-ccid to version 2.2 Pol Henarejos 2022-08-29 11:31:48 +02:00
  • 61536fa41a Adding extern to random_gen() Pol Henarejos 2022-08-25 13:37:34 +02:00
  • 8e5d33c4ba Removing trailing spaces. Pol Henarejos 2022-08-19 01:44:03 +02:00
  • 33b33fdbba neug_get() does not have any argument. Pol Henarejos 2022-08-18 23:54:10 +02:00
  • 7738c1902e Added permanent memory region to store data that remains persistent even after an initialization. To delete it, the device must be fully wiped. Pol Henarejos 2022-08-18 19:48:13 +02:00
  • 2df878232b File new should return file_t pointer if it exists in the file table. Pol Henarejos 2022-08-18 11:57:01 +02:00
  • be86197b0b Added macro to disable APDU debug. Pol Henarejos 2022-06-14 19:12:17 +02:00
  • d1b52d9521 PUK AUT may return 0x9001. Pol Henarejos 2022-06-12 18:07:13 +02:00
  • 3397f25bf0 Simply generic_hash() Pol Henarejos 2022-06-10 16:37:06 +02:00
  • 9ea71fb45b Fix DEBUG_PAYLOAD(). Pol Henarejos 2022-06-09 17:28:27 +02:00
  • fe53f9a729 Another fix with RAPDU in C0. Pol Henarejos 2022-06-06 02:18:32 +02:00
  • f44658eb63 Fix preparing next RAPDU in C0 response. Pol Henarejos 2022-06-06 01:44:41 +02:00
  • 2b8c23f593 Upgrading to version 2.0. v2.0 Pol Henarejos 2022-06-06 00:11:24 +02:00
  • 9cfe762043 low_flash_available() should be called outside. Pol Henarejos 2022-06-03 20:11:14 +02:00
  • 07305e6fd7 Fix returning error message. Pol Henarejos 2022-06-03 16:04:31 +02:00
  • 8bdcfa1041 Replacing with asn1 tag len function. Pol Henarejos 2022-06-03 11:16:25 +02:00
  • 7249fb129b Using custom mbedtls configuration file. Pol Henarejos 2022-06-01 12:57:24 +02:00
  • 199095c204 Moving some ASN1 procedures to a separate file. Pol Henarejos 2022-06-01 09:45:27 +02:00
  • 67efd73a96 Not used anymore. Pol Henarejos 2022-05-31 20:38:43 +02:00