41 Commits (662b9761b37b054f08fe2f7c00d0fce3a418d0b0)

Author SHA1 Message Date
Jim Mussared 662b9761b3 all: Make all mp_obj_type_t defs use MP_DEFINE_CONST_OBJ_TYPE. 3 years ago
Ian Davies 1bf2fd0592 extmod/modussl_mbedtls: Set a more sensible default debug log level. 2 years ago
Carlosgg b41cfea02a extmod/modussl_mbedtls: Implement cert_reqs and cadata arguments. 3 years ago
Andrew Leech 4188bbd3d3 extmod/modussl_mbedtls: Poll EVENT_POLL_HOOK in ssl handshake loop. 3 years ago
Damien George efe23aca71 all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
Jim Mussared 4eab44a1ec extmod: Make extmod modules use MP_REGISTER_MODULE. 3 years ago
Thorsten von Eicken 2c1299b007 extmod/modussl: Fix ussl read/recv/send/write errors when non-blocking. 5 years ago
Thorsten von Eicken 5264478007 extmod/modussl_mbedtls: Integrate shorter error strings. 4 years ago
Thorsten von Eicken 9aa214077e extmod/modussl: Improve exception error messages. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 09376f0e47 py: Introduce MP_ROM_NONE macro for ROM to refer to None object. 5 years ago
Damien George 9dd9f9ff06 extmod/modussl_mbedtls: Check for invalid key/cert data. 5 years ago
Damien George 07ea81fbc5 extmod/modussl_mbedtls: Fix getpeercert to return None if no cert avail. 5 years ago
Damien George ef7357d4ab extmod/modussl_mbedtls: Allow to build with object representation D. 6 years ago
Paul Sokolovsky 9c7c082396 extmod/modussl_mbedtls: Support non-blocking handshake. 6 years ago
Paul Sokolovsky c7ed17bc4b extmod/modussl_mbedtls: Remove deprecated mbedtls/net.h header include. 6 years ago
Damien George 7a67f057d7 extmod/modussl: Support polling in ussl objects by passing through ioctl 6 years ago
Damien George e8398a5856 extmod: Update to use new mp_get_stream helper. 6 years ago
Damien George ea22406f76 extmod/modussl_mbedtls: Use mbedtls_entropy_func for CTR-DRBG entropy. 7 years ago
Damien George 98b9f0fc9d extmod/modussl_mbedtls: Populate sock member right away in wrap_socket. 7 years ago
Damien George cf31d384f1 py/stream: Switch stream close operation from method to ioctl. 7 years ago
Damien George 7df2ebbfea extmod/modussl_mbedtls: Clean up mbedtls state when error during setup. 7 years ago
Damien George 10b76a9620 extmod/modussl_mbedtls: Allow to compile with unix coverage build. 7 years ago
Eric Poulsen 74ec52d857 extmod/modussl: Add finaliser support for ussl objects. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George beeb7483d8 extmod/modussl_mbedtls: Allow to compile with MBEDTLS_DEBUG_C disabled. 7 years ago
Eric Poulsen d5191edf7f extmod/modussl_mbedtls.c: Add ussl.getpeercert() method. 7 years ago
Eric Poulsen 6b4d4a25ce extmod/modussl_mbedtls: Implement non-blocking SSL sockets. 7 years ago
Damien George 0893b273b9 extmod/modussl_mbedtls: Make socket.close() free all TLS resources. 7 years ago
Damien George a10467b58a extmod/modussl_mbedtls: When reading and peer wants to close, return 0. 8 years ago
Damien George aa7be82a4d all: Don't include system errno.h when it's not needed. 7 years ago
Damien George 513dfcf4fe extmod/modussl_mbedtls: Support server_side mode. 7 years ago
Damien George 204ded848e extmod: Update for changes to mp_obj_str_get_data. 8 years ago
Paul Sokolovsky 59a1201da9 all: Remove readall() method, which is equivalent to read() w/o args. 8 years ago
Paul Sokolovsky 06234a6115 extmod/modussl_mbedtls: Add dummy setblocking() method. 8 years ago
Damien George 75af908c0e extmod: Use mp_raise_OSError helper function. 8 years ago
Paul Sokolovsky 46ab042230 extmod/modussl_mbedtls: Add server_hostname param for wrap_socket(). 8 years ago
Paul Sokolovsky 080e4d44f3 extmod/modussl_mbedtls: Use 2-component include paths. 8 years ago
Paul Sokolovsky 5f0ecb72c2 extmod/modussl_mbedtls: Implement key= and cert= args to wrap_socket(). 8 years ago
Paul Sokolovsky 9ea2882317 extmod/modussl_mbedtls: Initial implementation of mbedTLS ussl module. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Paul Sokolovsky 4f1b0292db py/stream: Add adapter methods with POSIX-compatible signatures. 8 years ago
Paul Sokolovsky a53e0e59f3 extmod/modussl_axtls: Use mp_stream_close() method. 8 years ago
Paul Sokolovsky 780114e398 extmod/modussl_axtls: Add dummy setblocking() method. 8 years ago
Paul Sokolovsky 20283aec10 extmod/modussl_axtls: Further changes to allow alternative SSL modules. 8 years ago
Paul Sokolovsky e32d1e17bb extmod/modussl: Rename to modussl_axtls.c, to allow impl using other SSL libs. 8 years ago
Paul Sokolovsky 07209f8592 all: Rename mp_obj_type_t::stream_p to protocol. 9 years ago
Paul Sokolovsky 2ea019f3d3 extmod/modussl: Coverage build fixes. 9 years ago
Paul Sokolovsky 9d04fec5d9 extmod/modussl: Make more compatible with non-default obj representations. 9 years ago