Spanish Italian
17454 Users    

XTEA Microcontroller-Based Code Hopping Encoder

This application note describes the design of a
microcontroller-based KEELOQ™ Hopping Encoder
using the XTEA encryption algorithm. This encoder is
implemented on the Microchip PIC16F636
microcontroller. A description of the encoding process,
the encoding hardware and description of the software
modules are included within this application note. The
software was designed to emulate an HCS365 dual
encoder. As it is, this design can be used to implement
a secure system transmitter that will have the flexibility
to be designed into various types of KEELOQ receiver/
decoders.
BACKGROUND
XTEA stands for Tiny Encryption Algorithm Version 2.
This encryption algorithm is an improvement over the
original TEA algorithm. It was developed by David
Wheeler and Roger Needham of the Cambridge
Computer Laboratory. XTEA is practical both for its
security and the small size of its algorithm.
XTEA security is achieved by the number of iterations
it goes through. The implementation in this KEELOQ
Hoppping Decoder uses 32 iterations. If a higher level
of security is needed, 64 iterations can be used.
For a more detailed description of the XTEA encryption
algorithm please refer to AN953, “Data Encryption
Routines for the PIC18”.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
7 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Who's new

  • fernand
  • Ligrock
  • paolo_0665
  • chanuei
  • JM
  • samsilva77
  • araghube
  • stoll
  • mt
  • orionkw

Who's online

There are currently 0 users and 81 guests online.