se050 ed448 question

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

se050 ed448 question

跳至解决方案
255 次查看
Changhawn
Contributor IV

Dear 

I am finding conflicting information across documents regarding the SE050E's support for the Ed448 curve, and my own attempts to implement it have been unsuccessful.

Could you please confirm once again whether the SE050E supports Ed448?

When I execute the SE050E API to verify a certificate signature, the `WriteECKey` operation fails and returns error code `0x6985` (curve `0x42`), which indicates "Conditions of use not satisfied."
Upon further investigation, it appears that the "448" support on the SE050E refers to X448 DH rather than Ed448 signatures; could you please verify this?

0 项奖励
回复
1 解答
224 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @Changhawn ,

Thank you for reaching out and for your thorough investigation. Your conclusion is correct, and I'd like to confirm the exact situation definitively.

The SE050E does NOT support Ed448 (Edwards Curve 448) for EdDSA digital signatures.

The "448" support advertised for the SE050E refers exclusively to X448 (Montgomery Curve 448) for Diffie-Hellman key exchange (ECDH). The two are distinct:

  • X448 (Montgomery Curve448, curve ID 0x43) — fully supported on SE050E for ECDH/DH key exchange ✓
  • Ed448 (Edwards Curve448, curve ID 0x42) — NOT available for EdDSA sign/verify operations ✗

This explains the 0x6985 ("Conditions of use not satisfied") error you are seeing on WriteECKey with curve 0x42. The curve ID 0x42 (ID_ECC_ED_448) exists in the applet's curve table but is explicitly marked as "Not available for use".

Regarding the conflicting documentation: Application Note AN13014 mentions "support for Edwards Curve448," which is misleading. The more accurate sources — the Plug & Trust middleware header se05x_enums.h and the APDU specification (AN12436, AN12973) — only define Montgomery Curve448 (0x43) for key exchange, with no EdDSA signing counterpart. We apologize for any confusion this documentation inconsistency may have caused.

Recommended workaround: Please implement Ed448 EdDSA in software. A well-tested option is the mbedTLS library, which provides a complete Ed448 implementation. The SE050E can continue to handle X448 key exchange in hardware, while the signing operations are handled in software on the host side.

Please let me know if you have any further questions.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
225 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @Changhawn ,

Thank you for reaching out and for your thorough investigation. Your conclusion is correct, and I'd like to confirm the exact situation definitively.

The SE050E does NOT support Ed448 (Edwards Curve 448) for EdDSA digital signatures.

The "448" support advertised for the SE050E refers exclusively to X448 (Montgomery Curve 448) for Diffie-Hellman key exchange (ECDH). The two are distinct:

  • X448 (Montgomery Curve448, curve ID 0x43) — fully supported on SE050E for ECDH/DH key exchange ✓
  • Ed448 (Edwards Curve448, curve ID 0x42) — NOT available for EdDSA sign/verify operations ✗

This explains the 0x6985 ("Conditions of use not satisfied") error you are seeing on WriteECKey with curve 0x42. The curve ID 0x42 (ID_ECC_ED_448) exists in the applet's curve table but is explicitly marked as "Not available for use".

Regarding the conflicting documentation: Application Note AN13014 mentions "support for Edwards Curve448," which is misleading. The more accurate sources — the Plug & Trust middleware header se05x_enums.h and the APDU specification (AN12436, AN12973) — only define Montgomery Curve448 (0x43) for key exchange, with no EdDSA signing counterpart. We apologize for any confusion this documentation inconsistency may have caused.

Recommended workaround: Please implement Ed448 EdDSA in software. A well-tested option is the mbedTLS library, which provides a complete Ed448 implementation. The SE050E can continue to handle X448 key exchange in hardware, while the signing operations are handled in software on the host side.

Please let me know if you have any further questions.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2411226%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ese050%20ed448%20%E9%97%AE%E9%A2%98%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2411226%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BA%B2%E7%88%B1%E7%9A%84%20%3C%2FP%3E%3CP%3E%E6%88%91%E5%8F%91%E7%8E%B0%E6%9C%89%E5%85%B3%20SE050E%20%E5%AF%B9%20Ed448%20%E6%9B%B2%E7%BA%BF%E7%9A%84%E6%94%AF%E6%8C%81%E6%83%85%E5%86%B5%EF%BC%8C%E5%90%84%E6%96%87%E6%A1%A3%E4%B9%8B%E9%97%B4%E5%AD%98%E5%9C%A8%E7%9B%B8%E4%BA%92%E7%9F%9B%E7%9B%BE%E7%9A%84%E4%BF%A1%E6%81%AF%EF%BC%8C%E8%80%8C%E6%88%91%E8%87%AA%E5%B7%B1%E7%9A%84%E5%B0%9D%E8%AF%95%E4%B9%9F%E6%9C%AA%E8%83%BD%E6%88%90%E5%8A%9F%E5%AE%9E%E7%8E%B0%E3%80%82%3C%2FP%3E%3CP%3E%3CSTRONG%3E%E8%AF%B7%E9%97%AESE050E%E6%98%AF%E5%90%A6%E6%94%AF%E6%8C%81Ed448%EF%BC%9F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%E5%BD%93%E6%88%91%E6%89%A7%E8%A1%8C%20SE050E%20API%20%E6%9D%A5%E9%AA%8C%E8%AF%81%E8%AF%81%E4%B9%A6%E7%AD%BE%E5%90%8D%E6%97%B6%EF%BC%8C%60WriteECKey%60%20%E6%93%8D%E4%BD%9C%E5%A4%B1%E8%B4%A5%E5%B9%B6%E8%BF%94%E5%9B%9E%E9%94%99%E8%AF%AF%E4%BB%A3%E7%A0%81%20%600x6985%60%EF%BC%88%E6%9B%B2%E7%BA%BF%20%600x42%60%EF%BC%89%EF%BC%8C%E8%A1%A8%E7%A4%BA%E2%80%9C%E4%BD%BF%E7%94%A8%E6%9D%A1%E4%BB%B6%E6%9C%AA%E5%BE%97%E5%88%B0%E6%BB%A1%E8%B6%B3%E2%80%9D%E3%80%82%3CBR%20%2F%3E%E7%BB%8F%E8%BF%9B%E4%B8%80%E6%AD%A5%E8%B0%83%E6%9F%A5%EF%BC%8CSE050E%20%E4%B8%8A%E7%9A%84%E2%80%9C448%E2%80%9D%E6%94%AF%E6%8C%81%E4%BC%BC%E4%B9%8E%E6%8C%87%E7%9A%84%E6%98%AF%20X448%20DH%20%E8%80%8C%E4%B8%8D%E6%98%AF%20Ed448%20%E7%AD%BE%E5%90%8D%EF%BC%9B%E8%AF%B7%E6%82%A8%E7%A1%AE%E8%AE%A4%E4%B8%80%E4%B8%8B%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2411564%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20se050%20ed448%20question%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2411564%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%2F232520%22%20target%3D%22_blank%22%3E%40Changhawn%3C%2FA%3E%20%EF%BC%8C%3C%2FP%3E%0A%3CP%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E4%B8%8E%E6%88%91%E4%BB%AC%E8%81%94%E7%B3%BB%E5%B9%B6%E8%BF%9B%E8%A1%8C%E5%BD%BB%E5%BA%95%E8%B0%83%E6%9F%A5%E3%80%82%E4%BD%A0%E7%9A%84%E7%BB%93%E8%AE%BA%E6%98%AF%E6%AD%A3%E7%A1%AE%E7%9A%84%EF%BC%8C%E6%88%91%E6%83%B3%E6%9C%80%E7%BB%88%E7%A1%AE%E8%AE%A4%E4%B8%80%E4%B8%8B%E5%85%B7%E4%BD%93%E6%83%85%E5%86%B5%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESE050E%20%E4%B8%8D%E6%94%AF%E6%8C%81%20EdDSA%20%E6%95%B0%E5%AD%97%E7%AD%BE%E5%90%8D%E7%9A%84%20Ed448%EF%BC%88Edwards%20Curve%20448%EF%BC%89%E3%80%82%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3ESE050E%20%E6%89%80%E5%AE%A3%E4%BC%A0%E7%9A%84%E2%80%9C448%E2%80%9D%E6%94%AF%E6%8C%81%E7%89%B9%E6%8C%87%E7%94%A8%E4%BA%8E%3CSTRONG%3EDiffie-Hellman%20%E5%AF%86%E9%92%A5%E4%BA%A4%E6%8D%A2%20(ECDH)%20%E7%9A%84%20X448%EF%BC%88Montgomery%20Curve%20448%EF%BC%89%3C%2FSTRONG%3E%20%E3%80%82%E4%B8%A4%E8%80%85%E6%88%AA%E7%84%B6%E4%B8%8D%E5%90%8C%EF%BC%9A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EX448%EF%BC%88Montgomery%20Curve448%EF%BC%8C%E6%9B%B2%E7%BA%BF%20ID%20%3CCODE%20translate%3D%22no%22%3E0x43%3C%2FCODE%3E%20%EF%BC%89%3C%2FSTRONG%3E%20%E2%80%94%20SE050E%20%E5%AE%8C%E5%85%A8%E6%94%AF%E6%8C%81%20ECDH%2FDH%20%E5%AF%86%E9%92%A5%E4%BA%A4%E6%8D%A2%20%E2%9C%93%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EEd448%EF%BC%88Edwards%20Curve448%EF%BC%8C%E6%9B%B2%E7%BA%BF%20ID%20%3CCODE%20translate%3D%22no%22%3E0x42%3C%2FCODE%3E%20%EF%BC%89%3C%2FSTRONG%3E%20%E2%80%94%20%E4%B8%8D%E5%8F%AF%E7%94%A8%E4%BA%8E%20EdDSA%20%E7%AD%BE%E5%90%8D%2F%E9%AA%8C%E8%AF%81%E6%93%8D%E4%BD%9C%20%E2%9C%97%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%E8%BF%99%E5%B0%B1%E8%A7%A3%E9%87%8A%E4%BA%86%E6%82%A8%E5%9C%A8%E6%9B%B2%E7%BA%BF%20%3CCODE%20translate%3D%22no%22%3E0x42%3C%2FCODE%3E%20%E4%B8%8A%E7%9C%8B%E5%88%B0%E7%9A%84%20%3CCODE%20translate%3D%22no%22%3EWriteECKey%3C%2FCODE%3E%20%E7%9A%84%20%3CCODE%20translate%3D%22no%22%3E0x6985%3C%2FCODE%3E%EF%BC%88%E2%80%9C%E4%BD%BF%E7%94%A8%E6%9D%A1%E4%BB%B6%E6%9C%AA%E6%BB%A1%E8%B6%B3%E2%80%9D%EF%BC%89%E9%94%99%E8%AF%AF%E3%80%82%E6%9B%B2%E7%BA%BF%20ID%20%3CCODE%20translate%3D%22no%22%3E0x42%3C%2FCODE%3E%20(%20%3CCODE%20translate%3D%22no%22%3EID_ECC_ED_448%3C%2FCODE%3E%20)%20%E5%AD%98%E5%9C%A8%E4%BA%8E%E5%B0%8F%E7%A8%8B%E5%BA%8F%E7%9A%84%E6%9B%B2%E7%BA%BF%E8%A1%A8%E4%B8%AD%EF%BC%8C%E4%BD%86%E6%98%8E%E7%A1%AE%E6%A0%87%E8%AE%B0%E4%B8%BA%3CSTRONG%3E%E2%80%9C%E4%B8%8D%E5%8F%AF%E7%94%A8%E2%80%9D%3C%2FSTRONG%3E%20%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%E5%85%B3%E4%BA%8E%E7%9B%B8%E4%BA%92%E7%9F%9B%E7%9B%BE%E7%9A%84%E6%96%87%E6%A1%A3%EF%BC%9A%3C%2FSTRONG%3E%E5%BA%94%E7%94%A8%E7%AC%94%E8%AE%B0%20AN13014%20%E6%8F%90%E5%88%B0%E2%80%9C%E6%94%AF%E6%8C%81%20Edwards%20Curve448%E2%80%9D%EF%BC%8C%E8%BF%99%E6%98%AF%E8%AF%AF%E5%AF%BC%E6%80%A7%E7%9A%84%E3%80%82%E6%9B%B4%E5%87%86%E7%A1%AE%E7%9A%84%E6%9D%A5%E6%BA%90%E2%80%94%E2%80%94Plug%20%26amp%3B%20Trust%20%E4%B8%AD%E9%97%B4%E4%BB%B6%E6%A0%87%E5%A4%B4%20%3CCODE%20translate%3D%22no%22%3Ese05x_enums.h%3C%2FCODE%3E%20%E5%92%8C%20APDU%20%E8%A7%84%E8%8C%83%20(AN12436%2C%20AN12973)%E2%80%94%E2%80%94%E4%BB%85%E5%AE%9A%E4%B9%89%E4%BA%86%20Montgomery%20Curve448%20(%3CCODE%20translate%3D%22no%22%3E0x43%3C%2FCODE%3E)%20%E7%94%A8%E4%BA%8E%E5%AF%86%E9%92%A5%E4%BA%A4%E6%8D%A2%EF%BC%8C%E6%B2%A1%E6%9C%89%20EdDSA%20%E7%AD%BE%E5%90%8D%E5%AF%B9%E5%BA%94%E7%89%A9%E3%80%82%E5%AF%B9%E4%BA%8E%E6%AD%A4%E6%AC%A1%E6%96%87%E4%BB%B6%E4%B8%8D%E4%B8%80%E8%87%B4%E5%8F%AF%E8%83%BD%E9%80%A0%E6%88%90%E7%9A%84%E4%BB%BB%E4%BD%95%E5%9B%B0%E6%83%91%EF%BC%8C%E6%88%91%E4%BB%AC%E6%B7%B1%E8%A1%A8%E6%AD%89%E6%84%8F%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%E6%8E%A8%E8%8D%90%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95%EF%BC%9A%3C%2FSTRONG%3E%E8%AF%B7%E5%9C%A8%E8%BD%AF%E4%BB%B6%E4%B8%AD%E5%AE%9E%E7%8E%B0%20Ed448%20EdDSA%E3%80%82%3CSTRONG%3EmbedTLS%3C%2FSTRONG%3E%E5%BA%93%E6%98%AF%E4%B8%80%E4%B8%AA%E7%BB%8F%E8%BF%87%E5%85%85%E5%88%86%E6%B5%8B%E8%AF%95%E7%9A%84%E9%80%89%E6%8B%A9%EF%BC%8C%E5%AE%83%E6%8F%90%E4%BE%9B%E4%BA%86%E5%AE%8C%E6%95%B4%E7%9A%84%20Ed448%20%E5%AE%9E%E7%8E%B0%E3%80%82SE050E%20%E5%8F%AF%E4%BB%A5%E7%BB%A7%E7%BB%AD%E5%9C%A8%E7%A1%AC%E4%BB%B6%E4%B8%AD%E5%A4%84%E7%90%86%20X448%20%E5%AF%86%E9%92%A5%E4%BA%A4%E6%8D%A2%EF%BC%8C%E8%80%8C%E7%AD%BE%E5%90%8D%E6%93%8D%E4%BD%9C%E5%88%99%E5%9C%A8%E4%B8%BB%E6%9C%BA%E7%AB%AF%E7%9A%84%E8%BD%AF%E4%BB%B6%E4%B8%AD%E5%A4%84%E7%90%86%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%A6%82%E6%9E%9C%E6%82%A8%E8%BF%98%E6%9C%89%E5%85%B6%E4%BB%96%E9%97%AE%E9%A2%98%EF%BC%8C%E8%AF%B7%E5%91%8A%E8%AF%89%E6%88%91%E3%80%82%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E7%A5%9D%E4%BD%A0%E6%9C%89%E7%BE%8E%E5%A5%BD%E7%9A%84%E4%B8%80%E5%A4%A9%EF%BC%8C%3CBR%20%2F%3E%E5%9D%8E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E-------------------------------------------------------------------------------%3CBR%20%2F%3E%E7%AC%94%E8%AE%B0%EF%BC%9A%3CBR%20%2F%3E%20-%20%E5%A6%82%E6%9E%9C%E6%AD%A4%E5%9B%9E%E5%A4%8D%E8%A7%A3%E7%AD%94%E4%BA%86%E6%82%A8%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%8C%E8%AF%B7%E7%82%B9%E5%87%BB%E2%80%9C%E6%A0%87%E8%AE%B0%E4%B8%BA%E6%AD%A3%E7%A1%AE%E7%AD%94%E6%A1%88%E2%80%9D%E6%8C%89%E9%92%AE%E3%80%82%E8%B0%A2%E8%B0%A2%E4%BD%A0%EF%BC%81%3CBR%20%2F%3E%20-%20%E6%88%91%E4%BB%AC%E4%BC%9A%E6%8C%81%E7%BB%AD%E5%85%B3%E6%B3%A8%E5%B8%96%E5%AD%90%EF%BC%8C%E4%BB%8E%E6%9C%80%E5%90%8E%E4%B8%80%E6%9D%A1%E5%9B%9E%E5%A4%8D%E5%8F%91%E5%87%BA%E5%90%8E%E6%8C%81%E7%BB%AD7%E5%91%A8%EF%BC%8C%E4%B9%8B%E5%90%8E%E7%9A%84%E5%9B%9E%E5%A4%8D%E5%B0%86%E8%A2%AB%E5%BF%BD%E7%95%A5%E3%80%82%3CBR%20%2F%3E%E5%A6%82%E6%9E%9C%E6%82%A8%E4%B9%8B%E5%90%8E%E6%9C%89%E7%9B%B8%E5%85%B3%E9%97%AE%E9%A2%98%EF%BC%8C%E8%AF%B7%E5%8F%A6%E5%BC%80%E6%96%B0%E5%B8%96%E5%B9%B6%E5%BC%95%E7%94%A8%E5%B7%B2%E5%85%B3%E9%97%AD%E7%9A%84%E5%B8%96%E5%AD%90%E3%80%82%3CBR%20%2F%3E-------------------------------------------------------------------------------%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E