1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-22 04:01:53 +03:00
Commit Graph

15500 Commits

Author SHA1 Message Date
14b16c62e9 Minor optimizations (original by Peter Vaskovic, modified by Paul Bakker)
Move strlen out of for loop.
Remove redundant null checks before free.
2014-05-28 11:34:33 +02:00
8ebfe084ab Fix minor format string inconsistency. 2014-05-28 11:12:51 +02:00
c2bbac968b Fix misplaced parenthesis. 2014-05-28 11:06:31 +02:00
541529e770 Remove unused arrays. 2014-05-28 11:04:48 +02:00
1ebc0c592c Fix typos 2014-05-22 15:47:58 +02:00
c6ece49890 Updated ChangeLog for CCM 2014-05-22 15:45:03 +02:00
b5212b436f Merge CCM cipher mode and ciphersuites
Conflicts:
	library/ssl_tls.c
2014-05-22 15:30:31 +02:00
64a96ea281 Fix typo in a6916fa 2014-05-22 15:13:02 +02:00
0f651c7422 Stricter check on SSL ClientHello internal sizes compared to actual packet size 2014-05-22 15:12:19 +02:00
dff3139cc8 Updated ChangeLog 2014-05-22 15:06:41 +02:00
17cde5f8ef Fix ssl-opt.sh for new ciphersuites order 2014-05-22 14:42:39 +02:00
2594859bc6 Add CCM suites to compat.sh (self-op only) 2014-05-22 14:36:02 +02:00
4cdb4d9bb7 X509 time-related tests depend on POLARSSL_HAVE_TIME 2014-05-22 14:22:59 +02:00
0c5e4290e1 benchmark application also works without POLARSSL_ERROR_C 2014-05-22 14:11:13 +02:00
12895d15f8 Fix less-than-zero checks on unsigned numbers 2014-05-22 13:52:53 +02:00
4a9dc2a474 Test memory a bit more often in all.sh 2014-05-22 13:52:53 +02:00
d66f900ba2 Simplify usage of generate scripts 2014-05-22 13:52:52 +02:00
71c8f20619 Add generate_visualc_files to bump_version 2014-05-22 13:52:52 +02:00
30159b452c Make visualc script less chatty 2014-05-22 13:52:52 +02:00
50868a7a82 Rename VS script more appropriately 2014-05-22 13:52:52 +02:00
411f73e7b3 Factor some output code 2014-05-22 13:52:52 +02:00
0598faf15b Generate VS2010 solution file 2014-05-22 13:52:51 +02:00
41e8b62ebb Generate GUID for VS2010 apps 2014-05-22 13:52:50 +02:00
cd8f844eb3 Add VS6 workspace to update-vs-apps.pl 2014-05-22 13:52:50 +02:00
3d3fcdb156 Remove executable bit on some VS project files 2014-05-22 13:52:50 +02:00
0aafa5c55f Add visual C main files to update_vs_apps.pl 2014-05-22 13:52:49 +02:00
2d34fe3918 Rework update-vs-apps script a bit 2014-05-22 13:52:49 +02:00
82a5de7bf7 Enforce alignment even if buffer is not aligned 2014-05-22 13:52:49 +02:00
4d8db4ab10 Fix typo in a config.h #define 2014-05-22 13:52:48 +02:00
fe671f4aeb Add markers around generated code in error.c 2014-05-22 13:52:48 +02:00
8ff17c544c Add missing DEBUG_RET on cipher failures 2014-05-22 13:52:48 +02:00
61edffef28 Normalize "should never happen" messages/errors 2014-05-22 13:52:47 +02:00
542eac5aba Add tests for CCM via cipher layer 2014-05-20 17:26:16 +02:00
2e5ee32033 Implement CCM and CCM_8 ciphersuites 2014-05-20 16:29:34 +02:00
5efd772ef0 Small readability improvement 2014-05-14 14:10:37 +02:00
6768da9438 Register CCM ciphersuites (not implemented yet) 2014-05-14 14:10:36 +02:00
41936957b3 Add AES-CCM and CAMELLIA-CCM to the cipher layer 2014-05-14 14:10:36 +02:00
de7bb44004 Use cipher_auth_{en,de}crypt() in ssl_tls.c 2014-05-14 14:10:36 +02:00
4562ffe2e6 Add cipher_auth_{en,de}crypt() 2014-05-14 14:10:36 +02:00
8764d271fa Use cipher_crypt() in ssl_tls.c 2014-05-14 14:10:36 +02:00
3c1d150b3d Add cipher_crypt() 2014-05-14 14:10:35 +02:00
64bf996fd9 Add test vectors for Camellia-CCM 2014-05-14 14:10:35 +02:00
0f6b66dba1 CCM operations allow input == output 2014-05-14 14:10:35 +02:00
aed6065793 CCM source cosmetics/tune-ups
- source a bit shorter
- generated code slightly smaller
- preserving performance
2014-05-14 14:10:35 +02:00
58d78a8d70 Add CCM to benchmark 2014-05-14 14:10:35 +02:00
e8b8d01782 Use tighter buffers in CCM test suite 2014-05-07 12:13:13 +02:00
87df5ba0a1 Add test for length checks 2014-05-07 12:13:13 +02:00
ce77d55023 Implement ccm_auth_decrypt() 2014-05-07 12:13:13 +02:00
002323340a Refactor to prepare for CCM decryption 2014-05-07 12:13:12 +02:00
9322e49037 Add NIST CAVS 11.0 test vectors for AES-CCM
Since there are 2160 test vectors fro encryption, which is a lot,
only the first one (out of ten) for each length quadruple was kept.
2014-05-07 12:13:12 +02:00