TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-tls
/
55427964b1073e566acfa36786bc4ab3ad901b9c
/
library
/
pk.c
b6cdf98
Merge remote-tracking branch 'public/pr/1721' into development-restricted
by Simon Butcher
· 7 years ago
6af45ec
PK: document context validity requirements
by Gilles Peskine
· 7 years ago
ee3cfec
PK sign/verify: hash=NULL is ok if md_alg=0 and hash_len=0
by Gilles Peskine
· 7 years ago
1f19fa6
PK: Fix free(NULL) in library and tests
by Gilles Peskine
· 7 years ago
e97dc60
Implement parameter validation in pk, pkparse and pkwrite
by Gilles Peskine
· 7 years ago
b843b15
Fix function name to fit conventions
by Manuel Pégourié-Gonnard
· 7 years ago
ee68cff
Fix or improve some comments (and whitespace)
by Manuel Pégourié-Gonnard
· 7 years ago
c8c12b6
Add NULL pointer check for consistency
by Manuel Pégourié-Gonnard
· 7 years ago
da19f4c
Merge branch 'development' into iotssl-1260-non-blocking-ecc-restricted
by Manuel Pégourié-Gonnard
· 7 years ago
2239a86
Clear pk context and other minor changes in *_free() procedures
by irwir
· 7 years ago
1f6301b
Rename mbedtls_zeroize to mbedtls_platform_zeroize
by Andres Amaya Garcia
· 7 years ago
e32df08
Remove individual copies of mbedtls_zeroize()
by Andres Amaya Garcia
· 8 years ago
d55f776
Skip context allocation if restart disabled
by Manuel Pégourié-Gonnard
· 8 years ago
aaa9814
Uniformize ifdefs to ECDSA_C+ECP_RESTARTABLE
by Manuel Pégourié-Gonnard
· 8 years ago
0bbc66c
Dynamically allocate/free restart subcontext in PK
by Manuel Pégourié-Gonnard
· 8 years ago
15d7df2
Introduce mbedtls_pk_restart_ctx and use it
by Manuel Pégourié-Gonnard
· 8 years ago
1f59606
Make PK EC sign/verify actually restartable
by Manuel Pégourié-Gonnard
· 8 years ago
82cb27b
PK: declare restartable sign/verify functions
by Manuel Pégourié-Gonnard
· 8 years ago
7c02c50
Change PK module preprocessor check on word size
by Andres Amaya Garcia
· 8 years ago
7284987
Fix data loss in unsigned int cast in PK
by Andres AG
· 9 years ago
37ff140
Change main license to Apache 2.0
by Manuel Pégourié-Gonnard
· 10 years ago
6fb8187
Update date in copyright line
by Manuel Pégourié-Gonnard
· 10 years ago
097c7bb
Rename relevant global symbols from size to bitlen
by Manuel Pégourié-Gonnard
· 10 years ago
39a48f4
Internal renamings in PK
by Manuel Pégourié-Gonnard
· 10 years ago
6a8ca33
Rename ERR_xxx_MALLOC_FAILED to ..._ALLOC_FAILED
by Manuel Pégourié-Gonnard
· 10 years ago
50518f4
Rename _wrap headers to _internal
by Manuel Pégourié-Gonnard
· 10 years ago
d9e6a3a
Rename pk_init_ctx() -> pk_setup()
by Manuel Pégourié-Gonnard
· 10 years ago
2cf5a7c
The Great Renaming
by Manuel Pégourié-Gonnard
· 10 years ago
348bcb3
Make RSA_ALT support optionnal
by Manuel Pégourié-Gonnard
· 10 years ago
ca878db
Make md_info_t an opaque structure
by Manuel Pégourié-Gonnard
· 10 years ago
0db107e
Fix pk_can_do() constness issue
by Manuel Pégourié-Gonnard
· 10 years ago
7f80997
Rename include directory to mbedtls
by Manuel Pégourié-Gonnard
· 10 years ago
fe44643
Rename website and repository
by Manuel Pégourié-Gonnard
· 10 years ago
00ab470
cleanup library and some basic tests. Includes, add guards to includes
by Rich Evans
· 10 years ago
860b516
Fix url again
by Manuel Pégourié-Gonnard
· 11 years ago
085ab04
Fix website url to use https.
by Manuel Pégourié-Gonnard
· 11 years ago
9698f58
Remove maintainer line.
by Manuel Pégourié-Gonnard
· 11 years ago
19f6b5d
Remove redundant "all rights reserved"
by Manuel Pégourié-Gonnard
· 11 years ago
a658a40
Update copyright
by Manuel Pégourié-Gonnard
· 11 years ago
967a2a5
Change name to mbed TLS in the copyright notice
by Manuel Pégourié-Gonnard
· 11 years ago
a1efcb0
Implement pk_check_pair() for RSA-alt
by Manuel Pégourié-Gonnard
· 11 years ago
70bdadf
Add pk_check_pair()
by Manuel Pégourié-Gonnard
· 11 years ago
ef5087d
Added explicit casts to prevent compiler warnings when trying to build for iOS
by Sander Niemeijer
· 11 years ago
66d5d07
Fix formatting in various code to match spacing from coding style
by Paul Bakker
· 11 years ago
d8bb826
Fix code styling for return statements
by Paul Bakker
· 11 years ago
3461772
Introduce polarssl_zeroize() instead of memset() for zeroization
by Paul Bakker
· 11 years ago
20422e9
Add pk_verify_ext()
by Manuel Pégourié-Gonnard
· 11 years ago
cef4ad2
Adapt sources to configurable config.h name
by Manuel Pégourié-Gonnard
· 11 years ago
75342a6
Fixed typos in code
by Paul Bakker
· 11 years ago
0148875
Add tests and fix bugs for RSA-alt contexts
by Manuel Pégourié-Gonnard
· 11 years ago
42099c3
Revert "Add pk_rsa_set_padding() and rsa_set_padding()"
by Paul Bakker
· 12 years ago
dfab4c1
Add forgotten #ifdef and depends_on
by Manuel Pégourié-Gonnard
· 12 years ago
b4fae57
Add pk_rsa_set_padding() and rsa_set_padding()
by Manuel Pégourié-Gonnard
· 12 years ago
8053da4
x509write_csr() now fully using PK internally
by Manuel Pégourié-Gonnard
· 12 years ago
bfe32ef
pk_{sign,verify}() now accept hash_len = 0
by Manuel Pégourié-Gonnard
· 12 years ago
c40b4c3
Add configuration item for the PK module
by Manuel Pégourié-Gonnard
· 12 years ago
12c1ff0
Add RSA-alt to the PK layer
by Manuel Pégourié-Gonnard
· 12 years ago
a2d3f22
Add and use pk_encrypt(), pk_decrypt()
by Manuel Pégourié-Gonnard
· 12 years ago
8df2769
Introduce pk_sign() and use it in ssl
by Manuel Pégourié-Gonnard
· 12 years ago
fff80f8
PK: use NULL for unimplemented operations
by Manuel Pégourié-Gonnard
· 12 years ago
f73da02
PK: change pk_verify arguments (md_info "optional")
by Manuel Pégourié-Gonnard
· 12 years ago
ab46694
Change pk_set_type to pk_init_ctx for consistency
by Manuel Pégourié-Gonnard
· 12 years ago
1569938
Small PK cleanups
by Manuel Pégourié-Gonnard
· 12 years ago
3fb5c5e
PK: rename members for consistency CIPHER, MD
by Manuel Pégourié-Gonnard
· 12 years ago
c6ac887
Nicer interface between PK and debug.
by Manuel Pégourié-Gonnard
· 12 years ago
b3d9187
PK: add nice interface functions
by Manuel Pégourié-Gonnard
· 12 years ago
765db07
PK: use alloc and free function pointers
by Manuel Pégourié-Gonnard
· 12 years ago
3053f5b
Get rid of pk_wrap_rsa()
by Manuel Pégourié-Gonnard
· 12 years ago
835eb59
PK: fix support for ECKEY_DH
by Manuel Pégourié-Gonnard
· 12 years ago
f18c3e0
Add a PK can_do() method and simplify code
by Manuel Pégourié-Gonnard
· 12 years ago
d73b3c1
PK: use wrappers and function pointers for verify
by Manuel Pégourié-Gonnard
· 12 years ago
211a64c
Add eckey to ecdsa conversion in the PK layer
by Manuel Pégourié-Gonnard
· 12 years ago
d9ca94a
Updated merged pk.c and x509parse.c changes with new memory allocation functions
by Paul Bakker
· 12 years ago
c2c9003
Fix pk_set_type() behaviour for unkown type
by Manuel Pégourié-Gonnard
· 12 years ago
fd5164e
Fix some more ifdef's RSA/EC, in pk and debug
by Manuel Pégourié-Gonnard
· 12 years ago
7c5819e
Fix warnings (enum value missing from switch/case)
by Manuel Pégourié-Gonnard
· 12 years ago
244569f
Use generic x509_get_pubkey() for RSA functions
by Manuel Pégourié-Gonnard
· 12 years ago
374e4b8
pk_set_type() cannot be used to reset key type
by Manuel Pégourié-Gonnard
· 12 years ago
81c313c
Add #ifdef's on RSA and EC in PK
by Manuel Pégourié-Gonnard
· 12 years ago
1f73a65
Fix ommission in pk_free().
by Manuel Pégourié-Gonnard
· 12 years ago
7a6c946
Fix error code in pk.h
by Manuel Pégourié-Gonnard
· 12 years ago
12e0ed9
Add pk_context and associated functions
by Manuel Pégourié-Gonnard
· 12 years ago