|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Exponent_perf_host.Vector_exponent_variant>
ds.ov2.test.Exponent_perf_host.Vector_exponent_variant
public static enum Exponent_perf_host.Vector_exponent_variant
Enumeration for the different multi-power implementations.
Enum Constant Summary | |
---|---|
MONT_RSA
RSA power and Montgomery for multiplication, Vector.mont_rsa_exponent_mod |
|
PURE_JAVA
Pure Java, Montgomery multiplication used everywhere, Vector.exponent_mod . |
|
SQUARED_RSA
RSA power and sqared RSA multiplication, Vector.squared_rsa_exponent_mod |
Method Summary | |
---|---|
short |
to_short()
Convert this enumeration value into a short, to be used on the card. |
static Exponent_perf_host.Vector_exponent_variant |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Exponent_perf_host.Vector_exponent_variant[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Exponent_perf_host.Vector_exponent_variant PURE_JAVA
Vector.exponent_mod
.
public static final Exponent_perf_host.Vector_exponent_variant MONT_RSA
Vector.mont_rsa_exponent_mod
public static final Exponent_perf_host.Vector_exponent_variant SQUARED_RSA
Vector.squared_rsa_exponent_mod
Method Detail |
---|
public static Exponent_perf_host.Vector_exponent_variant[] values()
for (Exponent_perf_host.Vector_exponent_variant c : Exponent_perf_host.Vector_exponent_variant.values()) System.out.println(c);
public static Exponent_perf_host.Vector_exponent_variant valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic short to_short()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |