Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/07/05 12:43
Read: times


 
#94441 - Recipe for success
Responding to: ???'s previous message
Juan Carlos said:
How can I use you TEA code from the code library? Can I get it in C?
Can my results help you solve this problem?


There are already "standard" implementations in C on the 'net. Where did you find what you started with, anyway?

I don't understand what all the fuss is about.

  1. Start with a "standard" implementation in C.

  2. Running on a PC, verify against the test vectors.

  3. Make the encryption, decryption algorithms, and test code portable.

  4. Test again on other target architectures.

After you've got something working and stable in C, then check assembly language versions against the test vectors. You have to make it work before you make it faster.

A good book on portability:

Portable C (Prentice Hall Software Series)
Author(s): Rabinowitz Henry, Schaap Chaim
Publisher: Prentice Hall Computer Books
ISBN: 0136859674

List of 30 messages in thread
TopicAuthorDate
TEA            01/01/70 00:00      
   Endianess            01/01/70 00:00      
      Any recommendations?            01/01/70 00:00      
         Assess your requirements            01/01/70 00:00      
         Test vectors            01/01/70 00:00      
      platform-dependent            01/01/70 00:00      
   Why TEA?            01/01/70 00:00      
      Did you Mean DES            01/01/70 00:00      
         Yes, DES            01/01/70 00:00      
            Here it is            01/01/70 00:00      
               It would be better            01/01/70 00:00      
                  Go here!            01/01/70 00:00      
               And what is your result?            01/01/70 00:00      
                  Not right?            01/01/70 00:00      
                     I expected that...            01/01/70 00:00      
                        Here are the results I am gettng            01/01/70 00:00      
                           Michael is right:            01/01/70 00:00      
                              MS Visual C.            01/01/70 00:00      
                           Recipe for success            01/01/70 00:00      
                              problem with "standard implementation"..            01/01/70 00:00      
                                 Example for the user            01/01/70 00:00      
                                    like this?            01/01/70 00:00      
                                       What else?            01/01/70 00:00      
                                          ???            01/01/70 00:00      
                                             I noticed that            01/01/70 00:00      
                                       Statics init to zero            01/01/70 00:00      
               Code Problems            01/01/70 00:00      
   Didn't search first?            01/01/70 00:00      
   It's easy?            01/01/70 00:00      
      Useful fast shift and roll functions            01/01/70 00:00      

Back to Subject List