ECDA signature verification with CASPER

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

ECDA signature verification with CASPER

跳至解决方案
184 次查看
s_hdl
Contributor I
破坏者
 

Hello,
I managed to build mbedTLS on my own, in order to verify a signature with ECDSA (MBEDTLS_ECP_DP_SECP256R1).
With no alt implementation (all computation done by the CPU), the signature verification takes up to 4 seconds to compute on the LPC55S06.

I'm trying now to link mbedTLS ecdsa_verify() function with CASPER fsl driver. But it's not clear to me as the ECDSA verification doens't seem to be a single operation. 
How to link the basic primitive of CAPSER (SECP256R1_Mul & SECP256R1_MulAdd) with the mbedTLS function ECDSA_verify() ?

Thank you in advance for your replie.

标签 (1)
0 项奖励
回复
1 解答
159 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @s_hdl 

ECDSA verification consists of several arithmetic and elliptic-curve operations, so it does not map to a single CASPER primitive.

In the MCUXpresso SDK, the integration is already implemented in the CASPER PSA Crypto port. The casper_mbedtls_ecdsa_verify() function performs the standard ECDSA verification flow, including the calculation of u1 and u2. It then calls:

casper_mbedtls_ecp_muladd(grp, &R, u1, &grp->G, u2, Q);
to calculate:
R = u1 × G + u2 × Q

The ECP adaptation layer converts the mbedTLS MPI values and elliptic-curve points into the format required by CASPER and maps this operation to CASPER_ECC_SECP256R1_MulAdd().

Similarly, casper_mbedtls_ecp_mul() maps a single scalar multiplication to CASPER_ECC_SECP256R1_Mul().

Therefore, rather than modifying mbedtls_ecdsa_verify() directly, we recommend reusing the complete CASPER integration provided by the SDK under:

component/psa_crypto_driver/casper_driver
In particular, please refer to:
mcux_psa_casper_ecdsa_port.c
mcux_psa_casper_ecp_port.c

Since you built mbedTLS separately, please also make sure that your mbedTLS version is compatible with the MCUXpresso SDK CASPER port.

You can refer to the lpcxpresso55s06_psa_crypto_examples.

Harry_Zhang_0-1788493275769.pngHarry_Zhang_0-1788493275769.png

 

BR

Harry

在原帖中查看解决方案

0 项奖励
回复
4 回复数
155 次查看
peter89jean
Contributor I

You generally don’t need to replace mbedtls_ecdsa_verify() itself; the CASPER acceleration should be integrated at the elliptic-curve/multiplication layer that mbedTLS uses internally. ECDSA verification requires computing scalar multiplications and their sum, so SECP256R1_Mul() can handle the individual scalar-point multiplication while SECP256R1_MulAdd() can accelerate the combined operation. The exact integration depends on your mbedTLS version and NXP CASPER driver API, but the usual approach is to provide an mbedTLS alternative/optimized implementation for the P-256 scalar-multiplication primitives rather than calling CASPER directly from ecdsa_verify().

0 项奖励
回复
147 次查看
s_hdl
Contributor I

Hello peter89jean,

Thank you for your reply. The approach you mention is what I had in mind but there doesn't seem to be simple and straightforward SECP256R1_MULADD_ALT or SECP256R1_MUL_ALT defines in the mbedTLS config file. Maybe I should ask this question to a more mbdedTLS dedicated forum. 

Thanks again.

Regards.

0 项奖励
回复
160 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @s_hdl 

ECDSA verification consists of several arithmetic and elliptic-curve operations, so it does not map to a single CASPER primitive.

In the MCUXpresso SDK, the integration is already implemented in the CASPER PSA Crypto port. The casper_mbedtls_ecdsa_verify() function performs the standard ECDSA verification flow, including the calculation of u1 and u2. It then calls:

casper_mbedtls_ecp_muladd(grp, &R, u1, &grp->G, u2, Q);
to calculate:
R = u1 × G + u2 × Q

The ECP adaptation layer converts the mbedTLS MPI values and elliptic-curve points into the format required by CASPER and maps this operation to CASPER_ECC_SECP256R1_MulAdd().

Similarly, casper_mbedtls_ecp_mul() maps a single scalar multiplication to CASPER_ECC_SECP256R1_Mul().

Therefore, rather than modifying mbedtls_ecdsa_verify() directly, we recommend reusing the complete CASPER integration provided by the SDK under:

component/psa_crypto_driver/casper_driver
In particular, please refer to:
mcux_psa_casper_ecdsa_port.c
mcux_psa_casper_ecp_port.c

Since you built mbedTLS separately, please also make sure that your mbedTLS version is compatible with the MCUXpresso SDK CASPER port.

You can refer to the lpcxpresso55s06_psa_crypto_examples.

Harry_Zhang_0-1788493275769.pngHarry_Zhang_0-1788493275769.png

 

BR

Harry

0 项奖励
回复
138 次查看
s_hdl
Contributor I

Hello Harry,

Your answer helped me a lot, thank you. Everything works fine using the CASPER implementation now.

 

Regards.

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2411077%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EECDA%E7%AD%BE%E5%90%8D%E9%AA%8C%E8%AF%81%E4%B8%8ECASPER%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2411077%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%20class%3D%22lia-spoiler-container%22%3E%3CA%20class%3D%22lia-spoiler-link%22%20href%3D%22%23%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%E5%89%A7%E9%80%8F%3C%2FA%3E%3CNOSCRIPT%3E%20%EF%BC%88%E9%AB%98%E4%BA%AE%E9%83%A8%E5%88%86%E5%8F%AF%E4%BE%9B%E9%98%85%E8%AF%BB%EF%BC%89%3C%2FNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-border%22%3E%3CDIV%20class%3D%22lia-spoiler-content%22%3E%26nbsp%3B%3C%2FDIV%3E%3CNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-noscript-container%22%3E%3CDIV%20class%3D%22lia-spoiler-noscript-content%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FNOSCRIPT%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3CBR%20%2F%3E%E6%88%91%E6%88%90%E5%8A%9F%E5%9C%B0%E8%87%AA%E8%A1%8C%E6%9E%84%E5%BB%BA%E4%BA%86%20mbedTLS%EF%BC%8C%E4%BB%A5%E4%BE%BF%E4%BD%BF%E7%94%A8%20ECDSA%20%E9%AA%8C%E8%AF%81%E7%AD%BE%E5%90%8D%EF%BC%88MBEDTLS_ECP_DP_SECP256R1%EF%BC%89%E3%80%82%3CBR%20%2F%3E%E5%A6%82%E6%9E%9C%E6%B2%A1%E6%9C%89%E6%9B%BF%E4%BB%A3%E5%AE%9E%E7%8E%B0%EF%BC%88%E6%89%80%E6%9C%89%E8%AE%A1%E7%AE%97%E5%9D%87%E7%94%B1%20CPU%20%E5%AE%8C%E6%88%90%EF%BC%89%EF%BC%8C%E5%9C%A8%20LPC55S06%20%E4%B8%8A%E8%BF%9B%E8%A1%8C%E7%AD%BE%E5%90%8D%E9%AA%8C%E8%AF%81%E6%9C%80%E5%A4%9A%E9%9C%80%E8%A6%81%204%20%E7%A7%92%E6%89%8D%E8%83%BD%E5%AE%8C%E6%88%90%E8%AE%A1%E7%AE%97%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E7%8E%B0%E5%9C%A8%E6%AD%A3%E5%9C%A8%E5%B0%9D%E8%AF%95%E5%B0%86%20mbedTLS%20ecdsa_verify()%20%E5%87%BD%E6%95%B0%E4%B8%8E%20CASPER%20fsl%20%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E9%93%BE%E6%8E%A5%E8%B5%B7%E6%9D%A5%E3%80%82%E4%BD%86%E6%88%91%E5%B9%B6%E4%B8%8D%E6%B8%85%E6%A5%9A%EF%BC%8C%E5%9B%A0%E4%B8%BAECDSA%E7%9A%84%E6%A0%B8%E6%9F%A5%E4%BC%BC%E4%B9%8E%E5%B9%B6%E9%9D%9E%E5%8D%95%E4%B8%80%E6%93%8D%E4%BD%9C%E3%80%82%3CBR%20%2F%3E%E5%A6%82%E4%BD%95%E5%B0%86%20CAPSER%20%E7%9A%84%E5%9F%BA%E6%9C%AC%E5%8E%9F%E8%AF%AD%EF%BC%88SECP256R1_Mul%20%E5%92%8C%20SECP256R1_MulAdd%EF%BC%89%E4%B8%8E%20mbedTLS%20%E5%87%BD%E6%95%B0%20ECDSA_verify()%20%E8%BF%9E%E6%8E%A5%E8%B5%B7%E6%9D%A5%EF%BC%9F%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E5%9B%9E%E5%A4%8D%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2411077%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ELPC55xx%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2411229%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20ECDA%20signature%20verification%20with%20CASPER%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2411229%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%20peter89jean%EF%BC%8C%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%84%9F%E8%B0%A2%E4%BD%A0%E7%9A%84%E5%9B%9E%E5%A4%8D%E3%80%82%E6%82%A8%E6%8F%90%E5%88%B0%E7%9A%84%E6%96%B9%E6%B3%95%E6%AD%A3%E6%98%AF%E6%88%91%E6%89%80%E6%83%B3%E7%9A%84%EF%BC%8C%E4%BD%86%E6%98%AF%20mbedTLS%20%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E4%B8%AD%E4%BC%BC%E4%B9%8E%E6%B2%A1%E6%9C%89%E7%AE%80%E5%8D%95%E7%9B%B4%E6%8E%A5%E7%9A%84%20SECP256R1_MULADD%20%3CSTRONG%3E_ALT%3C%2FSTRONG%3E%E6%88%96%20SECP256R1_MUL%20%3CSTRONG%3E_ALT%3C%2FSTRONG%3E%E5%AE%9A%E4%B9%89%E3%80%82%E6%88%96%E8%AE%B8%E6%88%91%E5%BA%94%E8%AF%A5%E5%8E%BB%E4%B8%93%E9%97%A8%E8%AE%A8%E8%AE%BAmbdedTLS%E7%9A%84%E8%AE%BA%E5%9D%9B%E9%97%AE%E9%97%AE%E8%BF%99%E4%B8%AA%E9%97%AE%E9%A2%98%E3%80%82%3C%2FP%3E%3CP%3E%E5%86%8D%E6%AC%A1%E6%84%9F%E8%B0%A2%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E9%97%AE%E5%80%99%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2411190%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20ECDA%20signature%20verification%20with%20CASPER%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2411190%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E9%80%9A%E5%B8%B8%E6%83%85%E5%86%B5%E4%B8%8B%EF%BC%8C%E6%82%A8%E4%B8%8D%E9%9C%80%E8%A6%81%E6%9B%BF%E6%8D%A2%20mbedtls_ecdsa_verify()%20%E6%9C%AC%E8%BA%AB%EF%BC%9BCASPER%20%E5%8A%A0%E9%80%9F%E5%BA%94%E8%AF%A5%E9%9B%86%E6%88%90%E5%88%B0%20mbedTLS%20%E5%86%85%E9%83%A8%E4%BD%BF%E7%94%A8%E7%9A%84%E6%A4%AD%E5%9C%86%E6%9B%B2%E7%BA%BF%2F%E4%B9%98%E6%B3%95%E5%B1%82%E4%B8%AD%E3%80%82ECDSA%20%E9%AA%8C%E8%AF%81%E9%9C%80%E8%A6%81%E8%AE%A1%E7%AE%97%E6%A0%87%E9%87%8F%E4%B9%98%E6%B3%95%E5%8F%8A%E5%85%B6%E5%92%8C%EF%BC%8C%E5%9B%A0%E6%AD%A4%20SECP256R1_Mul()%20%E5%8F%AF%E4%BB%A5%E5%A4%84%E7%90%86%E5%8D%95%E4%B8%AA%E6%A0%87%E9%87%8F%E7%82%B9%E4%B9%98%E6%B3%95%EF%BC%8C%E8%80%8C%20SECP256R1_MulAdd()%20%E5%8F%AF%E4%BB%A5%E5%8A%A0%E9%80%9F%E7%BB%84%E5%90%88%E8%BF%90%E7%AE%97%E3%80%82%E5%85%B7%E4%BD%93%E9%9B%86%E6%88%90%E5%8F%96%E5%86%B3%E4%BA%8E%E6%82%A8%E7%9A%84%20mbedTLS%20%E7%89%88%E6%9C%AC%E5%92%8C%20NXP%20CASPER%20%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%20API%EF%BC%8C%E4%BD%86%E9%80%9A%E5%B8%B8%E7%9A%84%E5%81%9A%E6%B3%95%E6%98%AF%E4%B8%BA%20P-256%20%E6%A0%87%E9%87%8F%E4%B9%98%E6%B3%95%E5%8E%9F%E8%AF%AD%E6%8F%90%E4%BE%9B%20mbedTLS%20%E6%9B%BF%E4%BB%A3%2F%E4%BC%98%E5%8C%96%E5%AE%9E%E7%8E%B0%EF%BC%8C%E8%80%8C%E4%B8%8D%E6%98%AF%E7%9B%B4%E6%8E%A5%E4%BB%8E%20ecdsa_verify()%20%E8%B0%83%E7%94%A8%20CASPER%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2411162%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%20ECDA%20signature%20verification%20with%20CASPER%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2411162%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%97%A8%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F266219%22%20target%3D%22_blank%22%3E%40s_hdl%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EECDSA%20%E9%AA%8C%E8%AF%81%E5%8C%85%E5%90%AB%E5%A4%9A%E4%B8%AA%E7%AE%97%E6%9C%AF%E5%92%8C%E6%A4%AD%E5%9C%86%E6%9B%B2%E7%BA%BF%E8%BF%90%E7%AE%97%EF%BC%8C%E5%9B%A0%E6%AD%A4%E5%AE%83%E6%97%A0%E6%B3%95%E6%98%A0%E5%B0%84%E5%88%B0%E5%8D%95%E4%B8%AA%20CASPER%20%E5%8E%9F%E8%AF%AD%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%9C%A8%20MCUXpresso%20SDK%20%E4%B8%AD%EF%BC%8CCASPER%20PSA%20Crypto%20%E7%AB%AF%E5%8F%A3%E5%B7%B2%E7%BB%8F%E5%AE%9E%E7%8E%B0%E4%BA%86%E9%9B%86%E6%88%90%E3%80%82casper_mbedtls_ecdsa_verify()%20%E5%87%BD%E6%95%B0%E6%89%A7%E8%A1%8C%E6%A0%87%E5%87%86%E7%9A%84%20ECDSA%20%E9%AA%8C%E8%AF%81%E6%B5%81%E7%A8%8B%EF%BC%8C%E5%8C%85%E6%8B%AC%E8%AE%A1%E7%AE%97%20u1%20%E5%92%8C%20u2%E3%80%82%E7%84%B6%E5%90%8E%E5%AE%83%E8%B0%83%E7%94%A8%EF%BC%9A%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3Ecasper_mbedtls_ecp_muladd(grp%2C%20%26amp%3BR%2C%20u1%2C%20%26amp%3Bgrp-%26gt%3BG%2C%20u2%2C%20Q)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CDIV%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%E8%AE%A1%E7%AE%97%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%E6%96%B9%E6%B3%95%EF%BC%9A%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3ER%20%3D%20u1%20%C3%97%20G%20%2B%20u2%20%C3%97%20Q%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CDIV%3E%0A%3CP%3EECP%20%E9%80%82%E9%85%8D%E5%B1%82%E5%B0%86%20mbedTLS%20MPI%20%E5%80%BC%E5%92%8C%E6%A4%AD%E5%9C%86%E6%9B%B2%E7%BA%BF%E7%82%B9%E8%BD%AC%E6%8D%A2%E4%B8%BA%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20CASPER%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E6%89%80%E9%9C%80%E7%9A%84%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%E6%A0%BC%E5%BC%8F%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%EF%BC%8C%20%E5%B9%B6%E5%B0%86%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E6%AD%A4%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E6%93%8D%E4%BD%9C%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E6%98%A0%E5%B0%84%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E5%88%B0%3C%2FSPAN%3E%3CCODE%20translate%3D%22no%22%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3ECASPER_ECC_SECP256R1_MulAdd()%3C%2FSPAN%3E%3C%2FCODE%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%E7%B1%BB%E4%BC%BC%E5%9C%B0%EF%BC%8C%3C%2FSPAN%3E%3CCODE%20translate%3D%22no%22%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3Ecasper_mbedtls_ecp_mul()%3C%2FSPAN%3E%3C%2FCODE%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E5%B0%86%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%E5%8D%95%E4%B8%AA%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E6%A0%87%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E9%87%8F%20%E4%B9%98%E6%B3%95%20%E6%98%A0%E5%B0%84%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E5%88%B0%3C%2FSPAN%3E%3CCODE%20translate%3D%22no%22%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3ECASPER_ECC_SECP256R1_Mul()%3C%2FSPAN%3E%3C%2FCODE%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%E5%9B%A0%E6%AD%A4%EF%BC%8C%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E6%88%91%E4%BB%AC%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E5%BB%BA%E8%AE%AE%20%E4%B8%8D%E8%A6%81%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E7%9B%B4%E6%8E%A5%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E4%BF%AE%E6%94%B9%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%EF%BC%8C%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%E8%80%8C%E6%98%AF%3C%2FSPAN%3E%3CCODE%20translate%3D%22no%22%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3Embedtls_ecdsa_verify()%3C%2FSPAN%3E%3C%2FCODE%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E9%87%8D%E5%A4%8D%E4%BD%BF%E7%94%A8%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20SDK%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%E6%8F%90%E4%BE%9B%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E7%9A%84%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E5%AE%8C%E6%95%B4%20CASPER%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E9%9B%86%E6%88%90%EF%BC%8C%20%E5%85%B7%E4%BD%93%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%E5%A6%82%E4%B8%8B%20%EF%BC%9A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3Ecomponent%2Fpsa_crypto_driver%2Fcasper_driver%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CDIV%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%E5%85%B7%E4%BD%93%20%E8%AF%B7%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%E5%8F%82%E9%98%85%3C%2FSPAN%3E%3CSPAN%20class%3D%22___1cs5bdp%20f1w7gpdv%20f5p0z4x%22%3E%20%EF%BC%9A%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3Emcux_psa_casper_ecdsa_port.c%0Amcux_psa_casper_ecp_port.c%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%E7%94%B1%E4%BA%8E%E6%82%A8%E6%98%AF%E5%8D%95%E7%8B%AC%E6%9E%84%E5%BB%BA%E7%9A%84%20mbedTLS%EF%BC%8C%E8%AF%B7%E7%A1%AE%E4%BF%9D%E6%82%A8%E7%9A%84%20mbedTLS%20%E7%89%88%E6%9C%AC%E4%B8%8E%20MCUXpresso%20SDK%20CASPER%20%E7%AB%AF%E5%8F%A3%E5%85%BC%E5%AE%B9%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83lpcxpresso55s06_psa_crypto_examples%E3%80%82%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_0-1788493275769.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_0-1788493275769.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_0-1788493275769.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F395899i1B18FB8ED74F1966%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_0-1788493275769.png%22%20alt%3D%22Harry_Zhang_0-1788493275769.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EHarry_Zhang_0-1788493275769.png%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EHarry_Zhang_0-1788493275769.png%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EHarry_Zhang_0-1788493275769.png%3C%2FSPAN%3E%3C%2FSPAN%3E%0A%20%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3E%E5%93%88%E9%87%8C%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2411357%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%20ECDA%20signature%20verification%20with%20CASPER%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2411357%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%E5%93%88%E5%88%A9%EF%BC%8C%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%82%A8%E7%9A%84%E5%9B%9E%E7%AD%94%E5%AF%B9%E6%88%91%E7%9A%84%E5%B8%AE%E5%8A%A9%E5%BE%88%E5%A4%A7%EF%BC%8C%E8%B0%A2%E8%B0%A2%E3%80%82%E7%8E%B0%E5%9C%A8%E4%BD%BF%E7%94%A8%20CASPER%20%E5%AE%9E%E7%8E%B0%E4%B8%80%E5%88%87%E6%AD%A3%E5%B8%B8%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E6%AD%A4%E8%87%B4%E9%97%AE%E5%80%99%3C%2FP%3E%3C%2FLINGO-BODY%3E