Searched refs:capacity_words (Results 1 – 3 of 3) sorted by relevance
81 md->sha3.capacity_words = 2 * 224 / (8 * sizeof(ulong64)); in sha3_224_init()89 md->sha3.capacity_words = 2 * 256 / (8 * sizeof(ulong64)); in sha3_256_init()97 md->sha3.capacity_words = 2 * 384 / (8 * sizeof(ulong64)); in sha3_384_init()105 md->sha3.capacity_words = 2 * 512 / (8 * sizeof(ulong64)); in sha3_512_init()114 md->sha3.capacity_words = (unsigned short)(2 * num / (8 * sizeof(ulong64))); in sha3_shake_init()131 block_size = 200 - md->sha3.capacity_words * 8; in sha3_process()132 digest_size = md->sha3.capacity_words * 8 / 2; in sha3_process()189 block_size = 200 - md->sha3.capacity_words * 8; in sha3_done()190 digest_size = md->sha3.capacity_words * 8 / 2; in sha3_done()216 block_size = 200 - md->sha3.capacity_words * 8; in sha3_shake_done()[all …]
203 … md->sha3.s[SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words - 1] ^= CONST64(0x8000000000000000); in ss_done()211 XMEMCPY(hash, md->sha3.sb, md->sha3.capacity_words * 4); in ss_done()221 md->sha3.capacity_words = 2 * 224 / (8 * sizeof(ulong64)); in sha3_224_init()229 md->sha3.capacity_words = 2 * 256 / (8 * sizeof(ulong64)); in sha3_256_init()237 md->sha3.capacity_words = 2 * 384 / (8 * sizeof(ulong64)); in sha3_384_init()245 md->sha3.capacity_words = 2 * 512 / (8 * sizeof(ulong64)); in sha3_512_init()255 md->sha3.capacity_words = (unsigned short)(2 * num / (8 * sizeof(ulong64))); in sha3_shake_init()285 if(++md->sha3.word_index == (SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words)) { in sha3_process()299 if(++md->sha3.word_index == (SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words)) { in sha3_process()340 … md->sha3.s[SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words - 1] ^= CONST64(0x8000000000000000); in sha3_shake_done()[all …]
12 …unsigned short capacity_words; /* the double size of the hash output in words (e.g. 16 for Keccak… member