Commit Graph

  • 215fdca9f8 Added AES cipher tests. Pol Henarejos 2023-02-15 19:47:16 +01:00
  • 9279773073 Removed printf Pol Henarejos 2023-02-15 19:46:42 +01:00
  • d5b718ca58 Move pointer again... Pol Henarejos 2023-02-15 00:14:37 +01:00
  • cd6e280f4f Switching to new style. Pol Henarejos 2023-02-15 00:10:35 +01:00
  • e7495d11f2 Moving pointer. Pol Henarejos 2023-02-14 23:25:13 +01:00
  • daaa5bf402 Harmonize coding style. Pol Henarejos 2023-02-14 23:13:46 +01:00
  • cab72f200a Moving pointer Pol Henarejos 2023-02-14 23:12:48 +01:00
  • 380d47faa1 Renaming for avoiding confusions Pol Henarejos 2023-02-14 23:05:37 +01:00
  • 962d1c6916 When runing a test, load a initial flash image that contains KEYDEV. Pol Henarejos 2023-02-14 22:53:30 +01:00
  • d81d51d6fc Fix get public key. Pol Henarejos 2023-02-14 21:51:46 +01:00
  • 319000df1a Add challenge tests. Pol Henarejos 2023-02-14 21:38:06 +01:00
  • 5508e531a0 Added key domain tests. Pol Henarejos 2023-02-14 18:52:12 +01:00
  • 1e846600dd Add test info Pol Henarejos 2023-02-14 18:51:50 +01:00
  • 43a49d2a14 Return reference not found when deleting a key domain. Pol Henarejos 2023-02-14 18:51:30 +01:00
  • 3b9c2d159b Fix returning existing key domain. Pol Henarejos 2023-02-14 18:47:43 +01:00
  • 14c7852143 Fix returning shared secret. Pol Henarejos 2023-02-14 11:28:11 +01:00
  • 407110def4 Added ECDH tests. Pol Henarejos 2023-02-14 11:25:02 +01:00
  • 79d86a335c Adding more tests and renaming old ones. Pol Henarejos 2023-02-13 23:54:41 +01:00
  • 0685be5f1e EE_CERTIFICATE is added when importing key. Pol Henarejos 2023-02-13 23:53:41 +01:00
  • 8f6ae52c70 Added routines for import key. Pol Henarejos 2023-02-13 23:52:58 +01:00
  • af16be64a2 Adding checks on ec import. Pol Henarejos 2023-02-13 23:30:27 +01:00
  • 68071825c2 Fix EC public key computation when importing. Pol Henarejos 2023-02-13 23:24:04 +01:00
  • fbabb81acd Fix asymmetric decrypt for OAEP. It only supports SHA256. Pol Henarejos 2023-02-12 21:53:47 +01:00
  • 8bc4b133ca Adding routine for asymmetric decryption. Pol Henarejos 2023-02-12 21:53:19 +01:00
  • 2ce458dad5 Adding BP curves and RSA 4k to signature test. Pol Henarejos 2023-02-12 21:53:01 +01:00
  • 478b186094 Finally it seems to work. Pol Henarejos 2023-01-30 16:09:57 +01:00
  • ab71b3163b Adding sleep just in case. Pol Henarejos 2023-01-30 16:07:41 +01:00
  • c4de88e6c6 Moving pointer Pol Henarejos 2023-01-30 15:39:31 +01:00
  • 3b0e34f465 More tries... Pol Henarejos 2023-01-30 13:23:39 +01:00
  • 9077e78315 More flags to debug Pol Henarejos 2023-01-30 13:15:04 +01:00
  • 2f5fcd1f14 Start pcscd with debug flag to get more debug info. Pol Henarejos 2023-01-30 13:09:17 +01:00
  • 24d430a3ac Updating pointer to include aesni Pol Henarejos 2023-01-30 13:04:34 +01:00
  • 307eb63ee5 Init submodules in actions. Pol Henarejos 2023-01-30 12:59:03 +01:00
  • 07f85dc4b8 Add warning removal Pol Henarejos 2023-01-30 12:18:18 +01:00
  • a4026e0ca0 Submodules must be pulled. Pol Henarejos 2023-01-30 12:09:46 +01:00
  • ebd8dc7bb8 Add apt-utils package. Pol Henarejos 2023-01-30 12:08:16 +01:00
  • bac15d5472 Removing TTY from docker. Pol Henarejos 2023-01-30 12:05:03 +01:00
  • 8540fdcf19 Updating pointer. Pol Henarejos 2023-01-30 12:01:20 +01:00
  • fc8d39882f Add missing build file. Pol Henarejos 2023-01-30 12:00:57 +01:00
  • ca093eb81e Add emulation and test workflow. Pol Henarejos 2023-01-30 11:59:26 +01:00
  • 35c42bccb4 List PRKD if exist. Pol Henarejos 2023-01-30 01:25:25 +01:00
  • 52114b2d85 Added initialization on each keypairgen. Pol Henarejos 2023-01-30 01:25:05 +01:00
  • 8f593f6357 Added support for build emulation in Apple and Linux. Pol Henarejos 2023-01-30 01:24:35 +01:00
  • 6f8769ee8d Added scripts for testing in a docker container. Pol Henarejos 2023-01-30 01:24:10 +01:00
  • 1af461c206 Add first battery of tests. Pol Henarejos 2023-01-17 13:41:10 +01:00
  • 8976dc1f79 Added support for RSA-PKCSv15-SHA224, SHA384 and SHA512. Also added support for RSA-PSS-SHA224, SHA384 and SHA512. Pol Henarejos 2023-01-17 00:41:46 +01:00
  • 9d47e62041 Fix signature for secp521r1. Pol Henarejos 2023-01-17 00:05:46 +01:00
  • 0daddfd477 Fix ECDSA-SHA384 and ECDSA-SHA512. Pol Henarejos 2023-01-17 00:05:31 +01:00
  • 89d617110f Add asn1_build_prkd_rsa() Pol Henarejos 2023-01-16 18:54:28 +01:00
  • 17941397e9 Fix exporting large ECC key. Pol Henarejos 2023-01-16 18:54:20 +01:00
  • f2aa4aae79 Moving pointer to latest bug fixes. Pol Henarejos 2023-01-14 00:41:23 +01:00
  • e29b3143ed Moving pointer Pol Henarejos 2023-01-13 18:49:08 +01:00
  • 5419ff74ee Using file_has_data() to check contents. Pol Henarejos 2023-01-13 18:07:50 +01:00
  • 723011078c Using file_has_data() instead of data directly. Pol Henarejos 2023-01-12 20:06:31 +01:00
  • fe7c0333ab Some emulation fixes. Pol Henarejos 2023-01-12 20:06:11 +01:00
  • c01940b62b Fix accessing way to data. Pol Henarejos 2023-01-12 20:05:59 +01:00
  • 7195a8f3ec Fix headers in emulation mode. Pol Henarejos 2023-01-12 20:05:46 +01:00
  • 7764de4e10 Unused headers. Pol Henarejos 2023-01-12 20:05:16 +01:00
  • e05c526b4d Fix printf format. Pol Henarejos 2023-01-12 20:04:55 +01:00
  • bc20f98b44 In emulation, return always 1mb of memory. Pol Henarejos 2023-01-12 20:04:44 +01:00
  • 742c3f3e3c RTC command is not available in emulation. Pol Henarejos 2023-01-12 20:04:23 +01:00
  • 9793977ffc Fixed double counter increment. Pol Henarejos 2023-01-12 20:04:05 +01:00
  • 6c85772fff Added emulated build capability. Pol Henarejos 2023-01-12 20:03:42 +01:00
  • 9ff3254a4c Update to latest HSM SDK. Pol Henarejos 2022-12-22 22:50:54 +01:00
  • 7d906851dd Updating to newer version of Pico HSM SDK. Pol Henarejos 2022-12-20 23:51:49 +01:00
  • 691aa3308c Fix when importing a dkek and it fails. Pol Henarejos 2022-12-06 20:11:26 +01:00
  • 6a57e67629 Fix importing dkek twice. Pol Henarejos 2022-12-06 20:04:18 +01:00
  • 202c8a4b22 Credentials are not necessary when importing DKEK. Pol Henarejos 2022-12-06 20:00:32 +01:00
  • f2874ae3ef Fix when ping is provided during the initialization. Pol Henarejos 2022-12-06 20:00:19 +01:00
  • 9e9cf9b768 Upgrading version to v3.2. v3.2 Pol Henarejos 2022-12-06 19:00:44 +01:00
  • c95dee84f2 Changing backend service url. Pol Henarejos 2022-12-06 19:00:35 +01:00
  • 65cde9960f Upgrading version to v3.2. Pol Henarejos 2022-12-04 17:42:03 +01:00
  • 7ca96178fb Moving HSM SDK pointer to latest release. Pol Henarejos 2022-11-28 18:54:22 +01:00
  • 020feaf325 Update README.md Pol Henarejos 2022-11-15 22:42:43 +01:00
  • e70461e551 Merge branch 'master' into development Pol Henarejos 2022-11-15 17:40:29 +01:00
  • 0e918434a2 Update README.md Pol Henarejos 2022-11-15 17:38:33 +01:00
  • 63c85000d0 Added support for kdf. Pol Henarejos 2022-11-15 00:15:59 +01:00
  • 4113f6a65d Fix parsing PBKDF2 params. Pol Henarejos 2022-11-15 00:14:39 +01:00
  • f98d744076 Add apdu.ne check for large buffers. Pol Henarejos 2022-11-14 18:04:44 +01:00
  • bb4c293736 Adding subparsers for subcommands. Pol Henarejos 2022-11-14 16:27:51 +01:00
  • aa8b1e6efe Added support for X963 KDF. Pol Henarejos 2022-11-14 15:38:16 +01:00
  • 0cb2e8ec2e Added PBES2 key derivation with encryption and decryption support. Pol Henarejos 2022-11-14 13:07:49 +01:00
  • 0e96753ccb Added support for PBKDF2. Pol Henarejos 2022-11-14 12:01:27 +01:00
  • 2b2df22d75 Added support for configurable HKDF. Pol Henarejos 2022-11-14 10:14:54 +01:00
  • f65167e3c7 Adding support for keypair generation for Curve25519 and Curve448. Pol Henarejos 2022-11-11 17:10:34 +01:00
  • 8fe2677a56 Fix cofactor return with cvc. Pol Henarejos 2022-11-11 17:08:36 +01:00
  • d09a7cf9c8 If self-signature fails, puts all-0. Pol Henarejos 2022-11-11 17:04:17 +01:00
  • 6bf72e5a59 Added support for HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384 and HMAC-SHA512. Pol Henarejos 2022-11-08 17:26:32 +01:00
  • 7c877ebea2 Using file_out parameter. Pol Henarejos 2022-11-07 22:31:19 +01:00
  • e1983f7bcc Now is possible pipe encrypt & decrypt commands. Pol Henarejos 2022-11-07 22:16:10 +01:00
  • a5e025a4e5 If no applet is selected, then select it. Pol Henarejos 2022-11-07 21:37:42 +01:00
  • a7682d2639 Adding Extended Cipher feature. Pol Henarejos 2022-11-07 21:37:11 +01:00
  • 30301c68f1 Linux uses the generic interface. Needs deep testing. Pol Henarejos 2022-11-07 13:14:37 +01:00
  • abf980d84e Fixes in windows backend. Pol Henarejos 2022-11-03 18:41:02 +01:00
  • 8718f55df2 Adding secure_key for windows. Pol Henarejos 2022-11-03 18:26:35 +01:00
  • d1a3a24527 Import secure_key only when needed. Pol Henarejos 2022-11-03 16:09:42 +01:00
  • f363b77a07 Adding secure_key for macOS. Pol Henarejos 2022-11-03 15:42:43 +01:00
  • d5899a90c1 Merge pull request #10 from rrottmann/small-fixes Pol Henarejos 2022-11-03 16:05:56 +01:00
  • f1058ea611 Merge branch 'master' into small-fixes Pol Henarejos 2022-11-03 15:48:33 +01:00
  • 00279da8d5 Adding Secure Lock to lock the device with a random 256 bit key. Pol Henarejos 2022-10-31 15:09:54 +01:00