AVR-Crypto-Lib: Unterschied zwischen den Versionen

Aus LaborWiki
Wechseln zu: Navigation, Suche
Keine Bearbeitungszusammenfassung
(+some facts)
Zeile 19: Zeile 19:
==Was soll rein==
==Was soll rein==
===Symmetrisch===
===Symmetrisch===
====Block====
*aes (davon gibt es eigentlich schon eine Menge)
*aes (davon gibt es eigentlich schon eine Menge)
*seal
*serpent
*serpent
*cast
*cast5
*cast6
*des
*des
*twofish
*twofish
Zeile 30: Zeile 31:
*kasumi
*kasumi
*camellia
*camellia
====Stream====
*seal
*A5/1
*Turing


===Hashes===
===Hashes===
Zeile 38: Zeile 44:
*DH
*DH
*RSA
*RSA
*ElGamal
*EC
*EC
*DSA


==Was ist da==
==Was ist da==
===Symmetrisch===
====Block====
*XTEA
====Stream====
*ARCFOUR (RC4 kompatibel)
===Asymmetrisch====
===Hashes===
*SHA-256
*SHA-256
*ARCFOUR (RC4 kompatibel)
 
*XTEA
===Sonstiges===
*HMAC-SHA256 (nach RFC2104)
*HMAC-SHA256 (nach RFC2104)
*PRNG
*PRNG


==Facts==
==Facts==
{| {{Prettytable}}
! Name !! Kategorie !! C !! ASM !! Blockgröße !! Ausgabegröße/Keylänge!! Größe im Flash !! Größe des States !! Bemerkungen
|-
|SHA-256 || Hashfunktion || x || x || 512 Bit || 256 Bit || 1600 Byte (ASM) || 40 Byte || gilt als relativ sicher
|-
|XTEA || Blockcipher || x || x || 64 Bit || 128 Bit || 504 Byte (ASM) || - || Wikipedia: ''As of 2004, the best attack reported on XTEA is a related-key differential attack on 26 out of 64 rounds of XTEA, requiring 220.5 chosen plaintexts and a time complexity of 2115.15 (Ko et al, 2004).''
|-
|ARCFOUR || Streamcipher || x || x || 8 Bit (Ausgabe) || 8 - 2048 Bit || 122 Byte (ASM) || 258 Byte || ist kompatibel mit RC4(TM) |-
|}

Version vom 26. Juli 2006, 09:32 Uhr


Wo finde ich das

SVN: [1]

via Track (auch svn, aber geignet zum direkten Browsen):[2]

Short Facts

  • kleine Implementierungen von Kryptofunktionen in C (fast alle Mikrocontroller)
  • noch kleinere Implementierungen von Kryptofunktionen in Assembler (ATmega, gnu-avr-as)
  • Lizenz: GPLv2 (nahezu alles)


About

Die crypto-avr-lib stellt ein reihe kryptographischer Funktionen für Atmels AVR Mikrocontroller zur Verfügung. Aufgrund der besonderen Begrenzungen in Mikrocontrollern (sehr wenig Speicher, sowohl RAM als auch Flash bewegen sich je nach Controller im Byte oder im unteren KiB Bereich), kann in der Regel nicht eine Standard oder Referenzimplementierung (in C) für den Mikrocontroller genutzt werden. Daher werden hier zum einen an die Anforderungen angepasste C Implementierungen zur verfügung gestellt (die sich auch leicht auf andere Systeme portieren lassen) wie auch optimierte Assembler Implementierungen.


Was soll rein

Symmetrisch

Block

  • aes (davon gibt es eigentlich schon eine Menge)
  • serpent
  • cast5
  • cast6
  • des
  • twofish
  • blowfish
  • skipjack
  • idea
  • kasumi
  • camellia

Stream

  • seal
  • A5/1
  • Turing

Hashes

  • ripemd
  • md5

Asymmetrisch

  • DH
  • RSA
  • ElGamal
  • EC
  • DSA

Was ist da

Symmetrisch

Block

  • XTEA

Stream

  • ARCFOUR (RC4 kompatibel)

Asymmetrisch=

Hashes

  • SHA-256

Sonstiges

  • HMAC-SHA256 (nach RFC2104)
  • PRNG

Facts

Name Kategorie C ASM Blockgröße Ausgabegröße/Keylänge Größe im Flash Größe des States Bemerkungen
SHA-256 Hashfunktion x x 512 Bit 256 Bit 1600 Byte (ASM) 40 Byte gilt als relativ sicher
XTEA Blockcipher x x 64 Bit 128 Bit 504 Byte (ASM) - Wikipedia: As of 2004, the best attack reported on XTEA is a related-key differential attack on 26 out of 64 rounds of XTEA, requiring 220.5 chosen plaintexts and a time complexity of 2115.15 (Ko et al, 2004).
ARCFOUR Streamcipher x x 8 Bit (Ausgabe) 8 - 2048 Bit 122 Byte (ASM) 258 Byte -