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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/freebl/mpi/test-arrays.txt	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,56 @@
     1.4 +#
     1.5 +# Test suite table for MPI library
     1.6 +#
     1.7 +# Format of entries:
     1.8 +# suite-name:function-name:description
     1.9 +#
    1.10 +# suite-name	The name used to identify this test in mpi-test
    1.11 +# function-name	The function called to perform this test in mpi-test.c
    1.12 +# description   A brief description of what the suite tests
    1.13 +
    1.14 +# This Source Code Form is subject to the terms of the Mozilla Public
    1.15 +# License, v. 2.0. If a copy of the MPL was not distributed with this
    1.16 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
    1.17 +
    1.18 +list:test_list:print out a list of the available test suites
    1.19 +copy:test_copy:test assignment of mp-int structures
    1.20 +exchange:test_exch:test exchange of mp-int structures
    1.21 +zero:test_zero:test zeroing of an mp-int
    1.22 +set:test_set:test setting an mp-int to a small constant
    1.23 +absolute-value:test_abs:test the absolute value function
    1.24 +negate:test_neg:test the arithmetic negation function
    1.25 +add-digit:test_add_d:test digit addition
    1.26 +add:test_add:test full addition
    1.27 +subtract-digit:test_sub_d:test digit subtraction
    1.28 +subtract:test_sub:test full subtraction
    1.29 +multiply-digit:test_mul_d:test digit multiplication
    1.30 +multiply:test_mul:test full multiplication
    1.31 +square:test_sqr:test full squaring function
    1.32 +divide-digit:test_div_d:test digit division
    1.33 +divide-2:test_div_2:test division by two
    1.34 +divide-2d:test_div_2d:test division & remainder by 2^d
    1.35 +divide:test_div:test full division
    1.36 +expt-digit:test_expt_d:test digit exponentiation
    1.37 +expt:test_expt:test full exponentiation
    1.38 +expt-2:test_2expt:test power-of-two exponentiation
    1.39 +square-root:test_sqrt:test integer square root function
    1.40 +modulo-digit:test_mod_d:test digit modular reduction
    1.41 +modulo:test_mod:test full modular reduction
    1.42 +mod-add:test_addmod:test modular addition
    1.43 +mod-subtract:test_submod:test modular subtraction
    1.44 +mod-multiply:test_mulmod:test modular multiplication
    1.45 +mod-square:test_sqrmod:test modular squaring function
    1.46 +mod-expt:test_exptmod:test full modular exponentiation
    1.47 +mod-expt-digit:test_exptmod_d:test digit modular exponentiation
    1.48 +mod-inverse:test_invmod:test modular inverse function
    1.49 +compare-digit:test_cmp_d:test digit comparison function
    1.50 +compare-zero:test_cmp_z:test zero comparison function
    1.51 +compare:test_cmp:test general signed comparison
    1.52 +compare-magnitude:test_cmp_mag:test general magnitude comparison
    1.53 +parity:test_parity:test parity comparison functions
    1.54 +gcd:test_gcd:test greatest common divisor functions
    1.55 +lcm:test_lcm:test least common multiple function
    1.56 +conversion:test_convert:test general radix conversion facilities
    1.57 +binary:test_raw:test raw output format
    1.58 +pprime:test_pprime:test probabilistic primality tester
    1.59 +fermat:test_fermat:test Fermat pseudoprimality tester

mercurial