Lines Matching refs:cert
751 mbedtls_x509_crt *cert; member
764 mbedtls_x509_crt_free(cur->cert); in sni_free()
765 mbedtls_free(cur->cert); in sni_free()
819 if ((new->cert = mbedtls_calloc(1, sizeof(mbedtls_x509_crt))) == NULL || in sni_parse()
824 mbedtls_x509_crt_init(new->cert); in sni_parse()
827 if (mbedtls_x509_crt_parse_file(new->cert, crt_file) != 0 || in sni_parse()
932 return mbedtls_ssl_set_hs_own_cert(ssl, cur->cert, cur->key); in cert_callback()
1086 mbedtls_x509_crt *cert; /*!< Certificate corresponding to the key */ member
1109 mbedtls_x509_crt *cert, in ssl_async_set_key() argument
1117 ctx->slots[ctx->slots_used].cert = cert; in ssl_async_set_key()
1153 mbedtls_x509_crt *cert, in ssl_async_start() argument
1167 if (mbedtls_x509_dn_gets(dn, sizeof(dn), &cert->subject) > 0) { in ssl_async_start()
1178 if (mbedtls_pk_check_pair(&cert->pk, in ssl_async_start()
1221 mbedtls_x509_crt *cert, in ssl_async_sign() argument
1226 return ssl_async_start(ssl, cert, in ssl_async_sign()
1232 mbedtls_x509_crt *cert, in ssl_async_decrypt() argument
1236 return ssl_async_start(ssl, cert, in ssl_async_decrypt()
3157 cur->cert, cur->key, 1, in main()