Home
last modified time | relevance | path

Searched refs:rho (Results 1 – 25 of 53) sorted by relevance

123

/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/
H A Dkeypair_generator.c118 bi_ptr rho = NULL; in generate_key_pair() local
240 rho = bi_new_ptr(); in generate_key_pair()
244 bi_generate_prime(rho, DAA_PARAM_SIZE_RHO); in generate_key_pair()
245 if (bi_length(rho) != DAA_PARAM_SIZE_RHO) { in generate_key_pair()
246 LogError("rho bit length=%ld", bi_length(rho)); in generate_key_pair()
255 } while(bi_length(r) != length || bi_equals_si(bi_mod(bi_tmp, r, rho), 0)); in generate_key_pair()
258 bi_mul( capital_gamma, rho, r); in generate_key_pair()
273 bi_mod(bi_tmp1, bi_mul(bi_tmp2, rho, r), n)) == 0) { in generate_key_pair()
278 if (bi_equals(bi_div(bi_tmp, bi_sub_si(bi_tmp1, capital_gamma, 1), rho), r ) == 0) { in generate_key_pair()
298 capital_gamma, rho, capitalRReceiver, capitalRIssuer, in generate_key_pair()
[all …]
H A Dkey_correctness_proof.c210 if( !bi_is_probable_prime( public_key->rho)) { in is_pk_correct()
212 bi_2_hex_char( public_key->rho)); in is_pk_correct()
218 public_key->rho), in is_pk_correct()
226 public_key->rho, in is_pk_correct()
237 public_key->rho, in is_pk_correct()
270 if( bi_nbin_size( public_key->rho) * 8 != DAA_PARAM_SIZE_RHO) { in is_pk_correct()
272 bi_nbin_size( public_key->rho) * 8, in is_pk_correct()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
H A Dbn_mp_montgomery_reduce.c22 mp_montgomery_reduce (mp_int * x, mp_int * n, mp_digit rho) in mp_montgomery_reduce() argument
37 return fast_mp_montgomery_reduce (x, n, rho); in mp_montgomery_reduce()
57 mu = (mp_digit) (((mp_word)x->dp[ix]) * ((mp_word)rho) & MP_MASK); in mp_montgomery_reduce()
H A Dbn_mp_montgomery_setup.c22 mp_montgomery_setup (mp_int * n, mp_digit * rho) in mp_montgomery_setup() argument
53 *rho = (unsigned long)(((mp_word)1 << ((mp_word) DIGIT_BIT)) - x) & MP_MASK; in mp_montgomery_setup()
H A Dbn_fast_mp_montgomery_reduce.c28 int fast_mp_montgomery_reduce (mp_int * x, mp_int * n, mp_digit rho) in fast_mp_montgomery_reduce() argument
78 mu = (mp_digit) (((W[ix] & MP_MASK) * rho) & MP_MASK); in fast_mp_montgomery_reduce()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/
H A Dtsp_daa.c56 Trspi_LoadBlob(offset, pk->rhoLength, blob, pk->rho); in Trspi_LoadBlob_DAA_PK()
148 if ((pk->rho = malloc(pk->rhoLength)) == NULL) in Trspi_UnloadBlob_DAA_PK()
151 Trspi_UnloadBlob(offset, pk->rhoLength, blob, pk->rho); in Trspi_UnloadBlob_DAA_PK()
153 pk->rho = NULL; in Trspi_UnloadBlob_DAA_PK()
195 free(pk->rho); in Trspi_UnloadBlob_DAA_PK()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/
H A Ddaa_structs.c449 const bi_ptr rho, in create_DAA_PK() argument
466 pk_internal->rho = rho; in create_DAA_PK()
498 BI_SAVE( pk_internal->rho, file);
534 pk_internal->rho = bi_new_ptr();
535 BI_LOAD( pk_internal->rho, file);
563 DUMP_BI( pk_internal->rho); in dump_DAA_PK_internal()
632 bi_2_byte_array( &result[index], length, pk->rho); in encoded_DAA_PK_internal()
679 STORE_DAA_PK_BI( rho, daa_alloc, param_alloc); in i_2_e_TSS_DAA_PK()
738 pk_internal->rho = get_bi(pk->rhoLength, pk->rho); in e_2_i_TSS_DAA_PK()
781 bi_free_ptr( pk_internal->rho); in free_TSS_DAA_PK_internal()
[all …]
H A Ddaa_debug.c45 BI_SAVE( pk_internal->rho, file); in save_DAA_PK_internal()
81 pk_internal->rho = bi_new_ptr(); in load_DAA_PK_internal()
82 BI_LOAD( pk_internal->rho, file); in load_DAA_PK_internal()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_anonymityrevocation/
H A Dcsencryption_result.c157 bi_mod( exp, exp, daa_key->rho); in internal_compute_encryption_proof()
196 if( bi_cmp( randomness, daa_key->rho) >=0 || bi_cmp_si( randomness, 0) < 0) { in compute_ecryption_proof()
198 bi_2_dec_char( randomness), bi_2_dec_char( daa_key->rho)); in compute_ecryption_proof()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/
H A Dverifier_transaction.c101 bi_ptr rho = issuer_pk->rho; in project_into_group_gamma() local
105 rho == NULL || in project_into_group_gamma()
110 bi_div( exponent, exponent, rho); in project_into_group_gamma()
113 bi_nbin_size( rho), bi_2_hex_char( rho)); in project_into_group_gamma()
375 issuer_pk->rho, in is_element_gamma()
592 if( bi_cmp( commitments[j].sMu, issuer_pk->rho) >= 0 || in Tspi_DAA_VerifySignature_internal()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bn/
H A Dbn_gf2m.c987 BIGNUM *a, *z, *rho, *w, *w2, *tmp; in BN_GF2m_mod_solve_quad_arr() local
1028 rho = BN_CTX_get(ctx); in BN_GF2m_mod_solve_quad_arr()
1034 if (!BN_priv_rand(rho, p[0], BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) in BN_GF2m_mod_solve_quad_arr()
1036 if (!BN_GF2m_mod_arr(rho, rho, p)) in BN_GF2m_mod_solve_quad_arr()
1039 if (!BN_copy(w, rho)) in BN_GF2m_mod_solve_quad_arr()
1050 if (!BN_GF2m_add(w, w2, rho)) in BN_GF2m_mod_solve_quad_arr()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/bn/
H A Dbn_gf2m.c1012 BIGNUM *a, *z, *rho, *w, *w2, *tmp; in BN_GF2m_mod_solve_quad_arr() local
1053 rho = BN_CTX_get(ctx); in BN_GF2m_mod_solve_quad_arr()
1059 if (!BN_priv_rand_ex(rho, p[0], BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY, in BN_GF2m_mod_solve_quad_arr()
1062 if (!BN_GF2m_mod_arr(rho, rho, p)) in BN_GF2m_mod_solve_quad_arr()
1065 if (!BN_copy(w, rho)) in BN_GF2m_mod_solve_quad_arr()
1076 if (!BN_GF2m_add(w, w2, rho)) in BN_GF2m_mod_solve_quad_arr()
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/daa/
H A Ddaa_structs.h137 bi_ptr rho; member
156 const bi_ptr rho,
/netbsd-src/external/gpl2/groff/dist/src/preproc/pic/
H A Dcommon.cpp105 double rho = sqrt(temp / a_4 / b_4 * temp / a_4 / b_4 * temp); in ellipse_arc() local
112 position M0 = position(rho * cos(phi0), rho * sin(phi0)) + M; in ellipse_arc()
113 position M1 = position(rho * cos(phi1), rho * sin(phi1)) + M; in ellipse_arc()
117 solid_arc(M + cent, rho, phi0, phi1, lt); in ellipse_arc()
/netbsd-src/external/gpl2/groff/dist/font/devps/generate/
H A Dlgreekmap23 rho *r
H A Dsymbolchars57 rho *r
/netbsd-src/external/gpl2/groff/dist/font/devps/
H A DSS89 *r 489,444,205,82,69,82 3 114 rho
H A DS97 *r 549,499,230 3 114 rho
H A Dsymbolmap434 rho *r
/netbsd-src/share/doc/usd/17.msmacros/
H A Drefcard.bad416 \&is found with the transformation $ x = rho over
417 \&theta $ where $ rho = G prime (x) $ and $theta$
520 $ x = rho over theta $ where $ rho = G prime ( x )$
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DCommentHTMLNamedCharacterReferences.td135 def : NCR<"rho", 0x003C1>;
/netbsd-src/crypto/external/bsd/netpgp/dist/src/libbn/
H A Dbignum.c3584 mp_montgomery_setup (mp_int * n, mp_digit * rho) in mp_montgomery_setup() argument
3611 *rho = (unsigned long)(((mp_word)1 << ((mp_word) DIGIT_BIT)) - x) & MP_MASK; in mp_montgomery_setup()
3629 fast_mp_montgomery_reduce (mp_int * x, mp_int * n, mp_digit rho) in fast_mp_montgomery_reduce() argument
3680 mu = (mp_digit) (((W[ix] & MP_MASK) * rho) & MP_MASK); in fast_mp_montgomery_reduce()
3779 mp_montgomery_reduce (mp_int * x, mp_int * n, mp_digit rho) in mp_montgomery_reduce() argument
3794 return fast_mp_montgomery_reduce (x, n, rho); in mp_montgomery_reduce()
3814 mu = (mp_digit) (((mp_word)x->dp[ix]) * ((mp_word)rho) & MP_MASK); in mp_montgomery_reduce()
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/tss/
H A Dtss_structs.h181 BYTE* rho;
/netbsd-src/sbin/nvmectl/
H A Dbignum.c3544 mp_montgomery_setup(mp_int * n, mp_digit * rho) in mp_montgomery_setup() argument
3571 *rho = (unsigned long)(((mp_word)1 << ((mp_word) DIGIT_BIT)) - x) & MP_MASK; in mp_montgomery_setup()
3589 fast_mp_montgomery_reduce(mp_int * x, mp_int * n, mp_digit rho) in fast_mp_montgomery_reduce() argument
3640 mu = (mp_digit) (((W[ix] & MP_MASK) * rho) & MP_MASK); in fast_mp_montgomery_reduce()
3739 mp_montgomery_reduce(mp_int * x, mp_int * n, mp_digit rho) in mp_montgomery_reduce() argument
3752 return fast_mp_montgomery_reduce(x, n, rho); in mp_montgomery_reduce()
3772 mu = (mp_digit) (((mp_word)x->dp[ix]) * ((mp_word)rho) & MP_MASK); in mp_montgomery_reduce()
/netbsd-src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
H A Dbignum.c3567 mp_montgomery_setup(mp_int * n, mp_digit * rho) in mp_montgomery_setup() argument
3594 *rho = (unsigned long)(((mp_word)1 << ((mp_word) DIGIT_BIT)) - x) & MP_MASK; in mp_montgomery_setup()
3612 fast_mp_montgomery_reduce(mp_int * x, mp_int * n, mp_digit rho) in fast_mp_montgomery_reduce() argument
3663 mu = (mp_digit) (((W[ix] & MP_MASK) * rho) & MP_MASK); in fast_mp_montgomery_reduce()
3762 mp_montgomery_reduce(mp_int * x, mp_int * n, mp_digit rho) in mp_montgomery_reduce() argument
3775 return fast_mp_montgomery_reduce(x, n, rho); in mp_montgomery_reduce()
3795 mu = (mp_digit) (((mp_word)x->dp[ix]) * ((mp_word)rho) & MP_MASK); in mp_montgomery_reduce()

123