a9377336be
Merge remote-tracking branch 'public/pr/1513' into development-proposed
...
* public/pr/1513:
Update rsa.h
Update rsa.h
Update rsa.h
2018-04-18 11:58:53 +02:00
0392bff1b9
Merge remote-tracking branch 'public/pr/1512' into development-proposed
...
* public/pr/1512:
Update md.h
Update md.h
2018-04-18 11:57:50 +02:00
b3a8fe7285
Merge remote-tracking branch 'public/pr/1509' into development-proposed
...
* public/pr/1509:
Update ecdh.h
Update ecdh.h
2018-04-18 11:56:49 +02:00
01d72df113
Merge remote-tracking branch 'public/pr/1508' into development-proposed
...
* public/pr/1508:
Update ctr_drbg.h
Update ctr_drbg.h
2018-04-18 11:55:30 +02:00
7153496395
Merge remote-tracking branch 'public/pr/1507' into development-proposed
...
* public/pr/1507:
Update cmac.h
Update cmac.h
2018-04-18 11:54:42 +02:00
c265a25f4f
Merge remote-tracking branch 'public/pr/1503' into development-proposed
...
* public/pr/1503:
Update aes.h
Update aes.h
2018-04-18 11:48:10 +02:00
fa1fe36e08
Update dhm.h
...
Minor fix based on review comments
2018-04-18 10:09:31 +01:00
ee96359d89
Update dhm.h
...
Changes based on review comments
2018-04-18 09:46:12 +01:00
e5b5bd7a40
Allocate a unique err code for MBEDTLS_ERR_AES_BAD_INPUT_DATA
2018-04-17 23:29:47 +01:00
3f7f8170d6
Check invalid nc_off
...
Uninitialized nc_off value >0xf passed by the caller can cause array out-of-bound.
2018-04-17 23:18:40 +01:00
14a8b59d7b
Fix doxygen error for MBEDTLS_PLATFORM_ZEROIZE_ALT
2018-04-17 16:56:12 +01:00
379b95ca9b
Update ccm.h
...
Updated return values for mbedtls_ccm_auth_decrypt().
2018-04-17 16:43:00 +01:00
477dce15bc
Update ccm.h
...
updated brief desc.
2018-04-17 16:31:22 +01:00
c58787f507
Update docs for MBEDTLS_PLATFORM_ZEROIZE_ALT in config.h
2018-04-17 10:21:45 -05:00
904e1efb8c
Make utils module part of the platform
2018-04-17 10:00:11 -05:00
ec5d416cb2
Update ecdsa.h
...
minor fix based on review comments
2018-04-17 15:55:28 +01:00
ae8e306973
Fix docs typos for zeroize related features/test
2018-04-17 09:21:49 -05:00
757cd72edf
Update license headers year and branding
2018-04-17 09:21:49 -05:00
1e8ea5fa68
Improve docs for mbedtls_zeroize() and add refs
2018-04-17 09:21:49 -05:00
6606d5c414
Add config.h docs for MBEDTLS_UTILS_ZEROIZE_ALT
2018-04-17 09:21:49 -05:00
b1262a3bdb
Allow compile-time alternate to mbedtls_zeroize()
...
Add a new macro MBEDTLS_UTILS_ZEROIZE that allows users to configure
mbedtls_zeroize() to an alternative definition when defined. If the
macro is not defined, then mbed TLS will use the default definition of
the function.
2018-04-17 09:19:05 -05:00
614d9c0667
Add a utils.h file that contains common functions
...
The new header contains common information across various mbed TLS
modules and avoids code duplication. To start, utils.h currently only
contains the mbedtls_zeroize() function.
2018-04-17 09:17:38 -05:00
21e2926736
Update rsa.h
...
minor change to the file's brief desc.
2018-04-17 14:08:56 +01:00
f763f2bbc1
Update dhm.h
...
Minor documentation improvements:
*Standardized file brief description.
*Separated return statements.
*Reordered tags within documentation blocks so that params and returns are last in block.
*p_rng descriptions changed from "parameter" to "context".
*Suggest to specify issue for each return code, where multiple failure return codes are listed, or generalize.
*Minor improvements to parameter documentation proposed by eng.
2018-04-17 11:00:40 +01:00
d3c9bfcbeb
Update ecp.h
...
Reviewed and standardized
2018-04-17 10:56:55 +01:00
ef87179842
Update ccm.h
...
updated failure returns to "A CCM or cipher-specific error code on failure."
2018-04-17 10:41:48 +01:00
6ee22a7d52
Update sha256.h
...
Minor fix based on review comments
2018-04-17 10:38:39 +01:00
92d66b88ae
Update sha1.h
...
Changes based on review comments
2018-04-17 10:36:56 +01:00
f2ec288bf8
Update rsa.h
...
Changes based on review comments.
2018-04-17 10:27:25 +01:00
f3e4736131
Update md.h
...
Changes based on review comments
2018-04-16 16:31:16 +01:00
6a7ebc4c86
Update gcm.h
...
minor fix based on review comments
2018-04-16 16:11:49 +01:00
14d0d57c51
Update ecdsa.h
...
Minor changes based on review comments
2018-04-16 16:09:30 +01:00
7375b0f6c1
Update ecdh.h
...
Changs based on review comments
2018-04-16 16:04:57 +01:00
05d0e51bb1
Minor modifications for alt support in des and ecp
...
1. Add 3des context to be allowed for alternative defintion
2. Move some ecp structs, to disallow alternative definition of them,
as other modules rely on them
2018-04-16 17:40:04 +03:00
9464d7b6e3
Update platform.h
...
Implemented changes based on review comments
2018-04-16 15:28:35 +01:00
f25eb6eef6
Update ctr_drbg.h
...
minor changes based on comments
2018-04-16 14:51:52 +01:00
c138bb7b05
Update cmac.h
...
minor changes based on comments
2018-04-16 11:11:25 +01:00
b5607bf61d
Update cipher.h
...
minor changes based on comments
2018-04-16 10:34:51 +01:00
bd9571a01e
Update ccm.h
...
minor changes based on comments
2018-04-16 09:45:12 +01:00
819d13dfff
Update aes.h
...
fixed missing multiple returns on mbedtls_aes_setkey_enc
2018-04-16 09:35:15 +01:00
bf027e736a
Minor modifications after PR review
...
1. Move ChangLog entry to correct location
2. Move point formats outside the ECP_ALT check, as it's part of the RFC
2018-04-09 15:51:19 +03:00
80aa3b8d65
Merge branch 'pr_946' into development-proposed
2018-04-04 10:33:45 +02:00
315b460593
Merge remote-tracking branch 'upstream-public/pr/1457' into development-proposed
2018-04-04 09:19:27 +02:00
be2371c3d9
Merge branch 'pr_348' into development-proposed
2018-04-04 09:18:27 +02:00
1fae860f0f
Merge remote-tracking branch 'upstream-public/pr/1543' into development-proposed
2018-04-04 09:03:25 +02:00
810e650c70
Adjust more modules to new design
...
Add `ecp.h` anf `timing.h` to new XXX_alt design
2018-04-01 15:59:58 +03:00
4e6d55d14d
Add new modules to the refactoring
...
Add new alternative supported modules to the new arcitecture design
2018-04-01 15:12:46 +03:00
b2aacec417
Take Cryptographic API outside the XXX_ALT check
...
The cryptographic API should not be related to whether or not
there is alternative implementation. The API should be same for regular
implementation, and for alternative implementation, so it is defined
outside of the XXX_ALT precompilation check in the cryptographic API header
2018-04-01 15:12:46 +03:00
90a8b5219f
Merge branch 'pr_1480' into development-proposed
2018-04-01 12:44:06 +02:00
5114d3e4e1
Clarify the use of MBEDTLS_ERR_PK_SIG_LEN_MISMATCH
...
Clarify what MBEDTLS_ERR_ECP_SIG_LEN_MISMATCH and
MBEDTLS_ERR_PK_SIG_LEN_MISMATCH mean. Add comments to highlight that
this indicates that a valid signature is present, unlike other error
codes. See
https://github.com/ARMmbed/mbedtls/pull/1149#discussion_r178130705
2018-03-30 18:43:16 +02:00