os/security/crypto/weakcrypto/test/tbigint/scripts/tmontgomerytests.txt
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 <action>
     2 	<actionname>Montgomery Multiplication Vector Test #1</actionname>
     3 	<actiontype>MontgomeryVector</actiontype>
     4 	<actionbody>
     5 		<a>16A0</a>
     6 		<b>04CD</b>
     7 		<modulus>011BBF</modulus>
     8 		<ans>011AC1</ans>
     9 		<op>multiply</op>
    10 	</actionbody>
    11 	<actionresult>
    12 		<return>KErrNone</return>
    13 	</actionresult>
    14 </action>
    15 <action>
    16 	<actionname>Montgomery Reduce Vector Test #1</actionname>
    17 	<actiontype>MontgomeryVector</actiontype>
    18 	<actionbody>
    19 		<a>6C9E20</a>
    20 		<modulus>011BBF</modulus>
    21 		<ans>011AC1</ans>
    22 		<op>reduce</op>
    23 	</actionbody>
    24 	<actionresult>
    25 		<return>KErrNone</return>
    26 	</actionresult>
    27 </action>
    28 <action>
    29 	<actionname>Montgomery Square Vector Test #1</actionname>
    30 	<actiontype>MontgomeryVector</actiontype>
    31 	<actionbody>
    32 		<a>6C9E20</a>
    33 		<modulus>011BBF</modulus>
    34 		<ans>FC04</ans>
    35 		<op>square</op>
    36 	</actionbody>
    37 	<actionresult>
    38 		<return>KErrNone</return>
    39 	</actionresult>
    40 </action>
    41 <action>
    42 	<actionname>Montgomery Exponentiation Vector Test #1</actionname>
    43 	<actiontype>MontgomeryVector</actiontype>
    44 	<actionbody>
    45 		<a>16A0</a>
    46 		<b>04CD</b>
    47 		<modulus>011BBF</modulus>
    48 		<ans>70A6</ans>
    49 		<op>exponentiate</op>
    50 	</actionbody>
    51 	<actionresult>
    52 		<return>KErrNone</return>
    53 	</actionresult>
    54 </action>
    55 <action>
    56 	<actionname>Montgomery Exponentiation Vector Test #2</actionname>
    57 	<actiontype>MontgomeryVector</actiontype>
    58 	<actionbody>
    59 		<a>125C881E</a>
    60 		<b>B009377B</b>
    61 		<modulus>0160126EF7</modulus>
    62 		<ans>0160126EF6</ans>
    63 		<op>exponentiate</op>
    64 	</actionbody>
    65 	<actionresult>
    66 		<return>KErrNone</return>
    67 	</actionresult>
    68 </action>
    69 <action>
    70 	<actionname>Montgomery Exponentiation Forward Backward test</actionname>
    71 	<actiontype>MontgomeryFB</actiontype>
    72 	<actionbody>
    73 		<bits>0200</bits>
    74 	</actionbody>
    75 	<actionresult>
    76 		<return>KErrNone</return>
    77 	</actionresult>
    78 </action>
    79 <action>
    80 	<actionname>OOM start</actionname>
    81 	<actiontype>startmemfailure</actiontype>
    82 	<actionbody></actionbody>
    83 	<actionresult>
    84 		<return>KErrNone</return>
    85 	</actionresult>
    86 </action>
    87 <action>
    88 	<actionname>Montgomery Multiplication Vector Test #1</actionname>
    89 	<actiontype>MontgomeryVector</actiontype>
    90 	<actionbody>
    91 		<a>16A0</a>
    92 		<b>04CD</b>
    93 		<modulus>011BBF</modulus>
    94 		<ans>011AC1</ans>
    95 		<op>multiply</op>
    96 	</actionbody>
    97 	<actionresult>
    98 		<return>KErrNone</return>
    99 	</actionresult>
   100 </action>
   101 <action>
   102 	<actionname>Montgomery Reduce Vector Test #1</actionname>
   103 	<actiontype>MontgomeryVector</actiontype>
   104 	<actionbody>
   105 		<a>6C9E20</a>
   106 		<modulus>011BBF</modulus>
   107 		<ans>011AC1</ans>
   108 		<op>reduce</op>
   109 	</actionbody>
   110 	<actionresult>
   111 		<return>KErrNone</return>
   112 	</actionresult>
   113 </action>
   114 <action>
   115 	<actionname>Montgomery Square Vector Test #1</actionname>
   116 	<actiontype>MontgomeryVector</actiontype>
   117 	<actionbody>
   118 		<a>6C9E20</a>
   119 		<modulus>011BBF</modulus>
   120 		<ans>FC04</ans>
   121 		<op>square</op>
   122 	</actionbody>
   123 	<actionresult>
   124 		<return>KErrNone</return>
   125 	</actionresult>
   126 </action>
   127 <action>
   128 	<actionname>Montgomery Exponentiation Vector Test #2</actionname>
   129 	<actiontype>MontgomeryVector</actiontype>
   130 	<actionbody>
   131 		<a>125C881E</a>
   132 		<b>B009377B</b>
   133 		<modulus>0160126EF7</modulus>
   134 		<ans>0160126EF6</ans>
   135 		<op>exponentiate</op>
   136 	</actionbody>
   137 	<actionresult>
   138 		<return>KErrNone</return>
   139 	</actionresult>
   140 </action>
   141 <action>
   142 	<actionname>OOM end</actionname>
   143 	<actiontype>stopmemfailure</actiontype>
   144 	<actionbody></actionbody>
   145 	<actionresult>
   146 		<return>KErrNone</return>
   147 	</actionresult>
   148 </action>