Lines Matching refs:pk

209                                   const mbedtls_pk_context *pk)  in x509_profile_check_key()  argument
211 const mbedtls_pk_type_t pk_alg = mbedtls_pk_get_type(pk); in x509_profile_check_key()
215 if (mbedtls_pk_get_bitlen(pk) >= profile->rsa_min_bitlen) { in x509_profile_check_key()
227 const mbedtls_ecp_group_id gid = mbedtls_pk_get_ec_group_id(pk); in x509_profile_check_key()
1225 if ((ret = mbedtls_pk_parse_subpubkey(&p, end, &crt->pk)) != 0) { in x509_crt_parse_der_core()
1809 mbedtls_pk_get_name(&crt->pk))) != 0) { in mbedtls_x509_crt_info()
1814 prefix, key_size_str, (int) mbedtls_pk_get_bitlen(&crt->pk)); in mbedtls_x509_crt_info()
2060 if (x509_profile_check_key(profile, &ca->pk) != 0) { in x509_crt_verifycrl()
2064 if (mbedtls_pk_verify_ext(crl_list->sig_pk, &ca->pk, in x509_crt_verifycrl()
2124 if (!mbedtls_pk_can_do(&parent->pk, (mbedtls_pk_type_t) child->sig_pk)) { in x509_crt_check_signature()
2130 return mbedtls_pk_verify_restartable(&parent->pk, in x509_crt_check_signature()
2132 child->sig.p, child->sig.len, &rs_ctx->pk); in x509_crt_check_signature()
2138 return mbedtls_pk_verify_ext(child->sig_pk, &parent->pk, in x509_crt_check_signature()
2638 if (x509_profile_check_key(profile, &parent->pk) != 0) { in x509_crt_verify_chain()
3058 pk_type = mbedtls_pk_get_type(&crt->pk); in x509_crt_verify_restartable_ca_cb()
3064 if (x509_profile_check_key(profile, &crt->pk) != 0) { in x509_crt_verify_restartable_ca_cb()
3204 mbedtls_pk_free(&cert_cur->pk); in mbedtls_x509_crt_free()
3233 mbedtls_pk_restart_init(&ctx->pk); in mbedtls_x509_crt_restart_init()
3255 mbedtls_pk_restart_free(&ctx->pk); in mbedtls_x509_crt_restart_free()