Home
last modified time | relevance | path

Searched refs:LOCAL_MIN (Results 1 – 10 of 10) sorted by relevance

/freebsd/crypto/libecc/src/sig/
H A Dfuzzing_ecgdsa.c45 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 Dfuzzing_ecdsa.c46 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 Dfuzzing_ecrdsa.c87 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 Dbign_common.c644 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 Deckcdsa.h28 #define ECKCDSA_R_LEN(hsize, q_bit_len) LOCAL_MIN(hsize, BYTECEIL(q_bit_len))
/freebsd/crypto/libecc/include/libecc/utils/
H A Dutils.h165 #define LOCAL_MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
/freebsd/crypto/libecc/src/examples/basic/
H A Dcurve_ecdh.c79 #define CHECK_SIZE LOCAL_MIN(sizeof(Alice), sizeof(Bob))
/freebsd/crypto/libecc/src/nn/
H A Dnn_logical.c110 owlen = (u8)LOCAL_MIN(BIT_LEN_WORDS(cnt + blen), in nn_lshift()
/freebsd/crypto/libecc/src/arithmetic_tests/
H A Darithmetic_tests.c521 …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 Dec_self_tests_core.c889 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