Home
last modified time | relevance | path

Searched refs:mbedtls_pk_get_bitlen (Results 1 – 6 of 6) sorted by relevance

/third_party/mbedtls/include/mbedtls/
Dpk.h393 size_t mbedtls_pk_get_bitlen(const mbedtls_pk_context *ctx);
404 return (mbedtls_pk_get_bitlen(ctx) + 7) / 8; in mbedtls_pk_get_len()
/third_party/mbedtls/library/
Dpk.c800 size_t mbedtls_pk_get_bitlen(const mbedtls_pk_context *ctx) in mbedtls_pk_get_bitlen() function
931 psa_set_key_bits(&attributes, mbedtls_pk_get_bitlen(pk)); in mbedtls_pk_wrap_as_opaque()
Dx509_csr.c509 (int) mbedtls_pk_get_bitlen(&csr->pk)); in mbedtls_x509_csr_info()
Dx509_crt.c223 if (mbedtls_pk_get_bitlen(pk) >= profile->rsa_min_bitlen) { in x509_profile_check_key()
1677 (int) mbedtls_pk_get_bitlen(&crt->pk)); in mbedtls_x509_crt_info()
Dssl_tls13_generic.c899 size_t key_size = mbedtls_pk_get_bitlen(key); in mbedtls_ssl_tls13_check_sig_alg_cert_key_match()
/third_party/mbedtls/tests/suites/
Dtest_suite_pk.function189 TEST_ASSERT(mbedtls_pk_get_bitlen(&pk) == bitlen);
361 TEST_ASSERT(mbedtls_pk_get_bitlen(NULL) == 0);
473 TEST_ASSERT(mbedtls_pk_get_bitlen(&pk) == (unsigned) bitlen);
1136 TEST_ASSERT(mbedtls_pk_get_bitlen(&alt) == RSA_KEY_SIZE);