security/nss/lib/freebl/mpi/test-arrays.txt

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 #
     2 # Test suite table for MPI library
     3 #
     4 # Format of entries:
     5 # suite-name:function-name:description
     6 #
     7 # suite-name	The name used to identify this test in mpi-test
     8 # function-name	The function called to perform this test in mpi-test.c
     9 # description   A brief description of what the suite tests
    11 # This Source Code Form is subject to the terms of the Mozilla Public
    12 # License, v. 2.0. If a copy of the MPL was not distributed with this
    13 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
    15 list:test_list:print out a list of the available test suites
    16 copy:test_copy:test assignment of mp-int structures
    17 exchange:test_exch:test exchange of mp-int structures
    18 zero:test_zero:test zeroing of an mp-int
    19 set:test_set:test setting an mp-int to a small constant
    20 absolute-value:test_abs:test the absolute value function
    21 negate:test_neg:test the arithmetic negation function
    22 add-digit:test_add_d:test digit addition
    23 add:test_add:test full addition
    24 subtract-digit:test_sub_d:test digit subtraction
    25 subtract:test_sub:test full subtraction
    26 multiply-digit:test_mul_d:test digit multiplication
    27 multiply:test_mul:test full multiplication
    28 square:test_sqr:test full squaring function
    29 divide-digit:test_div_d:test digit division
    30 divide-2:test_div_2:test division by two
    31 divide-2d:test_div_2d:test division & remainder by 2^d
    32 divide:test_div:test full division
    33 expt-digit:test_expt_d:test digit exponentiation
    34 expt:test_expt:test full exponentiation
    35 expt-2:test_2expt:test power-of-two exponentiation
    36 square-root:test_sqrt:test integer square root function
    37 modulo-digit:test_mod_d:test digit modular reduction
    38 modulo:test_mod:test full modular reduction
    39 mod-add:test_addmod:test modular addition
    40 mod-subtract:test_submod:test modular subtraction
    41 mod-multiply:test_mulmod:test modular multiplication
    42 mod-square:test_sqrmod:test modular squaring function
    43 mod-expt:test_exptmod:test full modular exponentiation
    44 mod-expt-digit:test_exptmod_d:test digit modular exponentiation
    45 mod-inverse:test_invmod:test modular inverse function
    46 compare-digit:test_cmp_d:test digit comparison function
    47 compare-zero:test_cmp_z:test zero comparison function
    48 compare:test_cmp:test general signed comparison
    49 compare-magnitude:test_cmp_mag:test general magnitude comparison
    50 parity:test_parity:test parity comparison functions
    51 gcd:test_gcd:test greatest common divisor functions
    52 lcm:test_lcm:test least common multiple function
    53 conversion:test_convert:test general radix conversion facilities
    54 binary:test_raw:test raw output format
    55 pprime:test_pprime:test probabilistic primality tester
    56 fermat:test_fermat:test Fermat pseudoprimality tester

mercurial