Home
last modified time | relevance | path

Searched refs:WORDSIZE (Results 1 – 19 of 19) sorted by relevance

/freebsd/crypto/libecc/include/libecc/words/
H A Dwords.h33 #if defined(WORDSIZE)
35 #if (WORDSIZE == 16) || (WORDSIZE == 32) || (WORDSIZE == 64)
37 #include concat(words_, WORDSIZE)
59 #define WORDSIZE 64 macro
H A Dtypes.h122 #if(WORDSIZE == 16)
/freebsd/crypto/libecc/include/libecc/nn/
H A Dnn_config.h186 WORDSIZE, MAX_DIGEST_SIZE) (void);
189 wordsize, WORDSIZE, MAX_DIGEST_SIZE) (void) { in LIBECC_CONCATENATE() argument
196 WORDSIZE, MAX_DIGEST_SIZE) (); in nn_check_libconsistency()
204 WORDSIZE, complete_formulas, MAX_DIGEST_SIZE) (void);
207 wordsize, WORDSIZE, complete_formulas, MAX_DIGEST_SIZE) (void) { in LIBECC_CONCATENATE() argument
214 WORDSIZE, complete_formulas, MAX_DIGEST_SIZE) (); in nn_check_libconsistency()
/freebsd/contrib/byacc/
H A Dclosure.c27 rowsize = WORDSIZE(nvars); in set_EFF()
66 rulesetsize = WORDSIZE(nrules); in set_first_derives()
67 varsetsize = WORDSIZE(nvars); in set_first_derives()
120 rulesetsize = WORDSIZE(nrules); in closure()
205 rowp = EFF + ((i - start_symbol) * WORDSIZE(nvars)); in print_EFF()
237 rp = first_derives + (i - ntokens) * WORDSIZE(nrules); in print_first_derives()
H A Dwarshall.c17 rowsize = WORDSIZE(n); in transitive_closure()
66 rowsize = WORDSIZE(n); in reflexive_transitive_closure()
H A Dgraph.c96 tokensetsize = (unsigned)WORDSIZE(ntokens); in graph_LA()
H A Dmkpar.c114 tokensetsize = WORDSIZE(ntokens); in add_reductions()
H A Dlr0.c139 ruleset = NEW2(WORDSIZE(nrules), unsigned); in generate_states()
H A Ddefs.h70 #define WORDSIZE(n) (((n)+(BITS_PER_WORD-1))/BITS_PER_WORD) macro
H A Dlalr.c56 tokensetsize = WORDSIZE(ntokens); in lalr()
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/sparc64/
H A Ddivmod.m414 * WORDSIZE -- how many bits altogether we're talking about:
15 * obviously: define(WORDSIZE, 32) macro
18 * define(TOPBITS, eval( WORDSIZE - N*((WORDSIZE-1)/N) ) )
135 sethi %hi(1<<(WORDSIZE-TOPBITS-1)),T
/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()
/freebsd/crypto/libecc/src/nn/
H A Dnn.c33 #define NN_MAGIC ((word_t)((0xb4cf5d56e2023316ULL ^ (WORD(NN_MAX_WORD_LEN + WORDSIZE)))))
H A Dnn_div.c835 MUST_HAVE((p_rounded_bitlen >= (2 * WORDSIZE)), ret, err); in nn_compute_div_coefs()
842 …ret = nn_rshift(&tmp_nn, p_normalized, (bitcnt_t)(p_rounded_bitlen - (2 * WORDSIZE))); EG(ret, err… in nn_compute_div_coefs()
/freebsd/crypto/libecc/
H A DREADME.md426 * Overloading the `WORDSIZE` macro in [include/libecc/words/words.h](include/libecc/words/words.h).
427 * Overloading the `WORDSIZE` macro in the Makefile `CFLAGS`.
453 `WORDSIZE=64`, and one tries to compile the arithmetic tests with `WORDSIZE=32`, here is the error …
707 chosen WORDSIZE (16, 32, 64), the compilation options (optimization for space `-Os` or speed `-O3`)…
710 16 Kilo Bytes of RAM (stack), with the same variations depending on the WORDSIZE and the compilatio…
736 in poor performance with WORDSIZE=64 compared to WORDSIZE=32 (this might be explained by the callin…
920 * `WORDSIZE=`: this is a preprocessor flag defining libecc internal words size (16, 32, or 64). By …
1014 do it by overloading `WORDSIZE=16`: the Z80 is an 8-bit CPU, so it seems reasonable to fit the word
/freebsd/crypto/libecc/src/tests/
H A Dec_self_tests_core.c219 #if WORDSIZE == 16
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
/freebsd/crypto/libecc/src/arithmetic_tests/
H A Darithmetic_tests.c942 printf("%d %d\n", WORDSIZE, NN_MAX_BASE); in main()