/mbedtls-3.5.0/include/mbedtls/ |
D | pk.h | 233 typedef struct mbedtls_pk_context { struct 236 } mbedtls_pk_context; typedef 281 void mbedtls_pk_init(mbedtls_pk_context *ctx); 294 void mbedtls_pk_free(mbedtls_pk_context *ctx); 329 int mbedtls_pk_setup(mbedtls_pk_context *ctx, const mbedtls_pk_info_t *info); 360 int mbedtls_pk_setup_opaque(mbedtls_pk_context *ctx, 380 int mbedtls_pk_setup_rsa_alt(mbedtls_pk_context *ctx, void *key, 393 size_t mbedtls_pk_get_bitlen(const mbedtls_pk_context *ctx); 402 static inline size_t mbedtls_pk_get_len(const mbedtls_pk_context *ctx) in mbedtls_pk_get_len() 419 int mbedtls_pk_can_do(const mbedtls_pk_context *ctx, mbedtls_pk_type_t type); [all …]
|
D | x509_csr.h | 59 mbedtls_pk_context pk; /**< Container for the public key context. */ 79 mbedtls_pk_context *MBEDTLS_PRIVATE(key); 207 void mbedtls_x509write_csr_set_key(mbedtls_x509write_csr *ctx, mbedtls_pk_context *key);
|
D | x509_crt.h | 74 mbedtls_pk_context pk; /**< Container for the public key context. */ 232 mbedtls_pk_context *MBEDTLS_PRIVATE(subject_key); 233 mbedtls_pk_context *MBEDTLS_PRIVATE(issuer_key); 1021 void mbedtls_x509write_crt_set_subject_key(mbedtls_x509write_cert *ctx, mbedtls_pk_context *key); 1029 void mbedtls_x509write_crt_set_issuer_key(mbedtls_x509write_cert *ctx, mbedtls_pk_context *key);
|
/mbedtls-3.5.0/library/ |
D | pk.c | 59 void mbedtls_pk_init(mbedtls_pk_context *ctx) in mbedtls_pk_init() 68 void mbedtls_pk_free(mbedtls_pk_context *ctx) in mbedtls_pk_free() 78 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_pk_context)); in mbedtls_pk_free() 137 int mbedtls_pk_setup(mbedtls_pk_context *ctx, const mbedtls_pk_info_t *info) in mbedtls_pk_setup() 156 int mbedtls_pk_setup_opaque(mbedtls_pk_context *ctx, in mbedtls_pk_setup_opaque() 199 int mbedtls_pk_setup_rsa_alt(mbedtls_pk_context *ctx, void *key, in mbedtls_pk_setup_rsa_alt() 231 int mbedtls_pk_can_do(const mbedtls_pk_context *ctx, mbedtls_pk_type_t type) in mbedtls_pk_can_do() 247 int mbedtls_pk_can_do_ext(const mbedtls_pk_context *ctx, psa_algorithm_t alg, in mbedtls_pk_can_do_ext() 420 int mbedtls_pk_verify_restartable(mbedtls_pk_context *ctx, in mbedtls_pk_verify_restartable() 470 int mbedtls_pk_verify(mbedtls_pk_context *ctx, mbedtls_md_type_t md_alg, in mbedtls_pk_verify() [all …]
|
D | pkwrite.c | 173 const mbedtls_pk_context *key) in mbedtls_pk_write_pubkey() 212 int mbedtls_pk_write_pubkey_der(const mbedtls_pk_context *key, unsigned char *buf, size_t size) in mbedtls_pk_write_pubkey_der() 309 int mbedtls_pk_write_key_der(const mbedtls_pk_context *key, unsigned char *buf, size_t size) in mbedtls_pk_write_key_der() 483 int mbedtls_pk_write_pubkey_pem(const mbedtls_pk_context *key, unsigned char *buf, size_t size) in mbedtls_pk_write_pubkey_pem() 503 int mbedtls_pk_write_key_pem(const mbedtls_pk_context *key, unsigned char *buf, size_t size) in mbedtls_pk_write_key_pem()
|
D | pkparse.c | 111 int mbedtls_pk_parse_keyfile(mbedtls_pk_context *ctx, in mbedtls_pk_parse_keyfile() 139 int mbedtls_pk_parse_public_keyfile(mbedtls_pk_context *ctx, const char *path) in mbedtls_pk_parse_public_keyfile() 619 mbedtls_pk_context *pk) in mbedtls_pk_parse_subpubkey() 1008 mbedtls_pk_context *pk, in pk_parse_key_pkcs8_unencrypted_der() 1110 mbedtls_pk_context *pk, in pk_parse_key_pkcs8_encrypted_der() 1211 int mbedtls_pk_parse_key(mbedtls_pk_context *pk, in mbedtls_pk_parse_key() 1421 int mbedtls_pk_parse_public_key(mbedtls_pk_context *ctx, in mbedtls_pk_parse_public_key()
|
D | ssl_misc.h | 820 mbedtls_pk_context peer_pubkey; /*!< The public key from the peer. */ 1232 mbedtls_pk_context *key; /*!< private key */ 1547 unsigned char mbedtls_ssl_sig_from_pk(mbedtls_pk_context *pk); 1633 static inline mbedtls_pk_context *mbedtls_ssl_own_key(mbedtls_ssl_context *ssl) in mbedtls_ssl_own_key() 2349 mbedtls_pk_context *key);
|
D | psa_crypto_rsa.c | 76 mbedtls_pk_context ctx; in mbedtls_psa_rsa_load_representation() 176 mbedtls_pk_context pk; in mbedtls_psa_rsa_export_key()
|
D | x509write_crt.c | 80 mbedtls_pk_context *key) in mbedtls_x509write_crt_set_subject_key() 86 mbedtls_pk_context *key) in mbedtls_x509write_crt_set_issuer_key()
|
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_pkparse.function | 17 mbedtls_pk_context ctx; 49 mbedtls_pk_context ctx; 75 mbedtls_pk_context ctx; 99 mbedtls_pk_context ctx; 124 mbedtls_pk_context pk;
|
D | test_suite_pk.function | 35 static int pk_genkey(mbedtls_pk_context *pk, int parameter) 148 mbedtls_pk_context pk, pk2; 254 mbedtls_pk_context pk; 300 mbedtls_pk_context ctx; 347 mbedtls_pk_context pk; 434 mbedtls_pk_context pk; 464 mbedtls_pk_context pk; 485 mbedtls_pk_context pub, prv, alt; 526 mbedtls_pk_context pk; 574 mbedtls_pk_context pk; [all …]
|
D | test_suite_pkwrite.function | 15 mbedtls_pk_context key; 54 mbedtls_pk_context key;
|
D | test_suite_x509write.function | 142 mbedtls_pk_context key; 260 mbedtls_pk_context key; 334 mbedtls_pk_context subject_key, issuer_key, issuer_key_alt; 335 mbedtls_pk_context *key = &issuer_key;
|
/mbedtls-3.5.0/programs/pkey/ |
D | key_app_writer.c | 107 static int write_public_key(mbedtls_pk_context *key, const char *output_file) in write_public_key() 149 static int write_private_key(mbedtls_pk_context *key, const char *output_file) in write_private_key() 205 mbedtls_pk_context key; in main()
|
D | pk_verify.c | 50 mbedtls_pk_context pk; in main()
|
D | rsa_verify_pss.c | 53 mbedtls_pk_context pk; in main()
|
D | gen_key.c | 137 static int write_private_key(mbedtls_pk_context *key, const char *output_file) in write_private_key() 179 mbedtls_pk_context key; in main()
|
D | pk_encrypt.c | 55 mbedtls_pk_context pk; in main()
|
D | pk_decrypt.c | 56 mbedtls_pk_context pk; in main()
|
D | pk_sign.c | 52 mbedtls_pk_context pk; in main()
|
D | rsa_sign_pss.c | 53 mbedtls_pk_context pk; in main()
|
/mbedtls-3.5.0/programs/fuzz/ |
D | fuzz_pubkey.c | 11 mbedtls_pk_context pk; in LLVMFuzzerTestOneInput()
|
D | fuzz_privkey.c | 22 mbedtls_pk_context pk; in LLVMFuzzerTestOneInput()
|
D | fuzz_dtlsserver.c | 27 static mbedtls_pk_context pkey;
|
D | fuzz_server.c | 21 static mbedtls_pk_context pkey;
|