Hello !
I have taken latest SDK and IDE for LPC55S69 MCU and try to execute mbedtls benchmark test.
It seems to me ECC521 cryptography doesn't supported by CASPER accelerator at all.
I have expected if it will be partially accelerated on HW in way how it is done on K82 and LTC.
ecp_alt_ksdk.c have protections like this :
#if defined(MBEDTLS_ECP_DP_SECP192R1_ENABLED) || defined(MBEDTLS_ECP_DP_SECP224R1_ENABLED) || \
defined(MBEDTLS_ECP_DP_SECP521R1_ENABLED)
#error "CASPER hw acceleration currently supported only for SECP256R1 and SECP384R1."
#endif
..
#if (ECC_SIZE_BITS == 256)
CASPER_ECC_SECP256R1_Mul(CASPER, &p.data.w[1], &p.data.w[1 + (ECC_SIZE_BYTES / sizeof(uint32_t))],
&p.data.w[1], &p.data.w[1 + (ECC_SIZE_BYTES / sizeof(uint32_t))], (void *)M);
#elif (ECC_SIZE_BITS == 384)
CASPER_ECC_SECP384R1_Mul(CASPER, &p.data.w[1], &p.data.w[1 + (ECC_SIZE_BYTES / sizeof(uint32_t))],
&p.data.w[1], &p.data.w[1 + (ECC_SIZE_BYTES / sizeof(uint32_t))], (void *)M);
#endif
Does it coming at some point or we can expect SW ECC521 only ?
By the way, do you have Reference manual for LPC55S69 MCU or only Datasheet and UserGuide ?
Regards,
Eugene