How 2 send continous block of 16 bytes fr PC 2 PIC serially?

Status
Not open for further replies.

ganavel9783

Member level 1
Joined
Sep 6, 2005
Messages
38
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
2,257
hi guys,

i'm working on a project to encrypt text files from PC using PIC16f877.the encryption algorithm i'm using is AES.the encryption algorithm code for the PIC is implemented to work with block of 16 bytes of data.so i need to send continous block of 16 bytes of data to be encrypted and sent back to PC to display the cipher text.

I do realise that i need to implement buffers to transmit and receive 16 bytes blocks of data to be encrypted by the PIC.

1) So do i need to use buffers as well from the PC side to send continous blocks of 16 bytes serially to the PIC? (I'm using Visual C++ on the PC side.)
2) How do i implement this task?
3) Any code examples?

Regards,
ganavel9783
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…