1
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
generic_mpih-lshift.c
generic_mpih-mul1.c
generic_mpih-mul2.c
generic_mpih-mul3.c
generic_mpih-rshift.c
generic_mpih-sub1.c
longlong.h
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
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
mpi-internal.h
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
mpih-div.c lib/mpi: added comment on divide by 0 case 2012-02-02 00:23:39 +11:00
mpih-mul.c
mpiutil.c lib/mpi: check for possible zero length 2012-02-02 00:23:39 +11:00