I2C toy code
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

23 righe
587 B

  1. /* LibTomCrypt, modular cryptographic library -- Tom St Denis
  2. *
  3. * LibTomCrypt is a library that provides various cryptographic
  4. * algorithms in a highly modular and flexible manner.
  5. *
  6. * The library is free for all purposes without any express
  7. * guarantee it works.
  8. */
  9. /* small demo app that just includes a cipher/hash/prng */
  10. #include <tomcrypt.h>
  11. int main(void)
  12. {
  13. register_cipher(&rijndael_enc_desc);
  14. register_prng(&yarrow_desc);
  15. register_hash(&sha256_desc);
  16. return 0;
  17. }
  18. /* ref: $Format:%D$ */
  19. /* git commit: $Format:%H$ */
  20. /* commit time: $Format:%ai$ */