Searched refs:LOCAL_MIN (Results 1 – 10 of 10) sorted by relevance
/freebsd/crypto/libecc/src/sig/ |
H A D | fuzzing_ecgdsa.c | 45 u8 e_buf[LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8))]; in ecgdsa_sign_raw() 100 #if LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8)) < 255 in ecgdsa_sign_raw() 262 u8 e_buf[LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8))]; in ecgdsa_verify_raw() 303 #if LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8)) < 255 in ecgdsa_verify_raw()
|
H A D | fuzzing_ecdsa.c | 46 u8 hash[LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8))]; in ecdsa_sign_raw() 98 #if LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8)) < 255 in ecdsa_sign_raw() 284 u8 hash[LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8))]; in ecdsa_verify_raw() 326 #if LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8)) < 255 in ecdsa_verify_raw()
|
H A D | fuzzing_ecrdsa.c | 87 u8 h_buf[LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8))]; in ecrdsa_sign_raw() 192 #if LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8)) < 255 in ecrdsa_sign_raw() 297 u8 h_buf[LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8))]; in ecrdsa_verify_raw() 336 #if LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8)) < 255 in ecrdsa_verify_raw()
|
H A D | bign_common.c | 644 ret = local_memcpy(&sig[0], &hash_belt[0], LOCAL_MIN(l, BELT_HASH_DIGEST_SIZE)); EG(ret, err); in __bign_sign_finalize() 645 dbg_buf_print("s0", &sig[0], LOCAL_MIN(l, BELT_HASH_DIGEST_SIZE)); in __bign_sign_finalize() 957 ret = local_memcpy(&t[0], &hash_belt[0], LOCAL_MIN(l, BELT_HASH_DIGEST_SIZE)); EG(ret, err); in __bign_verify_finalize()
|
/freebsd/crypto/libecc/include/libecc/sig/ |
H A D | eckcdsa.h | 28 #define ECKCDSA_R_LEN(hsize, q_bit_len) LOCAL_MIN(hsize, BYTECEIL(q_bit_len))
|
/freebsd/crypto/libecc/include/libecc/utils/ |
H A D | utils.h | 165 #define LOCAL_MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
|
/freebsd/crypto/libecc/src/examples/basic/ |
H A D | curve_ecdh.c | 79 #define CHECK_SIZE LOCAL_MIN(sizeof(Alice), sizeof(Bob))
|
/freebsd/crypto/libecc/src/nn/ |
H A D | nn_logical.c | 110 owlen = (u8)LOCAL_MIN(BIT_LEN_WORDS(cnt + blen), in nn_lshift()
|
/freebsd/crypto/libecc/src/arithmetic_tests/ |
H A D | arithmetic_tests.c | 521 …if(memcmp(global_parameters, parameters_types, LOCAL_MIN(MAX_PARAMS, strlen(parameters_types))) !=… 1191 memcpy(global_parameters, s, LOCAL_MIN(nrecs, MAX_PARAMS)); in main()
|
/freebsd/crypto/libecc/src/tests/ |
H A D | ec_self_tests_core.c | 889 u8 nonce[LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8))] = { 0 }; 928 #if LOCAL_MIN(255, BIT_LEN_WORDS(NN_MAX_BIT_LEN) * (WORDSIZE / 8)) < 255
|