]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - skein/threefish256_enc_asm.S
introducing the tweak on skein
[avr-crypto-lib.git] / skein / threefish256_enc_asm.S
index dfa5d05c4ff175bfe67db101845b9b8a3788b2fd..625c8faa91423d80388c3e0ae61b87a11306b993 100644 (file)
@@ -373,8 +373,12 @@ threefish256_slut3:
        .byte 0x08, 0x10, 0x00, 0x08, 0x10, 0x00, 0x08
 ;threefish256_rc0: .byte  5, 36, 13, 58, 26, 53, 11, 59
 ;threefish256_rc1: .byte 56, 28, 46, 44, 20, 35, 42, 50
+/* old round constants
 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+