linux/lib/mpi
Dmitry Kasatkin a6d68ecc56 lib/mpi: added comment on divide by 0 case
Comment explains that existing clients do not call this function
with dsize == 0, which means that 1/0 should not happen.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Reviewed-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
2012-02-02 00:23:39 +11:00
..
generic_mpi-asm-defs.h crypto: GnuPG based MPI lib - additional sources (part 4) 2011-11-09 11:47:26 +02:00
generic_mpih-add1.c crypto: GnuPG based MPI lib - source files (part 1) 2011-11-09 11:45:22 +02:00
generic_mpih-lshift.c crypto: GnuPG based MPI lib - source files (part 1) 2011-11-09 11:45:22 +02:00
generic_mpih-mul1.c crypto: GnuPG based MPI lib - source files (part 1) 2011-11-09 11:45:22 +02:00
generic_mpih-mul2.c crypto: GnuPG based MPI lib - source files (part 1) 2011-11-09 11:45:22 +02:00
generic_mpih-mul3.c crypto: GnuPG based MPI lib - source files (part 1) 2011-11-09 11:45:22 +02:00
generic_mpih-rshift.c crypto: GnuPG based MPI lib - source files (part 1) 2011-11-09 11:45:22 +02:00
generic_mpih-sub1.c crypto: GnuPG based MPI lib - source files (part 1) 2011-11-09 11:45:22 +02:00
longlong.h crypto: GnuPG based MPI lib - header files (part 2) 2011-11-09 11:45:26 +02:00
Makefile crypto: GnuPG based MPI lib - additional sources (part 4) 2011-11-09 11:47:26 +02:00
mpi-add.c crypto: GnuPG based MPI lib - additional sources (part 4) 2011-11-09 11:47:26 +02:00
mpi-bit.c crypto: GnuPG based MPI lib - source files (part 1) 2011-11-09 11:45:22 +02:00
mpi-cmp.c crypto: GnuPG based MPI lib - additional sources (part 4) 2011-11-09 11:47:26 +02:00
mpi-div.c lib/mpi: checks for zero divisor length 2012-02-02 00:23:14 +11:00
mpi-gcd.c crypto: GnuPG based MPI lib - additional sources (part 4) 2011-11-09 11:47:26 +02:00
mpi-inline.c crypto: GnuPG based MPI lib - additional sources (part 4) 2011-11-09 11:47:26 +02:00
mpi-inline.h crypto: GnuPG based MPI lib - header files (part 2) 2011-11-09 11:45:26 +02:00
mpi-internal.h crypto: GnuPG based MPI lib - header files (part 2) 2011-11-09 11:45:26 +02:00
mpi-inv.c crypto: GnuPG based MPI lib - additional sources (part 4) 2011-11-09 11:47:26 +02:00
mpi-mpow.c mpi/mpi-mpow: NULL dereference on allocation failure 2011-12-08 00:09:23 +11:00
mpi-mul.c crypto: GnuPG based MPI lib - additional sources (part 4) 2011-11-09 11:47:26 +02:00
mpi-pow.c lib/mpi: return error code on dividing by zero 2012-02-02 00:23:14 +11:00
mpi-scan.c crypto: GnuPG based MPI lib - additional sources (part 4) 2011-11-09 11:47:26 +02:00
mpicoder.c lib/mpi: removed unused functions 2012-02-02 00:23:14 +11:00
mpih-cmp.c crypto: GnuPG based MPI lib - source files (part 1) 2011-11-09 11:45:22 +02:00
mpih-div.c lib/mpi: added comment on divide by 0 case 2012-02-02 00:23:39 +11:00
mpih-mul.c crypto: GnuPG based MPI lib - source files (part 1) 2011-11-09 11:45:22 +02:00
mpiutil.c lib/mpi: check for possible zero length 2012-02-02 00:23:39 +11:00