Lines Matching refs:sig_alg_len
167 size_t sig_alg_len = 0; in ssl_write_signature_algorithms_ext() local
183 sig_alg_len += 2; in ssl_write_signature_algorithms_ext()
186 sig_alg_len += 2; in ssl_write_signature_algorithms_ext()
190 if( end < p || (size_t)( end - p ) < sig_alg_len + 6 ) in ssl_write_signature_algorithms_ext()
199 sig_alg_len = 0; in ssl_write_signature_algorithms_ext()
204 sig_alg_list[sig_alg_len++] = mbedtls_ssl_hash_from_md_alg( *md ); in ssl_write_signature_algorithms_ext()
205 sig_alg_list[sig_alg_len++] = MBEDTLS_SSL_SIG_ECDSA; in ssl_write_signature_algorithms_ext()
208 sig_alg_list[sig_alg_len++] = mbedtls_ssl_hash_from_md_alg( *md ); in ssl_write_signature_algorithms_ext()
209 sig_alg_list[sig_alg_len++] = MBEDTLS_SSL_SIG_RSA; in ssl_write_signature_algorithms_ext()
233 *p++ = (unsigned char)( ( ( sig_alg_len + 2 ) >> 8 ) & 0xFF ); in ssl_write_signature_algorithms_ext()
234 *p++ = (unsigned char)( ( ( sig_alg_len + 2 ) ) & 0xFF ); in ssl_write_signature_algorithms_ext()
236 *p++ = (unsigned char)( ( sig_alg_len >> 8 ) & 0xFF ); in ssl_write_signature_algorithms_ext()
237 *p++ = (unsigned char)( ( sig_alg_len ) & 0xFF ); in ssl_write_signature_algorithms_ext()
239 *olen = 6 + sig_alg_len; in ssl_write_signature_algorithms_ext()
2640 size_t sig_alg_len = ( ( buf[mbedtls_ssl_hs_hdr_len( ssl ) + 1 + n] << 8 ) local
2646 for( i = 0; i < sig_alg_len; i += 2 )
2652 n += 2 + sig_alg_len;