MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / tiger_init

Function tiger_init

extern/libtomcrypt/src/hashes/tiger.c:656–665  ·  view source on GitHub ↗

Initialize the hash state @param md The hash state you wish to initialize @return CRYPT_OK if successful */

Source from the content-addressed store, hash-verified

654 @return CRYPT_OK if successful
655*/
656int tiger_init(hash_state *md)
657{
658 LTC_ARGCHK(md != NULL);
659 md->tiger.state[0] = CONST64(0x0123456789ABCDEF);
660 md->tiger.state[1] = CONST64(0xFEDCBA9876543210);
661 md->tiger.state[2] = CONST64(0xF096A5B4C3B2E187);
662 md->tiger.curlen = 0;
663 md->tiger.length = 0;
664 return CRYPT_OK;
665}
666
667/**
668 Process a block of memory though the hash

Callers 1

tiger_testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected