Home
last modified time | relevance | path

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

12

/openthread-2.7.6/third_party/mbedtls/repo/include/mbedtls/
Dpk.h185 typedef struct mbedtls_pk_context struct
189 } mbedtls_pk_context; argument
212 static inline mbedtls_rsa_context *mbedtls_pk_rsa( const mbedtls_pk_context pk ) in mbedtls_pk_rsa()
225 static inline mbedtls_ecp_keypair *mbedtls_pk_ec( const mbedtls_pk_context pk ) in mbedtls_pk_ec()
260 void mbedtls_pk_init( mbedtls_pk_context *ctx );
273 void mbedtls_pk_free( mbedtls_pk_context *ctx );
308 int mbedtls_pk_setup( mbedtls_pk_context *ctx, const mbedtls_pk_info_t *info );
339 int mbedtls_pk_setup_opaque( mbedtls_pk_context *ctx,
359 int mbedtls_pk_setup_rsa_alt( mbedtls_pk_context *ctx, void * key,
372 size_t mbedtls_pk_get_bitlen( const mbedtls_pk_context *ctx );
[all …]
Dx509_csr.h59 mbedtls_pk_context pk; /**< Container for the public key context. */
74 mbedtls_pk_context *key;
187 void mbedtls_x509write_csr_set_key( mbedtls_x509write_csr *ctx, mbedtls_pk_context *key );
Dx509_crt.h73 mbedtls_pk_context pk; /**< Container for the public key context. */
186 mbedtls_pk_context *subject_key;
187 mbedtls_pk_context *issuer_key;
928 void mbedtls_x509write_crt_set_subject_key( mbedtls_x509write_cert *ctx, mbedtls_pk_context *key );
936 void mbedtls_x509write_crt_set_issuer_key( mbedtls_x509write_cert *ctx, mbedtls_pk_context *key );
Dssl_internal.h499 mbedtls_pk_context peer_pubkey; /*!< The public key from the peer. */
861 mbedtls_pk_context *key; /*!< private key */
1085 unsigned char mbedtls_ssl_sig_from_pk( mbedtls_pk_context *pk );
1121 static inline mbedtls_pk_context *mbedtls_ssl_own_key( mbedtls_ssl_context *ssl ) in mbedtls_ssl_own_key()
/openthread-2.7.6/third_party/mbedtls/repo/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( mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_pubkey_der()
313 int mbedtls_pk_write_key_der( mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_key_der()
556 int mbedtls_pk_write_pubkey_pem( mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_pubkey_pem()
581 int mbedtls_pk_write_key_pem( 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()
153 int mbedtls_pk_parse_public_keyfile( mbedtls_pk_context *ctx, const char *path ) in mbedtls_pk_parse_public_keyfile()
611 mbedtls_pk_context *pk ) in mbedtls_pk_parse_subpubkey()
1000 mbedtls_pk_context *pk, in pk_parse_key_pkcs8_unencrypted_der()
1095 mbedtls_pk_context *pk, in pk_parse_key_pkcs8_encrypted_der()
1214 int mbedtls_pk_parse_key( mbedtls_pk_context *pk, in mbedtls_pk_parse_key()
1427 int mbedtls_pk_parse_public_key( mbedtls_pk_context *ctx, in mbedtls_pk_parse_public_key()
Dx509write_crt.c75 mbedtls_pk_context *key ) in mbedtls_x509write_crt_set_subject_key()
81 mbedtls_pk_context *key ) in mbedtls_x509write_crt_set_issuer_key()
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/
Dtest_suite_pkparse.function15 mbedtls_pk_context ctx;
44 mbedtls_pk_context ctx;
69 mbedtls_pk_context ctx;
94 mbedtls_pk_context ctx;
119 mbedtls_pk_context pk;
Dtest_suite_pkwrite.function15 mbedtls_pk_context key;
55 mbedtls_pk_context key;
Dtest_suite_pk.function44 static int pk_genkey( mbedtls_pk_context *pk, int parameter )
135 mbedtls_pk_context pk, pk2;
219 mbedtls_pk_context pk;
311 mbedtls_pk_context pk;
346 mbedtls_pk_context pk;
610 mbedtls_pk_context pk;
631 mbedtls_pk_context pub, prv, alt;
666 mbedtls_pk_context pk;
715 mbedtls_pk_context pk;
769 mbedtls_pk_context pk;
[all …]
Dtest_suite_x509write.function102 mbedtls_pk_context key;
168 mbedtls_pk_context key;
224 mbedtls_pk_context subject_key, issuer_key, issuer_key_alt;
225 mbedtls_pk_context *key = &issuer_key;
/openthread-2.7.6/src/core/crypto/
Decdsa.cpp56 mbedtls_pk_context pk; in Generate()
84 mbedtls_pk_context *pk = reinterpret_cast<mbedtls_pk_context *>(aContext); in Parse()
98 mbedtls_pk_context pk; in GetPublicKey()
120 mbedtls_pk_context pk; in Sign()
212 mbedtls_pk_context pkCtx; in Sign()
/openthread-2.7.6/third_party/mbedtls/repo/programs/pkey/
Dkey_app_writer.c112 static int write_public_key( mbedtls_pk_context *key, const char *output_file ) in write_public_key()
154 static int write_private_key( mbedtls_pk_context *key, const char *output_file ) in write_private_key()
204 mbedtls_pk_context key; in main()
Dpk_verify.c64 mbedtls_pk_context pk; in main()
Drsa_verify_pss.c67 mbedtls_pk_context pk; in main()
Dpk_decrypt.c69 mbedtls_pk_context pk; in main()
Dpk_encrypt.c69 mbedtls_pk_context pk; in main()
Dpk_sign.c66 mbedtls_pk_context pk; in main()
Drsa_sign_pss.c67 mbedtls_pk_context pk; in main()
Dgen_key.c152 static int write_private_key( mbedtls_pk_context *key, const char *output_file ) in write_private_key()
195 mbedtls_pk_context key; in main()
/openthread-2.7.6/third_party/mbedtls/repo/programs/fuzz/
Dfuzz_privkey.c12 mbedtls_pk_context pk; in LLVMFuzzerTestOneInput()
Dfuzz_pubkey.c8 mbedtls_pk_context pk; in LLVMFuzzerTestOneInput()
Dfuzz_dtlsserver.c23 static mbedtls_pk_context pkey;
Dfuzz_server.c19 static mbedtls_pk_context pkey;

12