Jaeden Amero
a78c958b17
Merge remote-tracking branch 'tls/pr/2028' into development
2019-02-27 15:21:44 +00:00
Andrzej Kurek
c470b6b021
Merge development commit 8e76332 into development-psa
...
Additional changes to temporarily enable running tests:
ssl_srv.c and test_suite_ecdh use mbedtls_ecp_group_load instead of
mbedtls_ecdh_setup
test_suite_ctr_drbg uses mbedtls_ctr_drbg_update instead of
mbedtls_ctr_drbg_update_ret
2019-01-31 08:20:20 -05:00
Andres Amaya Garcia
88bf1b3dd5
Improve docs for named bitstrings and their usage
2019-01-16 18:59:07 +00:00
Andres Amaya Garcia
ec6329f23d
Add new function mbedtls_asn1_write_named_bitstring()
...
Add a new function mbedtls_asn1_write_named_bitstring() that removes
trailing 0s at the end of DER encoded bitstrings. The function is
implemented according to Hanno Becker's suggestions.
This commit also changes the functions x509write_crt_set_ns_cert_type
and crt_set_key_usage to call the new function as the use named
bitstrings instead of the regular bitstrings.
2019-01-16 10:35:13 +00:00
Hanno Becker
5517755353
Improve wording and formatting of ASN.1 write module documentation
2018-11-02 10:52:38 +00:00
Hanno Becker
d0e21fbd27
Improve documentation of ASN.1 string-writing functions
...
- mbedtls_asn1_write_tagged_string()
- mbedtls_asn1_write_printable_string()
- mbedtls_asn1_write_utf8_string()
- mbedtls_asn1_write_ia5_string()
2018-10-08 14:44:28 +01:00
thomas-dee
eba6c9bb50
changes requested by @hanno-arm
...
- renamed `mbedtls_asn1_write_any_string` to `mbedtls_asn1_write_tagged_string`
- renamed `x509_at_oid_from_name` to `x509_attr_descr_from_name`
2018-09-19 09:10:37 +02:00
Jaeden Amero
23f954dff9
Fix string downcast to PrintableString
as issued in #1033
2018-05-18 11:49:49 +02:00
Darryl Green
a40a101e26
Update Doxygen file blocks to remove copyright and license information
2018-01-23 15:44:39 +00:00
Paul Bakker
c7d6bd4b5f
Add mbedtls_asn1_write_len() support for 3 and 4 byte lengths
...
As a consequence also adds coverage for reading 3 and 4 byte lengths
(which were not covered before)
2016-08-25 15:42:27 +01:00
Paul Bakker
7eb1243fb4
Add check for lengths over 65535 in mbedtls_asn1_write_len()
2016-08-25 15:42:27 +01:00
Manuel Pégourié-Gonnard
37ff14062e
Change main license to Apache 2.0
2015-09-04 14:21:07 +02:00
Manuel Pégourié-Gonnard
6fb8187279
Update date in copyright line
2015-07-28 17:11:58 +02:00
Manuel Pégourié-Gonnard
2cf5a7c98e
The Great Renaming
...
A simple execution of tmp/invoke-rename.pl
2015-04-08 13:25:31 +02:00
Manuel Pégourié-Gonnard
49ce6f0973
Fix constness of asn1_write_mpi()
2015-03-31 13:05:39 +02:00
Manuel Pégourié-Gonnard
7f8099773e
Rename include directory to mbedtls
2015-03-10 11:23:56 +00:00