Lines Matching refs:TIGER
15 @file tiger.c
16 Tiger hash function, Tom St Denis
19 #ifdef TIGER
23 "tiger",
625 a = md->tiger.state[0];
626 b = md->tiger.state[1];
627 c = md->tiger.state[2];
636 md->tiger.state[0] = a ^ md->tiger.state[0];
637 md->tiger.state[1] = b - md->tiger.state[1];
638 md->tiger.state[2] = c + md->tiger.state[2];
661 md->tiger.state[0] = CONST64(0x0123456789ABCDEF);
662 md->tiger.state[1] = CONST64(0xFEDCBA9876543210);
663 md->tiger.state[2] = CONST64(0xF096A5B4C3B2E187);
664 md->tiger.curlen = 0;
665 md->tiger.length = 0;
676 HASH_PROCESS(tiger_process, tiger_compress, tiger, 64)
689 if (md->tiger.curlen >= sizeof(md->tiger.buf)) {
694 md->tiger.length += md->tiger.curlen * 8;
697 md->tiger.buf[md->tiger.curlen++] = (unsigned char)0x01;
702 if (md->tiger.curlen > 56) {
703 while (md->tiger.curlen < 64) {
704 md->tiger.buf[md->tiger.curlen++] = (unsigned char)0;
706 tiger_compress(md, md->tiger.buf);
707 md->tiger.curlen = 0;
711 while (md->tiger.curlen < 56) {
712 md->tiger.buf[md->tiger.curlen++] = (unsigned char)0;
716 STORE64L(md->tiger.length, md->tiger.buf+56);
717 tiger_compress(md, md->tiger.buf);
720 STORE64L(md->tiger.state[0], &out[0]);
721 STORE64L(md->tiger.state[1], &out[8]);
722 STORE64L(md->tiger.state[2], &out[16]);
753 { "Tiger",
793 Hash of "Tiger":
799 Hash of "Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham":
801 Hash of "Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham, proceedings of Fast Software Encryption 3, Cambridge.":
803 Hash of "Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham, proceedings of Fast Software Encryption 3, Cambridge, 1996.":
812 /* $Source: /cvs/libtom/libtomcrypt/src/hashes/tiger.c,v $ */