Commit Graph

  • 70531163a9 fix compilation error - missing if Moran Peker 2018-05-31 14:04:45 +03:00
  • 96cc00a857 add missing tests function Moran Peker 2018-05-31 14:03:56 +03:00
  • f55e804e07 adjust indentation per Mbed TLS standards Moran Peker 2018-05-29 16:28:28 +03:00
  • a28258c594 adjust indentation per Mbed TLS standards Moran Peker 2018-05-29 16:25:04 +03:00
  • 2cab25aacf fix conditions in psa_cipher_finish function Moran Peker 2018-05-02 16:43:13 +03:00
  • dc38ebc068 delete decrypt checks + fix memcpy& return value Moran Peker 2018-04-30 15:45:34 +03:00
  • ad9d82cc0e add iv_required field to psa_cipher_operation_s and fix relevant functions Moran Peker 2018-04-30 12:31:04 +03:00
  • 71f19ae6f8 add missing call to psa_cipher_abort in cipher_setup func + iv_length check in cipher_set_iv func Moran Peker 2018-04-22 20:23:16 +03:00
  • 406008ab4c add missing check on output_size in psa_cipher_update func Moran Peker 2018-04-22 20:20:29 +03:00
  • bed71a2b17 fix missing check on output_size in psa_cipher_finish func Moran Peker 2018-04-22 20:19:20 +03:00
  • 0071b873a3 add missing parameter output_size on psa_cipher_finish Moran Peker 2018-04-22 20:16:58 +03:00
  • 4c80d8331a adjust indentation per Mbed TLS standards Moran Peker 2018-04-22 20:15:31 +03:00
  • b152d4d8b6 add test scenarios to decrypt and encrypt input and compare with given output mohammad1603 2018-04-11 23:51:20 -07:00
  • 89e0f468bf style mohammad1603 2018-04-12 08:48:45 +03:00
  • 41deec4494 partly pr fix Moran Peker 2018-04-04 15:43:05 +03:00
  • e1210dcac3 remove unused parameter in psa_cipher_finish. Moran Peker 2018-03-25 15:44:12 +03:00
  • 3205a6592b tests fix Moran Peker 2018-03-20 17:09:59 +02:00
  • 16864af80b fix static function name mohammad1603 2018-03-19 16:22:57 +02:00
  • 8481e74ecc CR fixes mohammad1603 2018-03-18 13:57:31 +02:00
  • efb0107fbe CR fix, remove exposing ECB mohammad1603 2018-03-14 17:03:52 +02:00
  • 990a18c2f0 add ecb to cipher algorithms mohammad1603 2018-03-14 15:15:33 +02:00
  • cdd3be9cfb Add psa_crypto test suite to Cmake mohammad1603 2018-03-13 04:38:38 -07:00
  • c0ef31460f Merge pull request #50 from ARMmbed/psa-fix-export-tests Gilles Peskine 2018-06-07 10:04:03 +02:00
  • e6b67a1e78 Fix parameters in test suite mohammad1603 2018-03-12 10:38:49 -07:00
  • d1e8e41737 Adapt older import_export test data to the new function signature Gilles Peskine 2018-06-07 09:49:39 +02:00
  • d7d7ba5749 add positive test scenarios mohammad1603 2018-03-12 18:51:53 +02:00
  • 5100318a92 Merge pull request #18 from ARMmbed/psa-wrapper-apis-export-publickey Gilles Peskine 2018-06-06 19:51:07 +02:00
  • 8275961178 warnings fixes mohammad1603 2018-03-12 18:16:40 +02:00
  • f709f4a356 move import_export_public_key func place Moran Peker 2018-06-06 17:26:04 +03:00
  • 503973bdf3 initial implementation for PSA symmetric APIs - missing tests and documentations mohammad1603 2018-03-12 15:59:30 +02:00
  • 9bc76953ae export->export-public + move tests case Moran Peker 2018-06-06 17:25:35 +03:00
  • ce1b23a68c PSA_ALG_CBC_BASE -> PSA_ALG_CBC_BASE | PSA_ALG_BLOCK_CIPHER_PAD_NONE Moran Peker 2018-06-05 11:11:23 +03:00
  • a964a8f9b0 add non-regression tests for export public/non public key Moran Peker 2018-06-04 18:42:36 +03:00
  • 8756763cf1 change error check on psa_internal_export_key func Moran Peker 2018-06-04 18:41:37 +03:00
  • 785fd55a39 Whitespace fixes; removed redundant parentheses Gilles Peskine 2018-06-04 15:08:56 +02:00
  • c425e87af7 Add cast to satisfy gcc -Wsign-compare Gilles Peskine 2018-06-04 15:07:13 +02:00
  • cceea98bfe adjust indentation per Mbed TLS standards Moran Peker 2018-05-29 16:59:38 +03:00
  • d732659867 adjust indentation per Mbed TLS standards Moran Peker 2018-05-29 16:56:39 +03:00
  • b34879b61a fix import_export_public_key test to use policy Moran Peker 2018-05-29 16:45:14 +03:00
  • 338a0cf569 fix import_export_public_key test Moran Peker 2018-05-02 12:55:55 +03:00
  • 17e36e1bd9 fix conditions Moran Peker 2018-05-02 12:55:20 +03:00
  • 6036432617 adjust indentation per Mbed TLS standards Moran Peker 2018-04-29 11:34:58 +03:00
  • a998bc6ac9 psa_internal_export_key function for common code. Moran Peker 2018-04-16 18:16:20 +03:00
  • 4ff99f36a7 change test case descriptions + add newline of test_suite_psa_crypto.function Moran Peker 2018-04-16 17:35:09 +03:00
  • 5010828fb6 adjust indentation per Mbed TLS standards Moran Peker 2018-04-16 11:12:31 +03:00
  • b4d0ddd2d3 psa_export_public_key Moran Peker 2018-04-04 12:47:52 +03:00
  • 02607e425f Merge pull request #29 from ARMmbed/psa-wrapper-apis-ecdsa-feature-psa Gilles Peskine 2018-05-31 20:21:39 +02:00
  • dd4ea38d58 export public key Moran Peker 2018-04-03 15:30:03 +03:00
  • 7b30f8b0c9 Added handling for MBEDTLS_ERR_ECP_XXX error codes itayzafrir 2018-05-09 16:07:36 +03:00
  • 5c7533923a ECDSA sign and verify implementation and tests itayzafrir 2018-05-08 11:18:38 +03:00
  • a0655c3501 Merge remote-tracking branch 'psa/pr/13' into feature-psa Gilles Peskine 2018-04-30 17:06:50 +02:00
  • f0c9dd37d2 Added possible error codes for lifetime functions Gilles Peskine 2018-04-17 14:11:07 +02:00
  • 9bb53d7aff Fix copypasta in lifetime function descriptions Gilles Peskine 2018-04-17 14:09:24 +02:00
  • 8ca560293b Whitespace fixes Gilles Peskine 2018-04-17 14:07:59 +02:00
  • a7d245a4a2 Fix return error values description mohammad1603 2018-04-17 00:40:08 -07:00
  • ea0500936e Change behavior of psa_get_key_lifetime() mohammad1603 2018-04-17 00:31:34 -07:00
  • 1c34545cfe Remove usage of PSA_KEY_LIFETIME_NONE mohammad1603 2018-04-16 06:49:13 -07:00
  • 5d7ec2033d fix key lifetime set implementation , tests accordingly mohammad1603 2018-03-28 01:29:41 +03:00
  • ba178511f4 Remove unused and duplicated erros, fix documentation and tests mohammad1603 2018-03-21 04:35:20 -07:00
  • 060ad8ac34 Compilation and tests fixes mohammad1603 2018-03-20 14:28:38 -07:00
  • 804cd71bf8 initial key lifetime implementation and tests mohammad1603 2018-03-20 22:44:08 +02:00
  • c63b6ba754 Merge remote-tracking branch 'psa/pr/14' into feature-psa Gilles Peskine 2018-04-30 16:59:40 +02:00
  • 8d2abd6f72 Merge remote-tracking branch 'psa/pr/15' into feature-psa Gilles Peskine 2018-04-30 16:41:19 +02:00
  • 38a622b68b Function psa_get_key_policy() now return policy value for empty slots mohammad1603 2018-04-17 03:27:53 -07:00
  • 06297936f2 More precise bounds for PSA_ASYMMETRIC_DECRYPT_OUTPUT_SIZE Gilles Peskine 2018-04-11 16:58:22 +02:00
  • 5feda72d7a Remove usage of PSA_ERROR_INVALID_KEY_POLICY mohammad1603 2018-04-16 04:38:57 -07:00
  • 9673cc8255 Define PSA_ALG_RSA_OAEP_MGF1(hash) Gilles Peskine 2018-04-11 16:57:49 +02:00
  • d926b88085 Fix Policy enforcement sign test mohammad1603 2018-04-16 01:53:20 -07:00
  • f48af7fe76 psa_generate_key: specify what the extra parameters mean Gilles Peskine 2018-03-28 18:44:14 +02:00
  • 6df908f234 Add static internal MAC finish function mohammad1603 2018-04-02 08:34:15 -07:00
  • 9e7dc717b0 New function: generate key/random Gilles Peskine 2018-03-28 14:18:50 +02:00
  • 4eed757901 add new test scenarios mohammad1603 2018-03-28 05:14:59 -07:00
  • 6944f9a831 New functions: asymmetric encrypt/decrypt Gilles Peskine 2018-03-28 14:18:39 +02:00
  • a97cb8c303 Add calls for set policy in export/sign tests mohammad1603 2018-03-28 03:46:26 -07:00
  • 8484565f85 Minor errors in documentation around asymmetric signature Gilles Peskine 2018-03-28 14:17:40 +02:00
  • 06e7920be5 integrate policy key usage in export and asymmetric sign functions mohammad1603 2018-03-28 13:17:44 +03:00
  • a59262338a Rename PKCS1V15 to PKCS1V15_SIGN Gilles Peskine 2018-03-28 14:16:50 +02:00
  • 8cc1ceec3e Key Policy APIs implementation mohammad1603 2018-03-28 01:21:33 +03:00
  • 0eb6e97ac6 Merge pull request #4 from ARMmbed/psa-wrapper-apis-march-2 Gilles Peskine 2018-03-26 15:05:16 +02:00
  • 058e0b9963 Avoid empty unions Gilles Peskine 2018-03-22 16:20:19 +01:00
  • 9a1ba0dd3f Typo in the documentation of psa_get_key_information Gilles Peskine 2018-03-21 20:49:16 +01:00
  • 47c1bc0458 Correct some return codes Gilles Peskine 2018-03-20 17:55:04 +01:00
  • 1906798d4c Fix some typos and copypasta Gilles Peskine 2018-03-20 17:54:53 +01:00
  • ed522974bd Clarify how multipart operations get terminated Gilles Peskine 2018-03-20 17:54:15 +01:00
  • 971f7064e9 More precise reference for the RSA public key format Gilles Peskine 2018-03-20 17:52:58 +01:00
  • 7e19853722 More documentation Gilles Peskine 2018-03-08 07:50:30 +01:00
  • d393e18f90 Add psa_set_key_lifetime Gilles Peskine 2018-03-08 07:49:16 +01:00
  • e3f694f49a Remove non-standard hash algorithms Gilles Peskine 2018-03-08 07:48:40 +01:00
  • 06dc26350e Fix macro definitions for ECC keys Gilles Peskine 2018-03-08 07:47:25 +01:00
  • 40f68b9863 Use unhexify_alloc where applicable Gilles Peskine 2018-03-07 16:43:36 +01:00
  • dc2fc8443f Rename xxx_of_psa functions to xxx_from_psa Gilles Peskine 2018-03-07 16:42:59 +01:00
  • 3c6e970752 Fix memory leak in psa_destroy_key Gilles Peskine 2018-03-07 16:42:44 +01:00
  • 6d9121381a Add some comments to document some non-obvious coding choices Gilles Peskine 2018-03-07 16:41:37 +01:00
  • 03182e99b6 Fix parameter name in PSA_BLOCK_CIPHER_BLOCK_SIZE Gilles Peskine 2018-03-07 16:40:52 +01:00
  • f5b9fa13e0 Documentation clarifications Gilles Peskine 2018-03-07 16:40:18 +01:00
  • 2905a7adcc Fix namespace violation Gilles Peskine 2018-03-07 16:39:31 +01:00
  • e4ebc12fcd psa_crypto_init: set the global initialized flag Gilles Peskine 2018-03-07 14:16:44 +01:00
  • 609b6a5b67 Get the lifetime of a key slot Gilles Peskine 2018-03-03 21:31:50 +01:00
  • 7698bcf338 Basic interface for key policies Gilles Peskine 2018-03-03 21:30:44 +01:00
  • 92b3073e36 Minor documentation fixes Gilles Peskine 2018-03-03 21:29:30 +01:00