Searched refs:cert_len (Results 1 – 4 of 4) sorted by relevance
172 size_t cert_len; in ssl_save_session() local184 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() local228 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 …]
155 size_t cert_len; in _DTLSSession_save() local168 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()
225 size_t cert_len; in socket_new() local226 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()
207 int cert_len; member
Completed in 11 milliseconds