Uses of Class
ds.ov2.bignat.Host_modulus

Packages that use Host_modulus
ds.ov2.bignat Big integer library for Java Card, including a test frame. 
ds.ov2.front Frontoffice code for applet and host side, including a test frame. 
ds.ov2.test Test applet for OV-chip protocol layer and for ds.ov2.bignat functionality. 
 

Uses of Host_modulus in ds.ov2.bignat
 

Methods in ds.ov2.bignat with parameters of type Host_modulus
static Host_vector Host_vector.make_montgomerized_factors(int bignat_size, BigInteger[] args, Host_modulus mod)
          Make montgomerized base factors for Vector.exponent_mod.
static Host_vector Host_vector.make_montgomerized_vector(int bignat_size, BigInteger[] args, Host_modulus mod)
          Constructor for sending montgomerized numbers to the card.
static Host_vector Host_vector.make_montgomery_corrections(int bignat_size, int len, Host_modulus mod)
          Make Montgomery corrections.
 

Uses of Host_modulus in ds.ov2.front
 

Fields in ds.ov2.front declared as Host_modulus
 Host_modulus RSA_card_debug_stubs.Get_result.data_n
          Return value data.n converted from Modulus.
 Host_modulus RSA_card_debug_test_stubs.Get_result.data_n
          Return value data.n converted from Modulus.
 Host_modulus PTLS_rsa_parameters.hmod
          The RSA modulus wrapped in a host modulus that contains (de-)montgomerization factors as well.
 

Methods in ds.ov2.front with parameters of type Host_modulus
 void RSA_card_protocol_test_stubs.init_data_call(CardChannel _cc, Host_modulus _data_n_host_arg, BigInteger _data_ptls_key_host_arg, Host_vector _data_bases_host_arg, Host_vector _data_base_factors_host_arg, Host_vector _data_current_attributes_host_arg, BigInteger _data_montgomerized_one_host_arg, Host_vector _data_montgomery_corrections_host_arg)
          Call step init_data of protocol initialize in the test environment.
 void RSA_card_protocol_stubs.init_data_call(CardChannel _cc, Host_modulus _data_n_host_arg, BigInteger _data_ptls_key_host_arg, Host_vector _data_bases_host_arg, Host_vector _data_base_factors_host_arg, Host_vector _data_current_attributes_host_arg, BigInteger _data_montgomerized_one_host_arg, Host_vector _data_montgomery_corrections_host_arg)
          Call step init_data of protocol initialize on the card.
 

Constructors in ds.ov2.front with parameters of type Host_modulus
RSA_card_debug_stubs.Get_result(byte a0, Host_modulus a1, BigInteger a2, BigInteger a3, Host_vector a4, Host_vector a5, Host_vector a6, BigInteger a7, BigInteger a8, BigInteger a9, BigInteger a10, Host_signature a11, Host_signature a12, Host_vector a13)
          Return record constructor.
RSA_card_debug_test_stubs.Get_result(byte a0, Host_modulus a1, BigInteger a2, BigInteger a3, Host_vector a4, Host_vector a5, Host_vector a6, BigInteger a7, BigInteger a8, BigInteger a9, BigInteger a10, Host_signature a11, Host_signature a12, Host_vector a13)
          Return record constructor.
 

Uses of Host_modulus in ds.ov2.test
 

Methods in ds.ov2.test with parameters of type Host_modulus
 Performance_mult_host.Mult_call_result Performance_mult_host.card_demontgomerize(BigInteger bi, Host_modulus m, int rounds_1, int rounds_2)
          Run the demontgomerize protocol (Demontgomerize a number on the card).
 Performance_mult_host.Mult_call_result Performance_mult_host.card_mont_mult(BigInteger f1, BigInteger f2, Host_modulus m, int rounds_1, int rounds_2)
          Run the mont_mult protocol (Montgomery multiplication on the card).
 Performance_mult_host.Mult_call_result Performance_mult_host.card_short_sq_4_mult(BigInteger f1, BigInteger f2, Host_modulus m)
          Run the short squared 4 mult protocol (Bignat.short_squared_rsa_mult_4).
 Performance_mult_host.Mult_call_result Performance_mult_host.card_short_sq_mult(BigInteger f1, BigInteger f2, Host_modulus m, int rounds_1, int rounds_2)
          Run the short squared mult protocol (Bignat.short_squared_rsa_mult_2).
 Performance_mult_host.Mult_call_result Performance_mult_host.card_sq_mult_4(BigInteger f1, BigInteger f2, Host_modulus mod)
          Run the squared 4 mult protocol (Bignat.squared_rsa_mult_4).
 Performance_mult_host.Mult_call_result Performance_mult_host.card_sq_mult(BigInteger f1, BigInteger f2, Host_modulus m, int rounds_1, int rounds_2)
          Run the squared mult protocol (Bignat.squared_rsa_mult_2).
 Exponent_perf_host.Exp_call_result Exponent_perf_host.card_vector_exp(Host_vector base, Host_vector exponent, Host_modulus modulus, int base_factor_size, Host_vector base_factors, BigInteger one_or_correction, Exponent_perf_host.Vector_exponent_variant variant, boolean keep_modulus)
          Run the complete vector exponent protocol.
 void Bignat_protocols_stubs.demont_init_call(CardChannel _cc, BigInteger _bignats_r_1_host_arg, Host_modulus _bignats_modulus_host_arg)
          Call step demont_init of protocol demontgomerize on the card.
 void Bignat_protocols_test_stubs.demont_init_call(CardChannel _cc, BigInteger _bignats_r_1_host_arg, Host_modulus _bignats_modulus_host_arg)
          Call step demont_init of protocol demontgomerize in the test environment.
 void Bignat_protocols_stubs.mont_mult_init_call(CardChannel _cc, BigInteger _bignats_n_1_host_arg, BigInteger _bignats_n_2_host_arg, Host_modulus _bignats_modulus_host_arg)
          Call step mont_mult_init of protocol mont_mult on the card.
 void Bignat_protocols_test_stubs.mont_mult_init_call(CardChannel _cc, BigInteger _bignats_n_1_host_arg, BigInteger _bignats_n_2_host_arg, Host_modulus _bignats_modulus_host_arg)
          Call step mont_mult_init of protocol mont_mult in the test environment.
 void Bignat_protocols_stubs.short_sq_4_mult_init_call(CardChannel _cc, BigInteger _bignats_s_1_host_arg, BigInteger _bignats_s_2_host_arg, Host_modulus _bignats_modulus_host_arg)
          Call step short_sq_4_mult_init of protocol short_square_4_mult on the card.
 void Bignat_protocols_test_stubs.short_sq_4_mult_init_call(CardChannel _cc, BigInteger _bignats_s_1_host_arg, BigInteger _bignats_s_2_host_arg, Host_modulus _bignats_modulus_host_arg)
          Call step short_sq_4_mult_init of protocol short_square_4_mult in the test environment.
 void Bignat_protocols_stubs.short_sq_mult_init_call(CardChannel _cc, BigInteger _bignats_s_1_host_arg, BigInteger _bignats_s_2_host_arg, Host_modulus _bignats_modulus_host_arg)
          Call step short_sq_mult_init of protocol short_squared_mult on the card.
 void Bignat_protocols_test_stubs.short_sq_mult_init_call(CardChannel _cc, BigInteger _bignats_s_1_host_arg, BigInteger _bignats_s_2_host_arg, Host_modulus _bignats_modulus_host_arg)
          Call step short_sq_mult_init of protocol short_squared_mult in the test environment.
 void Bignat_protocols_stubs.sq_mult_4_init_call(CardChannel _cc, BigInteger _bignats_r_1_host_arg, BigInteger _bignats_r_2_host_arg, Host_modulus _bignats_mult_modulus_host_arg)
          Call step sq_mult_4_init of protocol squared_mult_4 on the card.
 void Bignat_protocols_test_stubs.sq_mult_4_init_call(CardChannel _cc, BigInteger _bignats_r_1_host_arg, BigInteger _bignats_r_2_host_arg, Host_modulus _bignats_mult_modulus_host_arg)
          Call step sq_mult_4_init of protocol squared_mult_4 in the test environment.
 void Bignat_protocols_stubs.sq_mult_init_call(CardChannel _cc, BigInteger _bignats_n_1_host_arg, BigInteger _bignats_n_2_host_arg, Host_modulus _bignats_modulus_host_arg)
          Call step sq_mult_init of protocol squared_mult on the card.
 void Bignat_protocols_test_stubs.sq_mult_init_call(CardChannel _cc, BigInteger _bignats_n_1_host_arg, BigInteger _bignats_n_2_host_arg, Host_modulus _bignats_modulus_host_arg)
          Call step sq_mult_init of protocol squared_mult in the test environment.
 void Exponent_perf_test_stubs.vector_exp_init_call(CardChannel _cc, Host_vector _bignats_base_host_arg, Host_vector _bignats_exponent_host_arg, Host_modulus _vec_exp_modulus_host_arg, int _n1_host_arg, Host_vector _bignats_base_factors_host_arg, BigInteger _one_or_correction_host_arg, boolean _keep_modulus_host_arg)
          Call step vector_exp_init of protocol Vector_exp in the test environment.
 void Exponent_perf_stubs.vector_exp_init_call(CardChannel _cc, Host_vector _bignats_base_host_arg, Host_vector _bignats_exponent_host_arg, Host_modulus _vec_exp_modulus_host_arg, int _n1_host_arg, Host_vector _bignats_base_factors_host_arg, BigInteger _one_or_correction_host_arg, boolean _keep_modulus_host_arg)
          Call step vector_exp_init of protocol Vector_exp on the card.