Home
last modified time | relevance | path

Searched refs:fp_cache (Results 1 – 9 of 9) sorted by relevance

/dports/security/dropbear/dropbear-2020.81/libtomcrypt/src/math/fp/
H A Dltc_ecc_fp_mulmod.c40 } fp_cache[FP_ENTRIES]; variable
580 if (fp_cache[x].lru_count < y && fp_cache[x].lock == 0) { in _find_hole()
600 fp_cache[z].g = NULL; in _find_hole()
644 fp_cache[idx].g = NULL; in _add_entry()
698 if ((mp_mulmod(fp_cache[idx].g->x, mu, modulus, fp_cache[idx].LUT[1]->x) != CRYPT_OK) || in _build_lut()
769 fp_cache[idx].mu = NULL; in _build_lut()
1309 fp_cache[x].lock = 0; in _ltc_ecc_fp_free_cache()
1370 fp_cache[idx].lock = lock; in ltc_ecc_fp_add_point()
1391 fp_cache[i].lock = lock; in ltc_ecc_fp_tablelock()
1446 if (fp_cache[i].g == NULL || fp_cache[i].lru_count < 2) { in ltc_ecc_fp_save_state()
[all …]
/dports/security/libtomcrypt/libtomcrypt-1.18.2/src/math/fp/
H A Dltc_ecc_fp_mulmod.c40 } fp_cache[FP_ENTRIES];
580 if (fp_cache[x].lru_count < y && fp_cache[x].lock == 0) {
600 fp_cache[z].g = NULL;
644 fp_cache[idx].g = NULL;
698 if ((mp_mulmod(fp_cache[idx].g->x, mu, modulus, fp_cache[idx].LUT[1]->x) != CRYPT_OK) ||
769 fp_cache[idx].mu = NULL;
1309 fp_cache[x].lock = 0;
1370 fp_cache[idx].lock = lock;
1391 fp_cache[i].lock = lock;
1446 if (fp_cache[i].g == NULL || fp_cache[i].lru_count < 2) {
[all …]
/dports/security/p5-CryptX/CryptX-0.075/src/ltc/math/fp/
H A Dltc_ecc_fp_mulmod.c34 } fp_cache[FP_ENTRIES]; variable
574 if (fp_cache[x].lru_count < y && fp_cache[x].lock == 0) { in s_find_hole()
594 fp_cache[z].g = NULL; in s_find_hole()
638 fp_cache[idx].g = NULL; in s_add_entry()
692 if ((mp_mulmod(fp_cache[idx].g->x, mu, modulus, fp_cache[idx].LUT[1]->x) != CRYPT_OK) || in s_build_lut()
763 fp_cache[idx].mu = NULL; in s_build_lut()
1306 fp_cache[x].lock = 0; in s_ltc_ecc_fp_free_cache()
1367 fp_cache[idx].lock = lock; in ltc_ecc_fp_add_point()
1388 fp_cache[i].lock = lock; in ltc_ecc_fp_tablelock()
1443 if (fp_cache[i].g == NULL || fp_cache[i].lru_count < 2) { in ltc_ecc_fp_save_state()
[all …]
/dports/security/wolfssl/wolfssl-5.1.0/wolfcrypt/src/
H A Decc.c10449 if (fp_cache[x].lru_count < y && fp_cache[x].lock == 0) { in find_hole()
10466 fp_cache[z].g = NULL; in find_hole()
10471 fp_cache[z].LUT_set = 0; in find_hole()
10511 fp_cache[idx].g = NULL; in add_entry()
10529 fp_cache[idx].LUT_set = 0; in add_entry()
10530 fp_cache[idx].lru_count = 0; in add_entry()
11216 if (idx1 >= 0 && fp_cache[idx1].lru_count >= 2 && !fp_cache[idx1].LUT_set) { in ecc_mul2add()
11233 if (idx2 >= 0 && fp_cache[idx2].lru_count >= 2 && !fp_cache[idx2].LUT_set) { in ecc_mul2add()
11358 if (idx >= 0 && fp_cache[idx].lru_count >= 2 && !fp_cache[idx].LUT_set) { in wc_ecc_mulmod_ex()
11510 if (idx >= 0 && fp_cache[idx].lru_count >= 2 && !fp_cache[idx].LUT_set) { in wc_ecc_mulmod_ex2()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Decc.c10449 if (fp_cache[x].lru_count < y && fp_cache[x].lock == 0) { in find_hole()
10466 fp_cache[z].g = NULL; in find_hole()
10471 fp_cache[z].LUT_set = 0; in find_hole()
10511 fp_cache[idx].g = NULL; in add_entry()
10529 fp_cache[idx].LUT_set = 0; in add_entry()
10530 fp_cache[idx].lru_count = 0; in add_entry()
11216 if (idx1 >= 0 && fp_cache[idx1].lru_count >= 2 && !fp_cache[idx1].LUT_set) { in ecc_mul2add()
11233 if (idx2 >= 0 && fp_cache[idx2].lru_count >= 2 && !fp_cache[idx2].LUT_set) { in ecc_mul2add()
11358 if (idx >= 0 && fp_cache[idx].lru_count >= 2 && !fp_cache[idx].LUT_set) { in wc_ecc_mulmod_ex()
11510 if (idx >= 0 && fp_cache[idx].lru_count >= 2 && !fp_cache[idx].LUT_set) { in wc_ecc_mulmod_ex2()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Decc.c10449 if (fp_cache[x].lru_count < y && fp_cache[x].lock == 0) { in find_hole()
10466 fp_cache[z].g = NULL; in find_hole()
10471 fp_cache[z].LUT_set = 0; in find_hole()
10511 fp_cache[idx].g = NULL; in add_entry()
10529 fp_cache[idx].LUT_set = 0; in add_entry()
10530 fp_cache[idx].lru_count = 0; in add_entry()
11216 if (idx1 >= 0 && fp_cache[idx1].lru_count >= 2 && !fp_cache[idx1].LUT_set) { in ecc_mul2add()
11233 if (idx2 >= 0 && fp_cache[idx2].lru_count >= 2 && !fp_cache[idx2].LUT_set) { in ecc_mul2add()
11358 if (idx >= 0 && fp_cache[idx].lru_count >= 2 && !fp_cache[idx].LUT_set) { in wc_ecc_mulmod_ex()
11510 if (idx >= 0 && fp_cache[idx].lru_count >= 2 && !fp_cache[idx].LUT_set) { in wc_ecc_mulmod_ex2()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Decc.c10449 if (fp_cache[x].lru_count < y && fp_cache[x].lock == 0) { in find_hole()
10466 fp_cache[z].g = NULL; in find_hole()
10471 fp_cache[z].LUT_set = 0; in find_hole()
10511 fp_cache[idx].g = NULL; in add_entry()
10529 fp_cache[idx].LUT_set = 0; in add_entry()
10530 fp_cache[idx].lru_count = 0; in add_entry()
11216 if (idx1 >= 0 && fp_cache[idx1].lru_count >= 2 && !fp_cache[idx1].LUT_set) { in ecc_mul2add()
11233 if (idx2 >= 0 && fp_cache[idx2].lru_count >= 2 && !fp_cache[idx2].LUT_set) { in ecc_mul2add()
11358 if (idx >= 0 && fp_cache[idx].lru_count >= 2 && !fp_cache[idx].LUT_set) { in wc_ecc_mulmod_ex()
11510 if (idx >= 0 && fp_cache[idx].lru_count >= 2 && !fp_cache[idx].LUT_set) { in wc_ecc_mulmod_ex2()
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Decc.c10449 if (fp_cache[x].lru_count < y && fp_cache[x].lock == 0) { in find_hole()
10466 fp_cache[z].g = NULL; in find_hole()
10471 fp_cache[z].LUT_set = 0; in find_hole()
10511 fp_cache[idx].g = NULL; in add_entry()
10529 fp_cache[idx].LUT_set = 0; in add_entry()
10530 fp_cache[idx].lru_count = 0; in add_entry()
11216 if (idx1 >= 0 && fp_cache[idx1].lru_count >= 2 && !fp_cache[idx1].LUT_set) { in ecc_mul2add()
11233 if (idx2 >= 0 && fp_cache[idx2].lru_count >= 2 && !fp_cache[idx2].LUT_set) { in ecc_mul2add()
11358 if (idx >= 0 && fp_cache[idx].lru_count >= 2 && !fp_cache[idx].LUT_set) { in wc_ecc_mulmod_ex()
11510 if (idx >= 0 && fp_cache[idx].lru_count >= 2 && !fp_cache[idx].LUT_set) { in wc_ecc_mulmod_ex2()
[all …]
/dports/sysutils/libdnf/libdnf-0.64.0/libdnf/
H A Ddnf-sack.cpp675 FILE *fp_cache = fopen(fn_cache, "r"); in load_yum_repo() local
696 if (can_use_repomd_cache(fp_cache, repoImpl->checksum)) { in load_yum_repo()
699 if (repo_add_solv(repo, fp_cache, 0)) { in load_yum_repo()
736 if (fp_cache) in load_yum_repo()
737 fclose(fp_cache); in load_yum_repo()