Lines Matching refs:pk_alg
65 int pk_alg;
92 opts->pk_alg = MBEDTLS_PK_RSA;
764 int mbedtls_endpoint_certificate_init( mbedtls_endpoint *ep, int pk_alg )
794 if( pk_alg == MBEDTLS_PK_RSA )
823 if( pk_alg == MBEDTLS_PK_RSA )
874 * \p pk_alg the algorithm to use, currently only MBEDTLS_PK_RSA and
882 int mbedtls_endpoint_init( mbedtls_endpoint *ep, int endpoint_type, int pk_alg,
953 ret = mbedtls_endpoint_certificate_init( ep, pk_alg );
1705 options->pk_alg, &client_context,
1717 options->pk_alg, NULL, NULL,
1751 options->pk_alg, &server_context,
1763 options->pk_alg, NULL, NULL, NULL ) == 0 );
4471 void handshake_psk_cipher( char* cipher, int pk_alg, data_t *psk_str, int dtls )
4479 options.pk_alg = pk_alg;
4489 void handshake_cipher( char* cipher, int pk_alg, int dtls )
4491 test_handshake_psk_cipher( cipher, pk_alg, NULL, dtls );