Home
last modified time | relevance | path

Searched refs:cert_len (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/mbedtls/library/
A Dssl_ticket.c172 size_t cert_len; in ssl_save_session() local
184 cert_len = 0; in ssl_save_session()
186 cert_len = session->peer_cert->raw.len; in ssl_save_session()
188 if( left < 3 + cert_len ) in ssl_save_session()
191 *p++ = (unsigned char)( ( cert_len >> 16 ) & 0xFF ); in ssl_save_session()
198 p += cert_len; in ssl_save_session()
215 size_t cert_len; in ssl_load_session() local
228 cert_len = ( p[0] << 16 ) | ( p[1] << 8 ) | p[2]; in ssl_load_session()
231 if( cert_len == 0 ) in ssl_load_session()
239 if( cert_len > (size_t)( end - p ) ) in ssl_load_session()
[all …]
/AliOS-Things-master/components/linkkit/wrappers/os/
A DHAL_DTLS_mbedtls.c155 size_t cert_len; in _DTLSSession_save() local
168 cert_len = 0; in _DTLSSession_save()
170 cert_len = session->peer_cert->raw.len; in _DTLSSession_save()
173 if (left < 3 + cert_len) { in _DTLSSession_save()
177 *p++ = (unsigned char)(cert_len >> 16 & 0xFF); in _DTLSSession_save()
178 *p++ = (unsigned char)(cert_len >> 8 & 0xFF); in _DTLSSession_save()
179 *p++ = (unsigned char)(cert_len & 0xFF); in _DTLSSession_save()
182 memcpy(p, session->peer_cert->raw.p, cert_len); in _DTLSSession_save()
185 p += cert_len; in _DTLSSession_save()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodussl_mbedtls.c225 size_t cert_len; in socket_new() local
226 const byte *cert = (const byte *)mp_obj_str_get_data(args->cert.u_obj, &cert_len); in socket_new()
228 ret = mbedtls_x509_crt_parse(&o->cert, cert, cert_len + 1); in socket_new()
/AliOS-Things-master/components/linkkit/include/linkkit/wrappers/
A Dwrappers_defs.h207 int cert_len; member

Completed in 11 milliseconds