Home
last modified time | relevance | path

Searched refs:MAX_BLOCK_SIZE (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/crypto/libecc/include/libecc/hash/
H A Dbash224.h42 #ifndef MAX_BLOCK_SIZE
43 #define MAX_BLOCK_SIZE 0 macro
45 #if (MAX_BLOCK_SIZE < BASH224_BLOCK_SIZE)
46 #undef MAX_BLOCK_SIZE
47 #define MAX_BLOCK_SIZE BASH224_BLOCK_SIZE macro
H A Dsha3-512.h47 #ifndef MAX_BLOCK_SIZE
48 #define MAX_BLOCK_SIZE 0 macro
50 #if (MAX_BLOCK_SIZE < SHA3_512_BLOCK_SIZE)
51 #undef MAX_BLOCK_SIZE
52 #define MAX_BLOCK_SIZE SHA3_512_BLOCK_SIZE macro
H A Dbash512.h42 #ifndef MAX_BLOCK_SIZE
43 #define MAX_BLOCK_SIZE 0 macro
45 #if (MAX_BLOCK_SIZE < BASH512_BLOCK_SIZE)
46 #undef MAX_BLOCK_SIZE
47 #define MAX_BLOCK_SIZE BASH512_BLOCK_SIZE macro
H A Dshake256.h46 #ifndef MAX_BLOCK_SIZE
47 #define MAX_BLOCK_SIZE 0 macro
49 #if (MAX_BLOCK_SIZE < SHAKE256_BLOCK_SIZE)
50 #undef MAX_BLOCK_SIZE
51 #define MAX_BLOCK_SIZE SHAKE256_BLOCK_SIZE macro
H A Dsha3-384.h47 #ifndef MAX_BLOCK_SIZE
48 #define MAX_BLOCK_SIZE 0 macro
50 #if (MAX_BLOCK_SIZE < SHA3_384_BLOCK_SIZE)
51 #undef MAX_BLOCK_SIZE
52 #define MAX_BLOCK_SIZE SHA3_384_BLOCK_SIZE macro
H A Dsha3-256.h47 #ifndef MAX_BLOCK_SIZE
48 #define MAX_BLOCK_SIZE 0 macro
50 #if (MAX_BLOCK_SIZE < SHA3_256_BLOCK_SIZE)
51 #undef MAX_BLOCK_SIZE
52 #define MAX_BLOCK_SIZE SHA3_256_BLOCK_SIZE macro
H A Dbash384.h42 #ifndef MAX_BLOCK_SIZE
43 #define MAX_BLOCK_SIZE 0 macro
45 #if (MAX_BLOCK_SIZE < BASH384_BLOCK_SIZE)
46 #undef MAX_BLOCK_SIZE
47 #define MAX_BLOCK_SIZE BASH384_BLOCK_SIZE macro
H A Dbash256.h42 #ifndef MAX_BLOCK_SIZE
43 #define MAX_BLOCK_SIZE 0 macro
45 #if (MAX_BLOCK_SIZE < BASH256_BLOCK_SIZE)
46 #undef MAX_BLOCK_SIZE
47 #define MAX_BLOCK_SIZE BASH256_BLOCK_SIZE macro
H A Dsha3-224.h47 #ifndef MAX_BLOCK_SIZE
48 #define MAX_BLOCK_SIZE 0 macro
50 #if (MAX_BLOCK_SIZE < SHA3_224_BLOCK_SIZE)
51 #undef MAX_BLOCK_SIZE
52 #define MAX_BLOCK_SIZE SHA3_224_BLOCK_SIZE macro
H A Dsha512-224.h49 #ifndef MAX_BLOCK_SIZE
50 #define MAX_BLOCK_SIZE 0 macro
52 #if (MAX_BLOCK_SIZE < SHA512_224_BLOCK_SIZE)
53 #undef MAX_BLOCK_SIZE
54 #define MAX_BLOCK_SIZE SHA512_224_BLOCK_SIZE macro
H A Dsha512.h49 #ifndef MAX_BLOCK_SIZE
50 #define MAX_BLOCK_SIZE 0 macro
52 #if (MAX_BLOCK_SIZE < SHA512_BLOCK_SIZE)
53 #undef MAX_BLOCK_SIZE
54 #define MAX_BLOCK_SIZE SHA512_BLOCK_SIZE macro
H A Dsha512-256.h49 #ifndef MAX_BLOCK_SIZE
50 #define MAX_BLOCK_SIZE 0 macro
52 #if (MAX_BLOCK_SIZE < SHA512_256_BLOCK_SIZE)
53 #undef MAX_BLOCK_SIZE
54 #define MAX_BLOCK_SIZE SHA512_256_BLOCK_SIZE macro
H A Dsha384.h48 #ifndef MAX_BLOCK_SIZE
49 #define MAX_BLOCK_SIZE 0 macro
51 #if (MAX_BLOCK_SIZE < SHA384_BLOCK_SIZE)
52 #undef MAX_BLOCK_SIZE
53 #define MAX_BLOCK_SIZE SHA384_BLOCK_SIZE macro
H A Dripemd160.h42 #ifndef MAX_BLOCK_SIZE
43 #define MAX_BLOCK_SIZE 0 macro
45 #if (MAX_BLOCK_SIZE < RIPEMD160_BLOCK_SIZE)
46 #undef MAX_BLOCK_SIZE
47 #define MAX_BLOCK_SIZE RIPEMD160_BLOCK_SIZE macro
H A Dstreebog512.h42 #ifndef MAX_BLOCK_SIZE
43 #define MAX_BLOCK_SIZE 0 macro
45 #if (MAX_BLOCK_SIZE < STREEBOG512_BLOCK_SIZE)
46 #undef MAX_BLOCK_SIZE
47 #define MAX_BLOCK_SIZE STREEBOG512_BLOCK_SIZE macro
H A Dsha224.h48 #ifndef MAX_BLOCK_SIZE
49 #define MAX_BLOCK_SIZE 0 macro
51 #if (MAX_BLOCK_SIZE < SHA224_BLOCK_SIZE)
52 #undef MAX_BLOCK_SIZE
53 #define MAX_BLOCK_SIZE SHA224_BLOCK_SIZE macro
H A Dsha256.h48 #ifndef MAX_BLOCK_SIZE
49 #define MAX_BLOCK_SIZE 0 macro
51 #if (MAX_BLOCK_SIZE < SHA256_BLOCK_SIZE)
52 #undef MAX_BLOCK_SIZE
53 #define MAX_BLOCK_SIZE SHA256_BLOCK_SIZE macro
H A Dsm3.h42 #ifndef MAX_BLOCK_SIZE
43 #define MAX_BLOCK_SIZE 0 macro
45 #if (MAX_BLOCK_SIZE < SM3_BLOCK_SIZE)
46 #undef MAX_BLOCK_SIZE
47 #define MAX_BLOCK_SIZE SM3_BLOCK_SIZE macro
H A Dstreebog256.h42 #ifndef MAX_BLOCK_SIZE
43 #define MAX_BLOCK_SIZE 0 macro
45 #if (MAX_BLOCK_SIZE < STREEBOG256_BLOCK_SIZE)
46 #undef MAX_BLOCK_SIZE
47 #define MAX_BLOCK_SIZE STREEBOG256_BLOCK_SIZE macro
H A Dbelt-hash.h124 #ifndef MAX_BLOCK_SIZE
125 #define MAX_BLOCK_SIZE 0 macro
127 #if (MAX_BLOCK_SIZE < BELT_HASH_BLOCK_SIZE)
128 #undef MAX_BLOCK_SIZE
129 #define MAX_BLOCK_SIZE BELT_HASH_BLOCK_SIZE macro
/freebsd/crypto/libecc/src/hash/
H A Dhmac.c19 u8 ipad[MAX_BLOCK_SIZE]; in hmac_init()
20 u8 opad[MAX_BLOCK_SIZE]; in hmac_init()
21 u8 local_hmac_key[MAX_BLOCK_SIZE]; in hmac_init()
/freebsd/crypto/libecc/src/sig/
H A Deckcdsa.c91 (blocksize <= MAX_BLOCK_SIZE), ret, err); in eckcdsa_siglen()
204 u8 tmp_buf[LOCAL_MAX(2 * BYTECEIL(CURVES_MAX_P_BIT_LEN), MAX_BLOCK_SIZE)]; in _eckcdsa_sign_init()
218 (ctx->h->block_size <= MAX_BLOCK_SIZE), ret, err); in _eckcdsa_sign_init()
549 u8 tmp_buf[LOCAL_MAX(2 * BYTECEIL(CURVES_MAX_P_BIT_LEN), MAX_BLOCK_SIZE)]; in _eckcdsa_verify_init()
567 (ctx->h->block_size <= MAX_BLOCK_SIZE), ret, err); in _eckcdsa_verify_init()
H A Decsdsa_common.c79 (hsize <= MAX_DIGEST_SIZE) && (blocksize <= MAX_BLOCK_SIZE)), in __ecsdsa_siglen()
165 (ctx->h->block_size <= MAX_BLOCK_SIZE), ret, err); in __ecsdsa_sign_init()
458 (ctx->h->block_size <= MAX_BLOCK_SIZE), ret, err); in __ecsdsa_verify_init()
H A Decrdsa.c108 (hsize <= MAX_DIGEST_SIZE) && (blocksize <= MAX_BLOCK_SIZE), ret, err); in ecrdsa_siglen()
159 (ctx->h->block_size <= MAX_BLOCK_SIZE), ret, err); in _ecrdsa_sign_init()
433 (ctx->h->block_size <= MAX_BLOCK_SIZE), ret, err); in _ecrdsa_verify_init()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_lzop.c92 #define MAX_BLOCK_SIZE (64 * 1024 * 1024) macro
324 if (state->uncompressed_size > MAX_BLOCK_SIZE) in consume_block_info()

12