Searched refs:key_cert (Results 1 – 4 of 4) sorted by relevance
192 mbedtls_ssl_key_cert *key_cert; /*!< chosen key/cert pair (server) */ member406 mbedtls_ssl_key_cert *key_cert; in mbedtls_ssl_own_key() local408 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() local420 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 …]
652 mbedtls_ssl_key_cert *key_cert; /*!< own certificate/key pair(s) */ member
618 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()
5759 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() argument6940 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()