|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectds.ov2.test.Bignats
public class Bignats
Central point for allocating all Bignat's
, Vector's
and RSA_exponent's
. Central
allocation and reuse in different protocols lowers the memory
consumption, especially of scare RAM.
Field Summary | |
---|---|
Vector |
base
Bases vector |
Vector |
base_factors
Base factors vector |
Bignat |
dr_1
First double-sized RAM Bignat. |
Vector |
exponent
Exponent vector |
Modulus |
modulus
Modulus without multiples. |
Modulus |
mult_modulus
Modulus with multiples. |
Bignat |
n_1
First long EEPROM Bignat. |
Bignat |
n_2
Second long EEPROM Bignat. |
Bignat |
r_1
First long RAM Bignat. |
Bignat |
r_2
Second long RAM Bignat. |
Bignat |
r_3
Third long RAM Bignat. |
Bignat |
r_4
Fourth long RAM Bignat. |
RSA_exponent |
rsa_exponent
RSA cipher instance for the normal computations. |
Bignat |
s_1
First short EEPROM Bignat. |
Bignat |
s_2
Second short EEPROM Bignat. |
RSA_exponent |
square_exp
RSA cipher instance for squaring. |
Constructor Summary | |
---|---|
Bignats(short short_bignat_size,
short long_bignat_size,
short double_bignat_size,
short max_vector_length)
Allocate all Bignat's , Vector's
and RSA_exponent's used in the test
applet. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Bignat n_1
public final Bignat n_2
public final Bignat s_1
public final Bignat s_2
public final Modulus modulus
public final Modulus mult_modulus
public final Bignat r_1
public final Bignat r_2
public final Bignat r_3
public final Bignat r_4
public final Bignat dr_1
public final Vector base
public final Vector exponent
public final Vector base_factors
public final RSA_exponent rsa_exponent
public final RSA_exponent square_exp
Bignat.squared_rsa_mult_2
,
Bignat.short_squared_rsa_mult_2
, Bignat.squared_rsa_mult_4
and
Bignat.short_squared_rsa_mult_4
Constructor Detail |
---|
public Bignats(short short_bignat_size, short long_bignat_size, short double_bignat_size, short max_vector_length)
Bignat's
, Vector's
and RSA_exponent's
used in the test
applet.
short_bignat_size
- size of the short Bignats in byteslong_bignat_size
- size of the long Bignats in bytesmax_vector_length
- maximal length of the bases and
exponent vectors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |