]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - skein/threefish256_enc_small.S
introducing the tweak on skein
[avr-crypto-lib.git] / skein / threefish256_enc_small.S
index f7392bac90443374055987adf417ed133beee47b..bf758f91c3a33ccbfd557f367f9077d1a375a06d 100644 (file)
@@ -332,8 +332,12 @@ threefish256_slut3:
        .byte 0x00, 0x08, 0x10, 0x00, 0x08, 0x10, 0x00, 0x08
        .byte 0x10, 0x00, 0x08, 0x10, 0x00, 0x08, 0x10, 0x00
        .byte 0x08, 0x10, 0x00, 0x08, 0x10, 0x00, 0x08
+/* old round contants
 threefish256_rc0: .byte 0x1b, 0x44, 0x2b, 0x72, 0x32, 0x7b, 0x13, 0x73
 threefish256_rc1: .byte 0x70, 0x34, 0x6a, 0x54, 0x24, 0x43, 0x52, 0x62
+*/
+threefish256_rc0:  .byte 0x2a, 0x64, 0x39, 0x1b, 0x31, 0x6a, 0x72, 0x40
+threefish256_rc1:  .byte 0x20, 0x71, 0x50, 0x5b, 0x41, 0x14, 0x3a, 0x40
 
 add_z_to_x8:
        ld r0, Z+