AVR has a DES instruction, so it should not be too hard to implement a Triple DES which performs reasonable fast. >From the DataSheet: The module is an instruction set extension to the AVR CPU, performing DES iterations. The 64-bit data block (plaintext or ciphertext) is placed in the CPU register file, registers R0-R7, where LSB of data is placed in LSB of R0 and MSB of data is placed in MSB of R7. The full 64-bit key (including parity bits) is placed in registers R8-R15, organized in the register file with LSB of key in LSB of R8 and MSB of key in MSB of R15. Executing one DE= S instruction performs one round in the DES algorithm. Sixteen rounds must be executed in increasing order to form the correct DES ciphertext or plaintext. Intermediate results are stored in the register file (R0-R15) after each DES instruction. The instruction's operand (K) determines which round is executed, and the half carry flag (H) determines whether encryption or decryption is performed. However, I agree with Alan that an FPGA would be a better choice for a better ciphering and/or hashing algorithm. Tamas On Wed, Jun 15, 2011 at 9:26 AM, wrote: > > Hi guys, > > Do any of you know of ICs one can buy to perform cryptographic > > primitives (block ciphers, hashes, etc.)? I looked around Digikey in > > the categories that seemed reasonable, but couldn't seem to find any > > such devices. I know I've heard of one before (even seem its > > datasheet), but I can't seem to find the part now. > > You may be thinking about the 8048 chip that Intel programmed to do DES > encoding/decoding. I believe it was real slow (equivalent to around 100 b= aud > IIRC) and required all sorts of clearances to be allowed to purchase it. > > These days I think everyone 'just' puts the relevant crypto engine inside > an FPGA - its fast, relatively secure and makes for one chip with everyth= ing > including buffer ram in it. > > There is code around for doing it on micros, Microchip sells a CD or > download to go with their various app notes of the crypto schemes they > support. The CD is a nominal cost, but they have to do it that way so tha= t > distribution of the source code can be controlled for ITAR purposes. > -- > Scanned by iCritical. > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 int main() { char *a,*s,*q; printf(s=3D"int main() { char *a,*s,*q; printf(s=3D%s%s%s, q=3D%s%s%s%s,s,q,q,a=3D%s%s%s%s,q,q,q,a,a,q); }", q=3D"\"",s,q,q,a=3D"\\",q,q,q,a,a,q); } --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .