Searched refs:pk_type (Results 1 – 8 of 8) sorted by relevance
/third_party/mbedtls/library/ |
D | pkwrite.c | 217 mbedtls_pk_type_t pk_type; in mbedtls_pk_write_pubkey_der() local 243 pk_type = mbedtls_pk_get_type(key); in mbedtls_pk_write_pubkey_der() 245 if (pk_type == MBEDTLS_PK_ECKEY) { in mbedtls_pk_write_pubkey_der() 250 if (pk_type == MBEDTLS_PK_OPAQUE) { in mbedtls_pk_write_pubkey_der() 284 pk_type = MBEDTLS_PK_ECKEY; in mbedtls_pk_write_pubkey_der() 287 pk_type = MBEDTLS_PK_RSA; in mbedtls_pk_write_pubkey_der() 294 if ((ret = mbedtls_oid_get_oid_by_pk_alg(pk_type, &oid, in mbedtls_pk_write_pubkey_der()
|
D | pk.c | 111 const mbedtls_pk_info_t *mbedtls_pk_info_from_type(mbedtls_pk_type_t pk_type) in mbedtls_pk_info_from_type() argument 113 switch (pk_type) { in mbedtls_pk_info_from_type() 671 int mbedtls_pk_sign_ext(mbedtls_pk_type_t pk_type, in mbedtls_pk_sign_ext() argument 688 if (!mbedtls_pk_can_do(ctx, pk_type)) { in mbedtls_pk_sign_ext() 692 if (pk_type != MBEDTLS_PK_RSASSA_PSS) { in mbedtls_pk_sign_ext()
|
D | ssl_tls13_generic.c | 898 mbedtls_pk_type_t pk_type = mbedtls_ssl_sig_from_pk(key); in mbedtls_ssl_tls13_check_sig_alg_cert_key_match() local 901 switch (pk_type) { in mbedtls_ssl_tls13_check_sig_alg_cert_key_match() 995 mbedtls_pk_type_t pk_type = MBEDTLS_PK_NONE; in ssl_tls13_write_certificate_verify_body() local 1014 *sig_alg, &pk_type, &md_alg) != 0) { in ssl_tls13_write_certificate_verify_body() 1031 if ((ret = mbedtls_pk_sign_ext(pk_type, own_key, in ssl_tls13_write_certificate_verify_body()
|
D | ssl_misc.h | 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() 2377 if (*pk_type != MBEDTLS_PK_NONE && *md_alg != MBEDTLS_MD_NONE) { in mbedtls_ssl_get_pk_type_and_md_alg_from_sig_alg() 2386 *pk_type = MBEDTLS_PK_RSASSA_PSS; in mbedtls_ssl_get_pk_type_and_md_alg_from_sig_alg() 2392 *pk_type = MBEDTLS_PK_RSASSA_PSS; in mbedtls_ssl_get_pk_type_and_md_alg_from_sig_alg() 2398 *pk_type = MBEDTLS_PK_RSASSA_PSS; in mbedtls_ssl_get_pk_type_and_md_alg_from_sig_alg()
|
D | x509_crt.c | 2664 mbedtls_pk_type_t pk_type; in x509_crt_verify_restartable_ca_cb() local 2683 pk_type = mbedtls_pk_get_type(&crt->pk); in x509_crt_verify_restartable_ca_cb() 2685 if (x509_profile_check_pk_alg(profile, pk_type) != 0) { in x509_crt_verify_restartable_ca_cb()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_pk.function | 301 mbedtls_pk_type_t pk_type = 0; 318 mbedtls_pk_verify_ext(pk_type, NULL, 323 mbedtls_pk_verify_ext(pk_type, NULL, 569 int pk_type, int mgf1_hash_id, 599 ret = mbedtls_pk_verify_ext(pk_type, options, &pk, 657 void pk_sign_verify_restart(int pk_type, int grp_id, char *d_str, 675 TEST_ASSERT(mbedtls_pk_setup(&prv, mbedtls_pk_info_from_type(pk_type)) == 0); 679 TEST_ASSERT(mbedtls_pk_setup(&pub, mbedtls_pk_info_from_type(pk_type)) == 0); 1334 void pk_psa_sign_ext(int pk_type, int parameter, int key_pk_type, int md_alg) 1351 mbedtls_pk_info_from_type(pk_type)) == 0); [all …]
|
/third_party/mbedtls/include/mbedtls/ |
D | pk.h | 273 const mbedtls_pk_info_t *mbedtls_pk_info_from_type(mbedtls_pk_type_t pk_type); 609 int mbedtls_pk_sign_ext(mbedtls_pk_type_t pk_type,
|
/third_party/googletest/docs/ |
D | gmock_cook_book.md | 3492 template <typename p1_type, ..., typename pk_type> 3493 FooMatcherPk<p1_type, ..., pk_type> 3494 Foo(p1_type p1, ..., pk_type pk) { ... } 3505 `FooMatcherPk<p1_type, ..., pk_type>`. This can be useful when composing
|