Commit Graph

  • 967835596c psa: Fix references to macros in comments Ronald Cron 2020-10-19 12:06:30 +02:00
  • f1ff9a83fa tests: psa: Use PSA_KEY_LIFETIME_IS_VOLATILE where it should Ronald Cron 2020-10-19 08:44:19 +02:00
  • 390f607f7f Add tests checking owner of volatile keys Ronald Cron 2020-10-16 15:32:23 +02:00
  • 6b5ff53c01 Add mbedtls_set_key_owner_id API Ronald Cron 2020-10-16 14:38:19 +02:00
  • 3c76a42475 Improve psa_key_start_creation description Ronald Cron 2020-10-16 12:17:04 +02:00
  • 513451987d Fix close/purge of a key Ronald Cron 2020-10-16 16:07:03 +02:00
  • 97c8ad5fee Merge search of loaded volatile and persistent keys Ronald Cron 2020-10-15 11:17:11 +02:00
  • fc9c556127 Forbid volatile key identifiers for non volatile keys Ronald Cron 2020-10-15 19:24:49 +02:00
  • f67aefed3f tests: slot mgmt: Add psa_purge_key testing Ronald Cron 2020-10-20 17:50:24 +02:00
  • 994b80546c tests: slot mgmt: Fix test data Ronald Cron 2020-10-20 17:59:45 +02:00
  • e7e86cfa3c tests: slot mgmt: Rename ways of invalidating keys Ronald Cron 2020-10-20 17:24:41 +02:00
  • 3930997922 tests: slot mgmt: Add purge checks in volatile key lifecycle test Ronald Cron 2020-10-20 17:01:35 +02:00
  • 5425a21fd2 tests: Adapt PSA tests to openless APIs Ronald Cron 2020-08-04 14:58:35 +02:00
  • adc2ff28b0 Adapt programs to PSA openless APIs Ronald Cron 2020-09-16 16:49:27 +02:00
  • c3623dbc76 State PSA_CRYPTO_KEY_ID_ENCODES_OWNER and USE_PSA_CRYPTO incompatibility Ronald Cron 2020-10-29 10:51:32 +01:00
  • 277a85f1ef Add psa_purge_key API Ronald Cron 2020-08-04 15:49:48 +02:00
  • cf56a0a320 psa: Move from key handle to key identifier Ronald Cron 2020-08-04 09:51:30 +02:00
  • e4f6d5c5fe tests: Fix persistent slot lifecycle tests Ronald Cron 2020-11-09 17:47:52 +01:00
  • 4184107d2e tests: Fix checks of volatile key identifier Ronald Cron 2020-09-17 15:28:26 +02:00
  • 432e19c7b2 tests: Fix error codes when using "invalid" handles Ronald Cron 2020-09-17 14:12:30 +02:00
  • 2d52eb2f78 tests: Fix invalid key identifier error code Ronald Cron 2020-09-17 13:58:00 +02:00
  • c4d1b514ab Define handles as key identifiers Ronald Cron 2020-07-31 11:26:37 +02:00
  • 47a85614ed Introduce psa_key_handle_equal inline function Ronald Cron 2020-09-01 09:02:08 +02:00
  • c26f8d467a Introduce psa_key_handle_is_null inline function Ronald Cron 2020-09-01 10:51:51 +02:00
  • 91e9515424 Introduce PSA_KEY_HANDLE_INIT macro Ronald Cron 2020-07-30 17:48:03 +02:00
  • 98a54ddbd6 psa: slot mgmt: Don't use handles to loop through slot array Ronald Cron 2020-07-24 16:33:11 +02:00
  • 2a99315cc5 Add volatile key identifiers Ronald Cron 2020-07-17 14:13:26 +02:00
  • 9814fa2b08 Minor updates from review comments John Durkop 2020-11-04 12:28:15 -08:00
  • 7fc75eac21 Enable all features in crypto_config.h John Durkop 2020-11-03 19:05:36 -08:00
  • d8b83eaf07 Update symmetric only reference config to include config_psa.h John Durkop 2020-10-31 23:32:07 -07:00
  • bd069d32e8 Enhanced testing for PSA crypto config features John Durkop 2020-10-31 22:14:03 -07:00
  • 0e00519711 Add feature support for RSA for PSA crypto config John Durkop 2020-10-31 22:06:54 -07:00
  • f4c4cb008c Added additional support for ECP for PSA_CRYPTO_CONFIG John Durkop 2020-10-28 20:09:55 -07:00
  • d032195278 Phase 2 support for MBEDTLS_PSA_CRYPTO_CONFIG John Durkop 2020-10-29 21:37:36 -07:00
  • 3335e9f718 Ignore cscope index Gilles Peskine 2020-11-09 21:28:15 +01:00
  • 53f74d0f86 Add a target for the cscope index Gilles Peskine 2020-11-09 21:21:31 +01:00
  • bc7379022f Ignore cscope index Gilles Peskine 2020-11-09 21:28:15 +01:00
  • f9a7f5feca Add a target for the cscope index Gilles Peskine 2020-11-09 21:21:31 +01:00
  • d0c780198d Add a target for the cscope index Gilles Peskine 2020-11-09 21:21:31 +01:00
  • 646ad22afc Update the list of directories containing source files Gilles Peskine 2020-11-09 21:20:16 +01:00
  • 23cb65e32f Merge pull request #3863 from gabor-mezei-arm/3818_bp216_MBEDTLS_AES_SETKEY_DEC_ALT_excludes_MBEDTLS_CIPHER_MODE_XTS Gilles Peskine 2020-11-09 20:44:12 +01:00
  • cac5536b45 Merge pull request #3823 from gabor-mezei-arm/3818_MBEDTLS_AES_SETKEY_DEC_ALT_excludes_MBEDTLS_CIPHER_MODE_XTS Gilles Peskine 2020-11-09 20:44:08 +01:00
  • 3809f5f70a Add a build with MBEDTLS_ERROR_STRERROR_DUMMY Gilles Peskine 2020-11-09 15:40:05 +01:00
  • 58858b7ce4 Document that MBEDTLS_PSA_CRYPTO_CONFIG requires config_psa.h Gilles Peskine 2020-11-09 15:26:09 +01:00
  • a26b3e56cb Only include config_psa.h from config.h with new-style PSA configuration Gilles Peskine 2020-11-09 15:19:32 +01:00
  • 25fdebf0c6 Add missing configs from test-ref-configs.pl Gilles Peskine 2020-11-09 15:15:17 +01:00
  • 7a78a1f47c Sort entries to make it easier to eyeball the list Gilles Peskine 2020-11-09 14:44:04 +01:00
  • b64e0fe5e3 Fix conditions for including string.h in error.c Gilles Peskine 2020-11-09 15:14:10 +01:00
  • bce4dc028f Include config_psa.h from psa/crypto.h Gilles Peskine 2020-11-09 15:06:57 +01:00
  • f4a6a05e9d ssl_context_info: fix config requirements Gilles Peskine 2020-11-09 14:55:35 +01:00
  • d2ed4815da Split persistence and key id validation Ronald Cron 2020-07-17 16:11:30 +02:00
  • 560203ae01 Merge pull request #3853 from kjbracey-arm/m_narrowloop Shelly Liberman 2020-11-08 08:03:48 +02:00
  • e3994d7269 Merge pull request #3836 from bensze01/ecb_iv_fix Gilles Peskine 2020-11-06 18:00:50 +01:00
  • 22c4385e25 Merge pull request #3861 from bensze01/ecb_iv_fix-2.16 Gilles Peskine 2020-11-06 18:00:41 +01:00
  • 2d847a5e07 Merge pull request #3862 from bensze01/ecb_iv_fix-2.7 Gilles Peskine 2020-11-06 18:00:40 +01:00
  • 13b8a26730 Make the aes xts methods independent from MBEDTLS_AES_SETKEY_DEC_ALT gabor-mezei-arm 2020-10-26 11:35:23 +01:00
  • b4756c2e20 Do not set IV size for ECB mode ciphers Bence Szépkúti 2020-10-29 10:22:35 +01:00
  • 567bd958ff Do not set IV size for ECB mode ciphers Bence Szépkúti 2020-10-29 10:22:35 +01:00
  • a967a58ed3 [baremetal] Avoid narrow loop counters etc Kevin Bracey 2020-11-04 16:28:48 +02:00
  • a8e40ddfc9 Do not set IV size for ECB mode ciphers Bence Szépkúti 2020-10-29 10:22:35 +01:00
  • 46f35849b1 Merge pull request #3845 from d3zd3z/fix3801 Janos Follath 2020-11-05 11:56:45 +00:00
  • 23055427af Merge pull request #3851 from d3zd3z/fix3801-2.16 Janos Follath 2020-11-05 11:56:22 +00:00
  • e766628db1 Merge pull request #3827 from AndrzejKurek/ssl_server2_memory_fixes Shelly Liberman 2020-11-05 13:37:22 +02:00
  • 356121903f Merge pull request #3849 from kjbracey-arm/m_tlsopt Shelly Liberman 2020-11-05 13:34:59 +02:00
  • 6b87993142 Merge pull request #3609 from gilles-peskine-arm/aes-zeroize-less Gilles Peskine 2020-11-04 23:43:35 +01:00
  • 9a8aee45b6 Merge pull request #3812 from ronald-cron-arm/aes-zeroize-less-2.16 Gilles Peskine 2020-11-04 23:43:32 +01:00
  • a9fd4fc550 Merge pull request #3813 from ronald-cron-arm/aes-zeroize-less-2.7 Gilles Peskine 2020-11-04 23:43:30 +01:00
  • ff28df98f5 cmake: Avoid using target_properties for old cmake David Brown 2020-11-04 10:43:58 -07:00
  • 7b5e6b9dcc Typos and clarifications Gilles Peskine 2020-11-04 18:30:01 +01:00
  • efcf52d521 Merge pull request #3614 from gilles-peskine-arm/ssl-opt-gnutls-printf-development Ronald Cron 2020-11-04 17:55:42 +01:00
  • 0df9c529a9 Merge pull request #3828 from gilles-peskine-arm/ssl-opt-gnutls-printf-2.16 Ronald Cron 2020-11-04 17:52:08 +01:00
  • c9e20a05a5 Merge pull request #3829 from gilles-peskine-arm/ssl-opt-gnutls-printf-2.7 Ronald Cron 2020-11-04 17:51:49 +01:00
  • 57d9bdc5f9 Reorder structures Kevin Bracey 2020-11-03 15:52:30 +02:00
  • 1d53ce33c4 Avoid bitfields Kevin Bracey 2020-11-03 15:27:21 +02:00
  • 585e9e0922 Add MBEDTLS_SSL_CONF_TRANSPORT Kevin Bracey 2020-11-03 12:22:27 +02:00
  • d859db833c Fix MBEDTLS_SSL_CONF_ENDPOINT flagging Kevin Bracey 2020-11-03 15:56:12 +02:00
  • 381c1078fc cmake: Avoid using target_properties for old cmake David Brown 2020-11-03 15:36:44 -07:00
  • db6e33e12a Merge pull request #3826 from frestr/test/chachapoly_vector Gilles Peskine 2020-11-03 23:17:00 +01:00
  • 8b0910a791 Merge pull request #3815 from AndrzejKurek/cipher-optim-mem-fix Andrzej Kurek 2020-11-02 11:41:24 +01:00
  • a455e71588 Merge pull request #3780 from stevew817/feature/validate_key_in_driver Gilles Peskine 2020-11-02 11:37:42 +01:00
  • 0fa427b027 ccm: add masking to the UPDATE_CBC_MAC macro Andrzej Kurek 2020-10-30 14:41:12 +01:00
  • 8bef87ee5e Add basic shuffling and masking to CCM operations Andrzej Kurek 2020-10-30 12:18:21 +01:00
  • 40120f6b76 Address review comments Steven Cooreman 2020-10-29 11:42:22 +01:00
  • 52f32c913e Merge pull request #3787 from bensze01/iv_nonce_size Gilles Peskine 2020-10-30 09:45:11 +01:00
  • 2da4292dc1 Merge pull request #3790 from peter-toft-greve/development Gilles Peskine 2020-10-30 09:44:29 +01:00
  • 868906cd06 Merge pull request #3235 from jeannotlapin/pr1813 Gilles Peskine 2020-10-29 22:21:56 +01:00
  • 162ec8758f Detecting bit size is no longer required Steven Cooreman 2020-10-23 12:03:08 +02:00
  • c4813a6e80 Rename 'keygen' to 'key management' Steven Cooreman 2020-10-23 11:45:43 +02:00
  • 423d3e7fcf Update support macros for IV/nonce sizes Bence Szépkúti 2020-10-29 11:07:39 +01:00
  • 5fbe9e7ac0 remove useless parentheses Johan Pascal 2020-10-29 10:49:21 +01:00
  • c3ccd98a91 Check transport in the extension parser/writer Johan Pascal 2020-10-28 17:18:18 +01:00
  • 5ef72d214f Style and typos Johan Pascal 2020-10-28 17:05:47 +01:00
  • 2258a4f481 Do not return a structure, use a return parameter Johan Pascal 2020-10-28 13:53:09 +01:00
  • 0dbcd1d3f0 Make API safer Johan Pascal 2020-10-28 11:03:07 +01:00
  • 275874bc47 Fix previous commit Johan Pascal 2020-10-27 10:43:53 +01:00
  • 20c7db3a67 API modified so server side can get mki value + client side discards self mki if server does not support it Johan Pascal 2020-10-26 22:45:58 +01:00
  • adbd9449ec More minor fix Johan Pascal 2020-10-26 21:24:25 +01:00
  • 76fdf1d60e Minor fix and improvements Johan Pascal 2020-10-22 23:31:00 +02:00
  • 104031547f style Johan Pascal 2020-10-09 20:43:51 +02:00
  • 9bc50b0122 Test check the key material exported match - include interop with openssl client Johan Pascal 2020-09-24 12:01:13 +02:00