Home
last modified time | relevance | path

Searched refs:ciphersuite_info (Results 1 – 6 of 6) sorted by relevance

/net-tools-3.6.0/mbedtls-2.4.0/library/
Dssl_cli.c715 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; local
857 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( ciphersuites[i] );
859 if( ciphersuite_info == NULL )
862 if( ciphersuite_info->min_minor_ver > ssl->conf->max_minor_ver ||
863 ciphersuite_info->max_minor_ver < ssl->conf->min_minor_ver )
868 ( ciphersuite_info->flags & MBEDTLS_CIPHERSUITE_NODTLS ) )
874 ciphersuite_info->cipher == MBEDTLS_CIPHER_ARC4_128 )
879 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE &&
1245 if( ssl->transform_negotiate->ciphersuite_info->key_exchange !=
1576 ssl->transform_negotiate->ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( i );
[all …]
Dssl_srv.c607 const mbedtls_ssl_ciphersuite_t * ciphersuite_info ) in ssl_pick_cert() argument
610 mbedtls_pk_type_t pk_alg = mbedtls_ssl_get_ciphersuite_sig_pk_alg( ciphersuite_info ); in ssl_pick_cert()
650 if( mbedtls_ssl_check_cert_usage( cur->cert, ciphersuite_info, in ssl_pick_cert()
709 const mbedtls_ssl_ciphersuite_t **ciphersuite_info ) in ssl_ciphersuite_match() argument
795 *ciphersuite_info = suite_info; in ssl_ciphersuite_match()
808 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; local
1002 ciphersuite_info = NULL;
1021 &ciphersuite_info ) ) != 0 )
1024 if( ciphersuite_info != NULL )
1042 MBEDTLS_SSL_DEBUG_MSG( 2, ( "selected ciphersuite: %s", ciphersuite_info->name ) );
[all …]
Dssl_tls.c503 cipher_info = mbedtls_cipher_info_from_type( transform->ciphersuite_info->cipher ); in mbedtls_ssl_derive_keys()
507 transform->ciphersuite_info->cipher ) ); in mbedtls_ssl_derive_keys()
511 md_info = mbedtls_md_info_from_type( transform->ciphersuite_info->mac ); in mbedtls_ssl_derive_keys()
515 transform->ciphersuite_info->mac ) ); in mbedtls_ssl_derive_keys()
543 transform->ciphersuite_info->mac == MBEDTLS_MD_SHA384 ) in mbedtls_ssl_derive_keys()
595 if( ssl->transform_negotiate->ciphersuite_info->mac == in mbedtls_ssl_derive_keys()
690 + ( transform->ciphersuite_info->flags & in mbedtls_ssl_derive_keys()
1360 unsigned char taglen = ssl->transform_out->ciphersuite_info->flags & in ssl_encrypt_buf()
1628 unsigned char taglen = ssl->transform_in->ciphersuite_info->flags & in ssl_decrypt_buf()
4062 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = ssl->transform_negotiate->ciphersuite_info; in mbedtls_ssl_write_certificate() local
[all …]
/net-tools-3.6.0/mbedtls-2.4.0/programs/ssl/
Dssl_client2.c810 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; in main() local
811 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( opt.force_ciphersuite[0] ); in main()
814 ciphersuite_info->min_minor_ver > opt.max_version ) in main()
821 ciphersuite_info->max_minor_ver < opt.min_version ) in main()
831 opt.max_version > ciphersuite_info->max_minor_ver ) in main()
833 opt.max_version = ciphersuite_info->max_minor_ver; in main()
835 if( opt.min_version < ciphersuite_info->min_minor_ver ) in main()
837 opt.min_version = ciphersuite_info->min_minor_ver; in main()
845 if( ciphersuite_info->cipher == MBEDTLS_CIPHER_ARC4_128 ) in main()
Dssl_server2.c1245 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; in main() local
1246 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( opt.force_ciphersuite[0] ); in main()
1249 ciphersuite_info->min_minor_ver > opt.max_version ) in main()
1256 ciphersuite_info->max_minor_ver < opt.min_version ) in main()
1266 opt.max_version > ciphersuite_info->max_minor_ver ) in main()
1268 opt.max_version = ciphersuite_info->max_minor_ver; in main()
1270 if( opt.min_version < ciphersuite_info->min_minor_ver ) in main()
1272 opt.min_version = ciphersuite_info->min_minor_ver; in main()
1280 if( ciphersuite_info->cipher == MBEDTLS_CIPHER_ARC4_128 ) in main()
/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/
Dssl_internal.h275 const mbedtls_ssl_ciphersuite_t *ciphersuite_info; member
379 const mbedtls_ssl_ciphersuite_t *ciphersuite_info );