/third_party/mbedtls/include/mbedtls/ |
D | pk.h | 199 typedef struct mbedtls_pk_context struct 203 } mbedtls_pk_context; typedef 226 static inline mbedtls_rsa_context *mbedtls_pk_rsa( const mbedtls_pk_context pk ) in mbedtls_pk_rsa() 239 static inline mbedtls_ecp_keypair *mbedtls_pk_ec( const mbedtls_pk_context pk ) in mbedtls_pk_ec() 274 void mbedtls_pk_init( mbedtls_pk_context *ctx ); 287 void mbedtls_pk_free( mbedtls_pk_context *ctx ); 322 int mbedtls_pk_setup( mbedtls_pk_context *ctx, const mbedtls_pk_info_t *info ); 353 int mbedtls_pk_setup_opaque( mbedtls_pk_context *ctx, 373 int mbedtls_pk_setup_rsa_alt( mbedtls_pk_context *ctx, void * key, 386 size_t mbedtls_pk_get_bitlen( const mbedtls_pk_context *ctx ); [all …]
|
D | x509_csr.h | 60 mbedtls_pk_context pk; /**< Container for the public key context. */ 75 mbedtls_pk_context *MBEDTLS_PRIVATE(key); 190 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. */ 285 mbedtls_pk_context *MBEDTLS_PRIVATE(subject_key); 286 mbedtls_pk_context *MBEDTLS_PRIVATE(issuer_key); 1042 void mbedtls_x509write_crt_set_subject_key( mbedtls_x509write_cert *ctx, mbedtls_pk_context *key ); 1050 void mbedtls_x509write_crt_set_issuer_key( mbedtls_x509write_cert *ctx, mbedtls_pk_context *key );
|
/third_party/mbedtls/library/ |
D | pk.c | 55 void mbedtls_pk_init( mbedtls_pk_context *ctx ) in mbedtls_pk_init() 66 void mbedtls_pk_free( mbedtls_pk_context *ctx ) in mbedtls_pk_free() 74 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_pk_context ) ); in mbedtls_pk_free() 135 int mbedtls_pk_setup( mbedtls_pk_context *ctx, const mbedtls_pk_info_t *info ) in mbedtls_pk_setup() 153 int mbedtls_pk_setup_opaque( mbedtls_pk_context *ctx, in mbedtls_pk_setup_opaque() 189 int mbedtls_pk_setup_rsa_alt( mbedtls_pk_context *ctx, void * key, in mbedtls_pk_setup_rsa_alt() 220 int mbedtls_pk_can_do( const mbedtls_pk_context *ctx, mbedtls_pk_type_t type ) in mbedtls_pk_can_do() 275 int mbedtls_pk_verify_restartable( mbedtls_pk_context *ctx, in mbedtls_pk_verify_restartable() 323 int mbedtls_pk_verify( mbedtls_pk_context *ctx, mbedtls_md_type_t md_alg, in mbedtls_pk_verify() 335 mbedtls_pk_context *ctx, mbedtls_md_type_t md_alg, in mbedtls_pk_verify_ext() [all …]
|
D | pkwrite.c | 177 const mbedtls_pk_context *key ) in mbedtls_pk_write_pubkey() 225 int mbedtls_pk_write_pubkey_der( const mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_pubkey_der() 313 int mbedtls_pk_write_key_der( const mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_key_der() 556 int mbedtls_pk_write_pubkey_pem( const mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_pubkey_pem() 581 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 | 125 int mbedtls_pk_parse_keyfile( mbedtls_pk_context *ctx, in mbedtls_pk_parse_keyfile() 154 int mbedtls_pk_parse_public_keyfile( mbedtls_pk_context *ctx, const char *path ) in mbedtls_pk_parse_public_keyfile() 612 mbedtls_pk_context *pk ) in mbedtls_pk_parse_subpubkey() 1001 mbedtls_pk_context *pk, in pk_parse_key_pkcs8_unencrypted_der() 1103 mbedtls_pk_context *pk, in pk_parse_key_pkcs8_encrypted_der() 1205 int mbedtls_pk_parse_key( mbedtls_pk_context *pk, in mbedtls_pk_parse_key() 1422 int mbedtls_pk_parse_public_key( mbedtls_pk_context *ctx, in mbedtls_pk_parse_public_key()
|
D | ssl_misc.h | 654 mbedtls_pk_context peer_pubkey; /*!< The public key from the peer. */ 1021 mbedtls_pk_context *key; /*!< private key */ 1267 unsigned char mbedtls_ssl_sig_from_pk( mbedtls_pk_context *pk ); 1303 static inline mbedtls_pk_context *mbedtls_ssl_own_key( mbedtls_ssl_context *ssl ) in mbedtls_ssl_own_key()
|
D | psa_crypto_rsa.c | 78 mbedtls_pk_context ctx; in mbedtls_psa_rsa_load_representation() 177 mbedtls_pk_context pk; in mbedtls_psa_rsa_export_key()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_pkparse.function | 15 mbedtls_pk_context ctx; 45 mbedtls_pk_context ctx; 70 mbedtls_pk_context ctx; 95 mbedtls_pk_context ctx; 121 mbedtls_pk_context pk;
|
D | test_suite_pk.function | 32 static int pk_genkey( mbedtls_pk_context *pk, int parameter ) 123 mbedtls_pk_context pk, pk2; 208 mbedtls_pk_context pk; 295 mbedtls_pk_context pk; 325 mbedtls_pk_context pk; 346 mbedtls_pk_context pub, prv, alt; 387 mbedtls_pk_context pk; 436 mbedtls_pk_context pk; 491 mbedtls_pk_context pk; 524 mbedtls_pk_context prv, pub; [all …]
|
D | test_suite_pkwrite.function | 15 mbedtls_pk_context key; 55 mbedtls_pk_context key;
|
D | test_suite_x509write.function | 83 mbedtls_pk_context key; 150 mbedtls_pk_context key; 207 mbedtls_pk_context subject_key, issuer_key, issuer_key_alt; 208 mbedtls_pk_context *key = &issuer_key;
|
/third_party/mbedtls/programs/pkey/ |
D | key_app_writer.c | 117 static int write_public_key( mbedtls_pk_context *key, const char *output_file ) in write_public_key() 159 static int write_private_key( mbedtls_pk_context *key, const char *output_file ) in write_private_key() 215 mbedtls_pk_context key; in main()
|
D | pk_verify.c | 60 mbedtls_pk_context pk; in main()
|
D | rsa_verify_pss.c | 63 mbedtls_pk_context pk; in main()
|
D | gen_key.c | 148 static int write_private_key( mbedtls_pk_context *key, const char *output_file ) in write_private_key() 191 mbedtls_pk_context key; in main()
|
D | pk_encrypt.c | 65 mbedtls_pk_context pk; in main()
|
D | pk_decrypt.c | 65 mbedtls_pk_context pk; in main()
|
D | rsa_sign_pss.c | 63 mbedtls_pk_context pk; in main()
|
D | pk_sign.c | 62 mbedtls_pk_context pk; in main()
|
/third_party/mbedtls/programs/fuzz/ |
D | fuzz_privkey.c | 15 mbedtls_pk_context pk; in LLVMFuzzerTestOneInput()
|
D | fuzz_pubkey.c | 10 mbedtls_pk_context pk; in LLVMFuzzerTestOneInput()
|
D | fuzz_dtlsserver.c | 25 static mbedtls_pk_context pkey;
|
D | fuzz_server.c | 21 static mbedtls_pk_context pkey;
|
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/ |
D | ssl_pm.c | 63 mbedtls_pk_context *pkey; 65 mbedtls_pk_context *ex_pkey; 746 pkey_pm->pkey = ssl_mem_malloc(sizeof(mbedtls_pk_context)); in pkey_pm_load()
|