Home
last modified time | relevance | path

Searched refs:mbedtls_pk_context (Results 1 – 25 of 52) sorted by relevance

123

/third_party/mbedtls/include/mbedtls/
Dpk.h199 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 …]
Dx509_csr.h60 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 );
Dx509_crt.h74 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/
Dpk.c55 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 …]
Dpkwrite.c177 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()
Dpkparse.c125 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()
Dssl_misc.h654 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()
Dpsa_crypto_rsa.c78 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/
Dtest_suite_pkparse.function15 mbedtls_pk_context ctx;
45 mbedtls_pk_context ctx;
70 mbedtls_pk_context ctx;
95 mbedtls_pk_context ctx;
121 mbedtls_pk_context pk;
Dtest_suite_pk.function32 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 …]
Dtest_suite_pkwrite.function15 mbedtls_pk_context key;
55 mbedtls_pk_context key;
Dtest_suite_x509write.function83 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/
Dkey_app_writer.c117 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()
Dpk_verify.c60 mbedtls_pk_context pk; in main()
Drsa_verify_pss.c63 mbedtls_pk_context pk; in main()
Dgen_key.c148 static int write_private_key( mbedtls_pk_context *key, const char *output_file ) in write_private_key()
191 mbedtls_pk_context key; in main()
Dpk_encrypt.c65 mbedtls_pk_context pk; in main()
Dpk_decrypt.c65 mbedtls_pk_context pk; in main()
Drsa_sign_pss.c63 mbedtls_pk_context pk; in main()
Dpk_sign.c62 mbedtls_pk_context pk; in main()
/third_party/mbedtls/programs/fuzz/
Dfuzz_privkey.c15 mbedtls_pk_context pk; in LLVMFuzzerTestOneInput()
Dfuzz_pubkey.c10 mbedtls_pk_context pk; in LLVMFuzzerTestOneInput()
Dfuzz_dtlsserver.c25 static mbedtls_pk_context pkey;
Dfuzz_server.c21 static mbedtls_pk_context pkey;
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/
Dssl_pm.c63 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()

123