Lines Matching refs:bitlen
203 #define SHA3_newctx(typ, uname, name, bitlen, pad) \ argument
212 ossl_sha3_init(ctx, pad, bitlen); \
217 #define KMAC_newctx(uname, bitlen, pad) \ argument
226 ossl_keccak_kmac_init(ctx, pad, bitlen); \
231 #define PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags) \ argument
241 #define PROV_FUNC_SHA3_DIGEST(name, bitlen, blksize, dgstsize, flags) \ argument
242 PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags), \
246 #define PROV_FUNC_SHAKE_DIGEST(name, bitlen, blksize, dgstsize, flags) \ argument
247 PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags), \
300 #define IMPLEMENT_SHA3_functions(bitlen) \ argument
301 SHA3_newctx(sha3, SHA3_##bitlen, sha3_##bitlen, bitlen, '\x06') \
302 PROV_FUNC_SHA3_DIGEST(sha3_##bitlen, bitlen, \
303 SHA3_BLOCKSIZE(bitlen), SHA3_MDSIZE(bitlen), \
306 #define IMPLEMENT_SHAKE_functions(bitlen) \ argument
307 SHA3_newctx(shake, SHAKE_##bitlen, shake_##bitlen, bitlen, '\x1f') \
308 PROV_FUNC_SHAKE_DIGEST(shake_##bitlen, bitlen, \
309 SHA3_BLOCKSIZE(bitlen), SHA3_MDSIZE(bitlen), \
311 #define IMPLEMENT_KMAC_functions(bitlen) \ argument
312 KMAC_newctx(keccak_kmac_##bitlen, bitlen, '\x04') \
313 PROV_FUNC_SHAKE_DIGEST(keccak_kmac_##bitlen, bitlen, \
314 SHA3_BLOCKSIZE(bitlen), KMAC_MDSIZE(bitlen), \