TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-tls.git
/
104ee1d1f607f746c332f9d3229e5d3fd02a4328
/
library
/
ecp.c
104ee1d
Add ecp_genkey(), prettier wrapper
by Manuel Pégourié-Gonnard
· 12 years ago
c57b654
Use t_uint rather than uintXX_t when appropriate
by Manuel Pégourié-Gonnard
· 12 years ago
96c7a92
Change mpi_safe_cond_assign() for more const-ness
by Manuel Pégourié-Gonnard
· 12 years ago
9181481
Enhance ecp_selftest
by Manuel Pégourié-Gonnard
· 12 years ago
d728350
Make memory access pattern constant
by Manuel Pégourié-Gonnard
· 12 years ago
aade42f
Change method for making M odd in ecp_mul()
by Manuel Pégourié-Gonnard
· 12 years ago
36daa13
Misc details
by Manuel Pégourié-Gonnard
· 12 years ago
469a209
Rm subtraction from ecp_add_mixed()
by Manuel Pégourié-Gonnard
· 12 years ago
01fca5e
Do point inversion without leaking information
by Manuel Pégourié-Gonnard
· 12 years ago
44aab79
Update bibliographic references
by Manuel Pégourié-Gonnard
· 12 years ago
7f76231
Use mpi_shrink() in ecp_precompute()
by Manuel Pégourié-Gonnard
· 12 years ago
e282012
Spare some memory
by Manuel Pégourié-Gonnard
· 12 years ago
edc1a1f
Small code cleanups
by Manuel Pégourié-Gonnard
· 12 years ago
ff27b7c
Tighten ecp_mul() validity checks
by Manuel Pégourié-Gonnard
· 12 years ago
09ceaf4
Rm multiplication using NAF
by Manuel Pégourié-Gonnard
· 12 years ago
04a0225
Optimize w in the comb method
by Manuel Pégourié-Gonnard
· 12 years ago
70c1437
Add coordinate randomization back
by Manuel Pégourié-Gonnard
· 12 years ago
c30200e
Fix bound issues
by Manuel Pégourié-Gonnard
· 12 years ago
101a39f
Improve comb method (less precomputed points)
by Manuel Pégourié-Gonnard
· 12 years ago
d1c1ba9
First version of ecp_mul_comb()
by Manuel Pégourié-Gonnard
· 12 years ago
6a6087e
Added missing inline definition for MSCV and ARM environments
by Paul Bakker
· 12 years ago
9fcceac
Add a comment about modules coupling
by Manuel Pégourié-Gonnard
· 12 years ago
b21c81f
Use less memory in fix_negative()
by Manuel Pégourié-Gonnard
· 12 years ago
cae6f3e
Reorganize code in ecp.c
by Manuel Pégourié-Gonnard
· 12 years ago
5779cbe
Make mod_p{224,256,384] a bit faster
by Manuel Pégourié-Gonnard
· 12 years ago
c04c530
Make NIST curves optimisation an option
by Manuel Pégourié-Gonnard
· 12 years ago
0f9149c
Add mod_p384
by Manuel Pégourié-Gonnard
· 12 years ago
ec655c9
Add mod_p256
by Manuel Pégourié-Gonnard
· 12 years ago
210b458
Document and slightly reorganize mod_pXXX
by Manuel Pégourié-Gonnard
· 12 years ago
2a08c0d
mod_p224 now working with 8-bit and 16-bit ints
by Manuel Pégourié-Gonnard
· 12 years ago
a47e705
mod_p224 now endian-neutral
by Manuel Pégourié-Gonnard
· 12 years ago
e783f06
Start working on mod_p224
by Manuel Pégourié-Gonnard
· 12 years ago
cc67aee
Make ecp_mod_p521 a bit faster
by Manuel Pégourié-Gonnard
· 12 years ago
c9e387c
Optimize ecp_modp()
by Manuel Pégourié-Gonnard
· 12 years ago
d1e7a45
Rework ecp_mod_p192()
by Manuel Pégourié-Gonnard
· 12 years ago
b9cfaa0
Explicit conversions and minor changes to prevent MSVC compiler warnings
by Paul Bakker
· 12 years ago
0cd6f98
Don't special-case a = -3, not worth it
by Manuel Pégourié-Gonnard
· 12 years ago
b8012fc
Adjust dependencies
by Manuel Pégourié-Gonnard
· 12 years ago
0ace4b3
Use much less variables in ecp_double_jac_gen()
by Manuel Pégourié-Gonnard
· 12 years ago
1c4aa24
Add brainpool support for ecp_mul()
by Manuel Pégourié-Gonnard
· 12 years ago
cd7458a
Support brainpool curves in ecp_check_pubkey()
by Manuel Pégourié-Gonnard
· 12 years ago
a070ada
Add brainpool curves to ecp_use_kown_dp()
by Manuel Pégourié-Gonnard
· 12 years ago
cec4a53
Add domain parameters for Brainpool curves
by Manuel Pégourié-Gonnard
· 12 years ago
8195c1a
Add identifiers for Brainpool curves
by Manuel Pégourié-Gonnard
· 12 years ago
f24b4a7
Interface change in ECP info functions
by Manuel Pégourié-Gonnard
· 12 years ago
da179e4
Add ecp_curve_list(), hide ecp_supported_curves
by Manuel Pégourié-Gonnard
· 12 years ago
161ef96
Cache pre-computed points for ecp_mul()
by Manuel Pégourié-Gonnard
· 12 years ago
56cd319
Add human-friendly name in ecp_curve_info
by Manuel Pégourié-Gonnard
· 12 years ago
a79d123
Make ecp_supported_curves constant
by Manuel Pégourié-Gonnard
· 12 years ago
c972770
Prepare ecp_group for future extensions
by Manuel Pégourié-Gonnard
· 12 years ago
456d3b9
Make ECP error codes more specific
by Manuel Pégourié-Gonnard
· 12 years ago
568c9cf
Add ecp_supported_curves and simplify some code
by Manuel Pégourié-Gonnard
· 12 years ago
7038039
Dissociate TLS and internal EC curve identifiers
by Manuel Pégourié-Gonnard
· 12 years ago
07de4b1
Implement randomized coordinates in ecp_mul()
by Manuel Pégourié-Gonnard
· 12 years ago
e09d2f8
Change ecp_mul() prototype to allow randomization
by Manuel Pégourié-Gonnard
· 12 years ago
e09631b
Create ecp_group_copy() and use it
by Manuel Pégourié-Gonnard
· 12 years ago
b694b48
Add ecdsa_{read,write}_signature()
by Manuel Pégourié-Gonnard
· 12 years ago
96f3a4e
Rm ecp_keypair.alg
by Manuel Pégourié-Gonnard
· 12 years ago
de44a4a
Rename ecp_check_prvkey with a 'i' for consistency
by Manuel Pégourié-Gonnard
· 12 years ago
c8dc295
Add ecp_check_prvkey, with test
by Manuel Pégourié-Gonnard
· 12 years ago
b8c6e0e
Add ecp_keypair struct, init/free and constants
by Manuel Pégourié-Gonnard
· 12 years ago
6e339b5
Memory-allocation abstraction layer and buffer-based allocator added
by Paul Bakker
· 12 years ago
fd3eac5
Cleaned up ECP error codes
by Paul Bakker
· 12 years ago
5dc6b5f
Made supported curves configurable
by Paul Bakker
· 12 years ago
b6c5d2e
Cleanup up non-prototyped functions (static) and const-correctness
by Paul Bakker
· 12 years ago
a280d0f
Fixed compiler warning for possible uninitialized ret
by Paul Bakker
· 12 years ago
98f5181
Fix ecp_tls_read_point's signature
by Manuel Pégourié-Gonnard
· 12 years ago
7c145c6
Fix ecp_tls_read_group's signature
by Manuel Pégourié-Gonnard
· 12 years ago
46106a9
Add tests for (and fix bug in) ecp_tls_write_group
by Manuel Pégourié-Gonnard
· 12 years ago
420f1eb
Fix ecp_tls_write_point's signature
by Manuel Pégourié-Gonnard
· 12 years ago
b325887
Add ecp_tls_write_group()
by Manuel Pégourié-Gonnard
· 12 years ago
7e86025
Rename ecp_*_binary to ecp_point_*_binary
by Manuel Pégourié-Gonnard
· 12 years ago
d84895d
Supress 'format' argument to ecp_read_binary.
by Manuel Pégourié-Gonnard
· 12 years ago
0079405
Add functions for read/write ECPoint records
by Manuel Pégourié-Gonnard
· 12 years ago
1a96728
Add function parsing a TLS ECParameters record
by Manuel Pégourié-Gonnard
· 12 years ago
6545ca7
Add ECDH primitives
by Manuel Pégourié-Gonnard
· 13 years ago
45a035a
Add ecp_gen_keypair()
by Manuel Pégourié-Gonnard
· 13 years ago
cf4365f
Updated error codes for ECP
by Paul Bakker
· 13 years ago
5e402d8
Added ecp_read_binary().
by Manuel Pégourié-Gonnard
· 13 years ago
37d218a
Added support for writing points compressed
by Manuel Pégourié-Gonnard
· 13 years ago
e19feb5
Added ecp_write_binary().
by Manuel Pégourié-Gonnard
· 13 years ago
1c33057
Added ecp_check_pubkey().
by Manuel Pégourié-Gonnard
· 13 years ago
3680c82
Made choice of w safer and more optimal
by Manuel Pégourié-Gonnard
· 13 years ago
cdd4432
Added ecp_normalize_many() for faster precompute()
by Manuel Pégourié-Gonnard
· 13 years ago
b63f9e9
Made ecp_mul() faster and truly SPA resistant
by Manuel Pégourié-Gonnard
· 13 years ago
7652a59
Added a precompute() function for fast mult
by Manuel Pégourié-Gonnard
· 13 years ago
8555607
Added function preparing for faster multiplication
by Manuel Pégourié-Gonnard
· 13 years ago
b4a310b
Added a selftest about SPA resistance
by Manuel Pégourié-Gonnard
· 13 years ago
9674fd0
Added ecp_sub() as a variant of ecp_add()
by Manuel Pégourié-Gonnard
· 13 years ago
1c2782c
Changed to jacobian coordinates everywhere
by Manuel Pégourié-Gonnard
· 13 years ago
773ed54
Added a nbits member to ecp_group
by Manuel Pégourié-Gonnard
· 13 years ago
4bdd47d
Multiplication by negative is now forbidden
by Manuel Pégourié-Gonnard
· 13 years ago
8433824
Added fast mod_p192
by Manuel Pégourié-Gonnard
· 13 years ago
4712325
Clarifications in comments; code cosmetics & style
by Manuel Pégourié-Gonnard
· 13 years ago
dada4da
Moved domain paramaters to ecp.c
by Manuel Pégourié-Gonnard
· 13 years ago
62aad14
Added slot for fast modp, with mod_p521
by Manuel Pégourié-Gonnard
· 13 years ago
84d1aea
Now reducing mod p after every single operation
by Manuel Pégourié-Gonnard
· 13 years ago
e0c1692
Point multiplication using Jacobian coordinates
by Manuel Pégourié-Gonnard
· 13 years ago
7e0adfb
Replaced add_generic with add_mixed
by Manuel Pégourié-Gonnard
· 13 years ago
989c32b
Replaced double_generic with double_jac
by Manuel Pégourié-Gonnard
· 13 years ago
Next »