AnsweredAssumed Answered

LPC55S16 - Curiosity about Casper API

Question asked by can.pouliquen@etu.umontpellier.fr on Jul 24, 2020
Latest reply on Jul 27, 2020 by Sabina Bruce

Hello,

 

As I was exploring the API for CASPER (LPC55S16), I realized that the exponent and the modulus used for the modular exponentiation function weren't declared of the same size. Out of curiosity, why not declare both exponent and modulus as 8-bits ?

Again, out of simple curiosity, why solely provide a modexp oriented towards signature verification and not encryption ?

 

If you have any idea or answers, I would gladly welcome them !

Thank you in advance

 

Said function :

void CASPER_ModExp(CASPER_Type *base, const uint8_t *signature, const uint8_t *pubN, size_t wordLen, uint32_t pubE, uint8_t *plaintext);

Outcomes