Home
last modified time | relevance | path

Searched refs:mbedtls_pk_get_len (Results 1 – 4 of 4) sorted by relevance

/third_party/mbedtls/library/
Dpk.c558 signature_length = sig_len > mbedtls_pk_get_len(ctx) ? in mbedtls_pk_verify_ext()
559 mbedtls_pk_get_len(ctx) : sig_len; in mbedtls_pk_verify_ext()
564 if (status == PSA_SUCCESS && sig_len > mbedtls_pk_get_len(ctx)) { in mbedtls_pk_verify_ext()
576 if (sig_len < mbedtls_pk_get_len(ctx)) { in mbedtls_pk_verify_ext()
589 if (sig_len > mbedtls_pk_get_len(ctx)) { in mbedtls_pk_verify_ext()
Dssl_tls12_server.c3378 size_t len = mbedtls_pk_get_len(public_key); in ssl_decrypt_encrypted_pms()
/third_party/mbedtls/tests/suites/
Dtest_suite_pk.function190 TEST_ASSERT(mbedtls_pk_get_len(&pk) == bitlen / 8);
362 TEST_ASSERT(mbedtls_pk_get_len(NULL) == 0);
474 TEST_ASSERT(mbedtls_pk_get_len(&pk) == (unsigned) len);
550 result_str->x, mbedtls_pk_get_len(&pk)) == result);
553 result_str->x, mbedtls_pk_get_len(
1137 TEST_ASSERT(mbedtls_pk_get_len(&alt) == RSA_KEY_LEN);
/third_party/mbedtls/include/mbedtls/
Dpk.h402 static inline size_t mbedtls_pk_get_len(const mbedtls_pk_context *ctx) in mbedtls_pk_get_len() function