summaryrefslogtreecommitdiff
path: root/crypto_libraries/inc
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-06-08 10:03:52 +0200
committerGitHub <[email protected]>2026-06-08 10:03:52 +0200
commit1a0e9e43a03e37ddecfb6b49e9b078d6e1803d05 (patch)
treec60ec41b4ff4fd2d7566c505cbdd423ceddd65f3 /crypto_libraries/inc
parent8b6e03ac30ab688bec02c69d42f2304b7f72a202 (diff)
parent4d88828b06d164a5b7e82152395a92254abcd6e4 (diff)
Merge pull request #391 from eclipse-threadx/devv6.5.1.202602_reldev
Merging changes for the v.6.5.1.202602 release
Diffstat (limited to 'crypto_libraries/inc')
-rw-r--r--crypto_libraries/inc/nx_crypto_const.h1
-rw-r--r--crypto_libraries/inc/nx_crypto_rsa.h6
2 files changed, 7 insertions, 0 deletions
diff --git a/crypto_libraries/inc/nx_crypto_const.h b/crypto_libraries/inc/nx_crypto_const.h
index 55f30b39..5c5fa851 100644
--- a/crypto_libraries/inc/nx_crypto_const.h
+++ b/crypto_libraries/inc/nx_crypto_const.h
@@ -150,6 +150,7 @@ extern "C" {
#define NX_CRYPTO_DIGITAL_SIGNATURE_RSA 0x00050001
#define NX_CRYPTO_DIGITAL_SIGNATURE_DSA 0x00050002
#define NX_CRYPTO_DIGITAL_SIGNATURE_ECDSA 0x00050003
+#define NX_CRYPTO_DIGITAL_SIGNATURE_RSAPSS 0x00050004
/*Define the elliptic curve algorithm */
/* Values of 16 least significant bits are the same as named curve defined in RFC 4492, section 5.1.1 */
diff --git a/crypto_libraries/inc/nx_crypto_rsa.h b/crypto_libraries/inc/nx_crypto_rsa.h
index 609e9198..587d9858 100644
--- a/crypto_libraries/inc/nx_crypto_rsa.h
+++ b/crypto_libraries/inc/nx_crypto_rsa.h
@@ -116,6 +116,12 @@ UINT _nx_crypto_method_rsa_init(struct NX_CRYPTO_METHOD_STRUCT *method,
VOID **handle,
VOID *crypto_metadata, ULONG crypto_metadata_size);
+UINT _nx_crypto_rsa_pss_verify(const UCHAR *message_hash, UINT hash_length,
+ const UCHAR *em, UINT em_bits,
+ const NX_CRYPTO_METHOD *hash_method,
+ VOID *hash_metadata, ULONG hash_metadata_size,
+ UCHAR *scratch, UINT scratch_length);
+
#ifdef __cplusplus
}
#endif