/freebsd/crypto/libecc/include/libecc/words/ |
H A D | words.h | 33 #if defined(WORDSIZE) 35 #if (WORDSIZE == 16) || (WORDSIZE == 32) || (WORDSIZE == 64) 37 #include concat(words_, WORDSIZE) 59 #define WORDSIZE 64 macro
|
H A D | types.h | 122 #if(WORDSIZE == 16)
|
/freebsd/crypto/libecc/include/libecc/nn/ |
H A D | nn_config.h | 186 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 D | closure.c | 27 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 D | warshall.c | 17 rowsize = WORDSIZE(n); in transitive_closure() 66 rowsize = WORDSIZE(n); in reflexive_transitive_closure()
|
H A D | graph.c | 96 tokensetsize = (unsigned)WORDSIZE(ntokens); in graph_LA()
|
H A D | mkpar.c | 114 tokensetsize = WORDSIZE(ntokens); in add_reductions()
|
H A D | lr0.c | 139 ruleset = NEW2(WORDSIZE(nrules), unsigned); in generate_states()
|
H A D | defs.h | 70 #define WORDSIZE(n) (((n)+(BITS_PER_WORD-1))/BITS_PER_WORD) macro
|
H A D | lalr.c | 56 tokensetsize = WORDSIZE(ntokens); in lalr()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/sparc64/ |
H A D | divmod.m4 | 14 * 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 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()
|
/freebsd/crypto/libecc/src/nn/ |
H A D | nn.c | 33 #define NN_MAGIC ((word_t)((0xb4cf5d56e2023316ULL ^ (WORD(NN_MAX_WORD_LEN + WORDSIZE)))))
|
H A D | nn_div.c | 835 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 D | README.md | 426 * 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 D | ec_self_tests_core.c | 219 #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 D | arithmetic_tests.c | 942 printf("%d %d\n", WORDSIZE, NN_MAX_BASE); in main()
|