• Home
  • Raw
  • Download

Lines Matching refs:sig_alg

1284     unsigned int sig_alg);
2271 const uint16_t *sig_alg = ssl->MBEDTLS_PRIVATE(handshake)->MBEDTLS_PRIVATE(received_sig_algs); in mbedtls_ssl_sig_alg_is_received() local
2272 if (sig_alg == NULL) { in mbedtls_ssl_sig_alg_is_received()
2276 for (; *sig_alg != MBEDTLS_TLS_SIG_NONE; sig_alg++) { in mbedtls_ssl_sig_alg_is_received()
2277 if (*sig_alg == own_sig_alg) { in mbedtls_ssl_sig_alg_is_received()
2285 const uint16_t sig_alg) in mbedtls_ssl_tls13_sig_alg_for_cert_verify_is_supported() argument
2287 switch (sig_alg) { in mbedtls_ssl_tls13_sig_alg_for_cert_verify_is_supported()
2325 const uint16_t sig_alg) in mbedtls_ssl_tls13_sig_alg_is_supported() argument
2327 switch (sig_alg) { in mbedtls_ssl_tls13_sig_alg_is_supported()
2344 sig_alg); in mbedtls_ssl_tls13_sig_alg_is_supported()
2350 int mbedtls_ssl_tls13_check_sig_alg_cert_key_match(uint16_t sig_alg,
2358 const uint16_t *sig_alg = mbedtls_ssl_get_sig_algs(ssl); in mbedtls_ssl_sig_alg_is_offered() local
2359 if (sig_alg == NULL) { in mbedtls_ssl_sig_alg_is_offered()
2363 for (; *sig_alg != MBEDTLS_TLS_SIG_NONE; sig_alg++) { in mbedtls_ssl_sig_alg_is_offered()
2364 if (*sig_alg == proposed_sig_alg) { in mbedtls_ssl_sig_alg_is_offered()
2372 uint16_t sig_alg, mbedtls_pk_type_t *pk_type, mbedtls_md_type_t *md_alg) in mbedtls_ssl_get_pk_type_and_md_alg_from_sig_alg() argument
2374 *pk_type = mbedtls_ssl_pk_alg_from_sig(sig_alg & 0xff); in mbedtls_ssl_get_pk_type_and_md_alg_from_sig_alg()
2375 *md_alg = mbedtls_ssl_md_alg_from_hash((sig_alg >> 8) & 0xff); in mbedtls_ssl_get_pk_type_and_md_alg_from_sig_alg()
2381 switch (sig_alg) { in mbedtls_ssl_get_pk_type_and_md_alg_from_sig_alg()
2410 const uint16_t sig_alg) in mbedtls_ssl_tls12_sig_alg_is_supported() argument
2413 unsigned char hash = MBEDTLS_BYTE_1(sig_alg); in mbedtls_ssl_tls12_sig_alg_is_supported()
2414 unsigned char sig = MBEDTLS_BYTE_0(sig_alg); in mbedtls_ssl_tls12_sig_alg_is_supported()
2472 const uint16_t sig_alg) in mbedtls_ssl_sig_alg_is_supported() argument
2477 return mbedtls_ssl_tls12_sig_alg_is_supported(sig_alg); in mbedtls_ssl_sig_alg_is_supported()
2483 return mbedtls_ssl_tls13_sig_alg_is_supported(sig_alg); in mbedtls_ssl_sig_alg_is_supported()
2487 ((void) sig_alg); in mbedtls_ssl_sig_alg_is_supported()