summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/modussl_mbedtls.c
Commit message (Collapse)AuthorAge
* extmod/modussl_mbedtls.c: Add ussl.getpeercert() method.Eric Poulsen2017-08-16
| | | | | Behaviour is as per CPython but only the binary form is implemented here. A test is included.
* extmod/modussl_mbedtls: Implement non-blocking SSL sockets.Eric Poulsen2017-07-26
|
* extmod/modussl_mbedtls: Make socket.close() free all TLS resources.Damien George2017-07-25
| | | | Also, use mp_stream_close() helper to close the underlying socket.
* extmod/modussl_mbedtls: When reading and peer wants to close, return 0.Damien George2017-07-25
| | | | | If this particular code is returned then there's no more data, it's not really an error.
* all: Don't include system errno.h when it's not needed.Damien George2017-07-24
|
* extmod/modussl_mbedtls: Support server_side mode.Damien George2017-07-24
| | | | | To use server_side mode one must pass valid values in the "key" and "cert" parameters.
* extmod: Update for changes to mp_obj_str_get_data.Damien George2017-03-29
|
* all: Remove readall() method, which is equivalent to read() w/o args.Paul Sokolovsky2016-11-14
| | | | | | Its addition was due to an early exploration on how to add CPython-like stream interface. It's clear that it's not needed and just takes up bytes in all ports.
* extmod/modussl_mbedtls: Add dummy setblocking() method.Paul Sokolovsky2016-10-15
| | | | Accepts only value of True.
* extmod: Use mp_raise_OSError helper function.Damien George2016-10-07
|
* extmod/modussl_mbedtls: Add server_hostname param for wrap_socket().Paul Sokolovsky2016-09-23
| | | | | In CPython, module-level .wrap_socket() function actually doesn't accept (or document) this param, only SSLContext.wrap_socket() has.
* extmod/modussl_mbedtls: Use 2-component include paths.Paul Sokolovsky2016-09-22
| | | | | This is required to use mbedTLS versions from various sources, e.g. mainline vs embedded into Zephyr RTOS.
* extmod/modussl_mbedtls: Implement key= and cert= args to wrap_socket().Paul Sokolovsky2016-09-22
| | | | | Unlike standard keyfile= and certfile=, these accept byte buffer objects (to not depend on FS implementation).
* extmod/modussl_mbedtls: Initial implementation of mbedTLS ussl module.Paul Sokolovsky2016-09-21