mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-25 13:43:31 +00:00
Add a short description of what each module does
There was already a short introduction to _who_ should use each module, but not to _what_ each module does. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
7f887bdc05
commit
7aab2fbe41
@ -6,6 +6,11 @@
|
|||||||
* modules should use the high-level modular bignum interface (bignum_mod.h)
|
* modules should use the high-level modular bignum interface (bignum_mod.h)
|
||||||
* or the legacy bignum interface (bignum.h).
|
* or the legacy bignum interface (bignum.h).
|
||||||
*
|
*
|
||||||
|
* This module is about processing non-negative integers with a fixed upper
|
||||||
|
* bound that's of the form 2^#biL-1. Many operations treat these numbers
|
||||||
|
* as the principal representation of a number modulo 2^#biL or a smaller
|
||||||
|
* bound.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* Modular bignum functions
|
* Modular bignum functions
|
||||||
|
*
|
||||||
|
* This module implements operations on integers modulo some fixed modulus.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
* module (bignum_mod.c) and the ECP module (ecp.c, ecp_curves.c). All other
|
* module (bignum_mod.c) and the ECP module (ecp.c, ecp_curves.c). All other
|
||||||
* modules should use the high-level modular bignum interface (bignum_mod.h)
|
* modules should use the high-level modular bignum interface (bignum_mod.h)
|
||||||
* or the legacy bignum interface (bignum.h).
|
* or the legacy bignum interface (bignum.h).
|
||||||
|
*
|
||||||
|
* This is a low-level interface to operations on integers modulo which
|
||||||
|
* has no protection against passing invalid arguments such as arrays of
|
||||||
|
* the wrong size. The functions in bignum_mod.h provide a higher-level
|
||||||
|
* interface that includes protections against accidental misuse, at the
|
||||||
|
* expense of code size and sometimes more cumbersome memory management.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user