Home
last modified time | relevance | path

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

/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/
Dssl_internal.h192 mbedtls_ssl_key_cert *key_cert; /*!< chosen key/cert pair (server) */ member
406 mbedtls_ssl_key_cert *key_cert; in mbedtls_ssl_own_key() local
408 if( ssl->handshake != NULL && ssl->handshake->key_cert != NULL ) in mbedtls_ssl_own_key()
409 key_cert = ssl->handshake->key_cert; in mbedtls_ssl_own_key()
411 key_cert = ssl->conf->key_cert; in mbedtls_ssl_own_key()
413 return( key_cert == NULL ? NULL : key_cert->key ); in mbedtls_ssl_own_key()
418 mbedtls_ssl_key_cert *key_cert; in mbedtls_ssl_own_cert() local
420 if( ssl->handshake != NULL && ssl->handshake->key_cert != NULL ) in mbedtls_ssl_own_cert()
421 key_cert = ssl->handshake->key_cert; in mbedtls_ssl_own_cert()
423 key_cert = ssl->conf->key_cert; in mbedtls_ssl_own_cert()
[all …]
Dssl.h652 mbedtls_ssl_key_cert *key_cert; /*!< own certificate/key pair(s) */ member
/net-tools-3.4.0/mbedtls-2.4.0/library/
Dssl_srv.c618 list = ssl->conf->key_cert; in ssl_pick_cert()
694 ssl->handshake->key_cert = cur; in ssl_pick_cert()
696 ssl->handshake->key_cert->cert ); in ssl_pick_cert()
Dssl_tls.c5759 return( ssl_append_key_cert( &conf->key_cert, own_cert, pk_key ) ); in mbedtls_ssl_conf_own_cert()
6938 static void ssl_key_cert_free( mbedtls_ssl_key_cert *key_cert ) in ssl_key_cert_free() argument
6940 mbedtls_ssl_key_cert *cur = key_cert, *next; in ssl_key_cert_free()
7345 ssl_key_cert_free( conf->key_cert ); in mbedtls_ssl_config_free()