Lines Matching refs:cur
1743 const mbedtls_ssl_ciphersuite_t *cur = ciphersuite_definitions; in mbedtls_ssl_ciphersuite_from_string() local
1748 while( cur->id != 0 ) in mbedtls_ssl_ciphersuite_from_string()
1750 if( 0 == strcmp( cur->name, ciphersuite_name ) ) in mbedtls_ssl_ciphersuite_from_string()
1751 return( cur ); in mbedtls_ssl_ciphersuite_from_string()
1753 cur++; in mbedtls_ssl_ciphersuite_from_string()
1761 const mbedtls_ssl_ciphersuite_t *cur = ciphersuite_definitions; in mbedtls_ssl_ciphersuite_from_id() local
1763 while( cur->id != 0 ) in mbedtls_ssl_ciphersuite_from_id()
1765 if( cur->id == ciphersuite ) in mbedtls_ssl_ciphersuite_from_id()
1766 return( cur ); in mbedtls_ssl_ciphersuite_from_id()
1768 cur++; in mbedtls_ssl_ciphersuite_from_id()
1776 const mbedtls_ssl_ciphersuite_t *cur; in mbedtls_ssl_get_ciphersuite_name() local
1778 cur = mbedtls_ssl_ciphersuite_from_id( ciphersuite_id ); in mbedtls_ssl_get_ciphersuite_name()
1780 if( cur == NULL ) in mbedtls_ssl_get_ciphersuite_name()
1783 return( cur->name ); in mbedtls_ssl_get_ciphersuite_name()
1788 const mbedtls_ssl_ciphersuite_t *cur; in mbedtls_ssl_get_ciphersuite_id() local
1790 cur = mbedtls_ssl_ciphersuite_from_string( ciphersuite_name ); in mbedtls_ssl_get_ciphersuite_id()
1792 if( cur == NULL ) in mbedtls_ssl_get_ciphersuite_id()
1795 return( cur->id ); in mbedtls_ssl_get_ciphersuite_id()