aboutsummaryrefslogtreecommitdiff
path: root/library/pk_wrap.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-20pk_wrap: fix algorithm selection in rsa_opaque_decrypt()Valerio Setti1-7/+18
2024-03-19pk_wrap: fix algorithm selection in rsa_opaque_sign_wrap()Valerio Setti1-1/+2
2024-03-11pk_wrap: use correct PSA alg in rsa_encrypt_wrap() when USE_PSAValerio Setti1-4/+5
2024-02-27Add missing castsDave Rodgman1-2/+2
2024-02-15pk_wrap: set proper PSA algin rsa wrappers based on padding mode set in RSA c...Valerio Setti1-20/+30
2024-02-12Fix mbedtls_pk_get_bitlen() for RSA with non-byte-aligned sizesGilles Peskine1-1/+1
2024-02-08Merge pull request #8703 from valeriosetti/issue7765-guards-in-asn1Manuel Pégourié-Gonnard1-154/+20
2024-02-06pk_wrap: use proper raw buffer length in ecdsa_sign_psa()Valerio Setti1-1/+1
2024-02-05psa_util: change parameters order in ECDSA conversion functionsValerio Setti1-4/+3
2024-02-01rsa: rename parse/write functions in order to follow the standard formatValerio Setti1-4/+4
2024-01-24pk_wrap: use PSA util functions for ECDSA conversion instead of PK onesValerio Setti1-154/+21
2024-01-24pk_wrap: use RSA module functions to write priv/pub key in RSA wrappersValerio Setti1-25/+11
2024-01-02library/tests: replace md_psa.h with psa_util.h as include file for MD conver...Valerio Setti1-1/+1
2023-12-20pk_*: remove remaining references to MBEDTLS_PSA_CRYPTO_CTomi Fontanilles1-4/+4
2023-12-20pk_wrap: remove last references to MBEDTLS_PSA_CRYPTO_CTomi Fontanilles1-121/+1
2023-12-20pk: implement non-PSA mbedtls_pk_sign_ext()Tomi Fontanilles1-2/+2
2023-12-05pk_wrap: try both ECDSA signature schemes in ecdsa_sign_psa()Valerio Setti1-17/+14
2023-11-02update headersDave Rodgman1-13/+1
2023-10-16Fix limitation in checking supported alg in pk_signManuel Pégourié-Gonnard1-2/+3
2023-10-16Use helper macro for (deterministic) ECDSAManuel Pégourié-Gonnard1-7/+2
2023-10-05Fix IAR warningsDave Rodgman1-0/+2
2023-09-28Fix IAR pointless integer comparisonDave Rodgman1-0/+6
2023-08-16Merge pull request #7991 from sarveshb14/fix/psa_rsa_signature_using_large_stackGilles Peskine1-3/+10
2023-08-03Merge pull request #7933 from tom-cosgrove-arm/add-mbedtls_zeroize_and_freeDave Rodgman1-2/+1
2023-07-27rsa_signature: Use heap memory to allocate DER encoded RSA private keySarvesh Bodakhe1-3/+10
2023-07-17Provide and use internal function mbedtls_zeroize_and_free()Tom Cosgrove1-2/+1
2023-07-11library: replace PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_LEGACY symbols with proper onesValerio Setti1-7/+7
2023-07-06Create psa_util_internal.hManuel Pégourié-Gonnard1-1/+1
2023-06-30pk_wrap: fix: always clear buffer holding private key in eckey_check_pair_psaValerio Setti1-2/+3
2023-06-30pk_wrap: do not support opaque EC keys when !PK_HAVE_ECC_KEYSValerio Setti1-4/+2
2023-06-29pk_wrap: use PK_HAVE_ECC_KEYS as guard for ecdsa_opaque_check_pair_wrapValerio Setti1-45/+45
2023-06-29pk_wrap: guard all ECDSA function with MBEDTLS_PK_HAVE_ECC_KEYSValerio Setti1-1/+1
2023-06-29pk_wrap: minor fixes for guardsValerio Setti1-0/+14
2023-06-29pk_wrap: always fill all the fields of the pk_info structuresValerio Setti1-17/+84
2023-06-29pk: uniform naming of functions and structures in pk/pk_wrapValerio Setti1-65/+46
2023-06-29pk_wrap: share code for selecting the psa_alg in ECDSA signValerio Setti1-24/+19
2023-06-29pk_wrap: minor reorganization for opaque keysValerio Setti1-91/+90
2023-06-29pk_wrap: add missing labels to #else and #endifValerio Setti1-12/+12
2023-06-29pk_wrap: optimize eckey_check_pair()Valerio Setti1-23/+25
2023-06-29pk_wrap: name all the fields of the pk_info structsValerio Setti1-157/+73
2023-06-29pk_wrap: add support for ECDSA verify for opaque keysValerio Setti1-1/+31
2023-06-29pk_wrap: optimize code for ECDSA verifyValerio Setti1-47/+52
2023-06-29pk_wrap: optimize code for ECDSA signValerio Setti1-58/+89
2023-06-19library: replace occurencies of ECP_LIGHT with PK_HAVE_ECC_KEYSValerio Setti1-2/+2
2023-06-16library: replace deprecated symbols with temporary _LEGACY onesValerio Setti1-5/+5
2023-06-06Add missing includeManuel Pégourié-Gonnard1-0/+1
2023-06-06Remove hash_info.[ch]Manuel Pégourié-Gonnard1-1/+0
2023-06-06Use MD<->PSA functions from MD lightManuel Pégourié-Gonnard1-6/+6
2023-06-05pk_wrap: add support for key pair check for EC opaque keysvalerio1-1/+48
2023-05-23pk: fix eckey_check_pair_psaValerio Setti1-7/+13