CEC1302 RSA key generator function

Here you can ask for specific code examples and discuss about it with other forum members.
Post Reply
Author
Message
JaspBr
Posts: 3
Joined: 18 Dec 2016 23:10

CEC1302 RSA key generator function

#1 Post by JaspBr » 18 Dec 2016 23:25

Hello

Is possible to get the lib or source code for this function in CEC1302?


uint8_t rsa_keygen(uint16_t rsa_bit_len,const uint8_t * p,const uint8_t * q,const uint8_t * e,uint16_t elen,uint8_t flags);


Regards

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: CEC1302 RSA key generator function

#2 Post by Aleksandar.Mitrovic » 20 Dec 2016 14:53

Hi,

Unfortunately we do not share source files of our compiler libraries.

In our compiler example folder you can take a look at the examples for couple of crypto functionalities:
...\Mikroelektronika\mikroC PRO for ARM\Examples\Microchip\Internal MCU modules\Crypto_Examples

Kind regards,
Aleksandar

JaspBr
Posts: 3
Joined: 18 Dec 2016 23:10

Re: CEC1302 RSA key generator function

#3 Post by JaspBr » 20 Dec 2016 17:11

Hi

Thanks For your Reply

I dont want you provide source for lib
Just need to implement this function

Whose header

5.2.3 rsa_keygen Function Header:
uint8_t rsa_keygen(uint16_t rsa_bit_len, const uint8_t * p, const uint8_t * q, const uint8_t * e, uint16_t elen, uint8_t flags);

is in this document:

CEC1302 Crypto API User’s GuideDS50002504A-page 24  2016 Microchip Technology Inc.





Regards

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: CEC1302 RSA key generator function

#4 Post by Aleksandar.Mitrovic » 21 Dec 2016 17:34

Hi,

Unfortunately those functions are the only one at this moment.

I will forward this suggestion to our developers but I can not give you any precise date when this will be implemented.

Kind regards,
Aleksandar

Post Reply

Return to “Code Requests”