CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Does PCD support the built-in crypto engine of PIC24?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
fmartinezs



Joined: 16 Aug 2006
Posts: 19

View user's profile Send private message

Does PCD support the built-in crypto engine of PIC24?
PostPosted: Mon Oct 23, 2017 12:15 pm     Reply with quote

Hi:

I was wondering if CCS supports the use of the built-in crypto engine in PIC24 devices, for example the PIC24FJ128GB204 family, which handles AES and 3DES algorithms in several modes of operation. I searched through the help files of the compiler, but i found no mention of any function related to the use of cryptography in hardware.

Has anyone managed to access this hardware module in CCS? If so, could you give me some pointers on how to use it, as i couldn't find much info in this regard.

Thanks in advance!

Best regards,
Fernando
guy



Joined: 21 Oct 2005
Posts: 291

View user's profile Send private message Visit poster's website

PostPosted: Wed Oct 25, 2017 7:18 am     Reply with quote

It isn't mentioned in the PCD manual, and the PIC header file only mentions
Quote:
#define INT_CRYPT_DONE 254
#define INT_CRYPT_PROGRAM_DONE 255
#define INT_CRYPT_BUFFER_READY 256
#define INT_CRYPT_ROLLOVER 257

No examples either.
Before you dive into the registers yourself try asking CCS support. They may even be working on it at the moment.
Unfortunately I don't have experience with the module.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group