Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dpk.h200 typedef struct mbedtls_pk_context struct
204 } mbedtls_pk_context; argument
249 void mbedtls_pk_init( mbedtls_pk_context *ctx );
262 void mbedtls_pk_free( mbedtls_pk_context *ctx );
328 int mbedtls_pk_setup_opaque( mbedtls_pk_context *ctx,
564 int mbedtls_pk_decrypt( mbedtls_pk_context *ctx,
585 int mbedtls_pk_encrypt( mbedtls_pk_context *ctx,
602 int mbedtls_pk_check_pair( const mbedtls_pk_context *pub, const mbedtls_pk_context *prv );
712 int mbedtls_pk_parse_key( mbedtls_pk_context *ctx,
862 mbedtls_pk_context *pk );
[all …]
A Dx509_csr.h59 mbedtls_pk_context pk; /**< Container for the public key context. */
74 mbedtls_pk_context *key;
186 void mbedtls_x509write_csr_set_key( mbedtls_x509write_csr *ctx, mbedtls_pk_context *key );
A Dx509_crt.h73 mbedtls_pk_context pk; /**< Container for the public key context. */
188 mbedtls_pk_context *subject_key;
189 mbedtls_pk_context *issuer_key;
938 void mbedtls_x509write_crt_set_subject_key( mbedtls_x509write_cert *ctx, mbedtls_pk_context *key );
946 void mbedtls_x509write_crt_set_issuer_key( mbedtls_x509write_cert *ctx, mbedtls_pk_context *key );
A Dssl_internal.h543 mbedtls_pk_context peer_pubkey; /*!< The public key from the peer. */
880 mbedtls_pk_context *key; /*!< private key */
1122 unsigned char mbedtls_ssl_sig_from_pk( mbedtls_pk_context *pk );
1163 static inline mbedtls_pk_context *mbedtls_ssl_own_key( mbedtls_ssl_context *ssl ) in mbedtls_ssl_own_key()
A Dssl.h2817 mbedtls_pk_context *pk_key );
3154 mbedtls_pk_context *pk_key );
A Dcompat-1.3.h2130 #define pk_context mbedtls_pk_context
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A 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()
153 int mbedtls_pk_setup_opaque( mbedtls_pk_context *ctx, in mbedtls_pk_setup_opaque()
278 int mbedtls_pk_verify_restartable( mbedtls_pk_context *ctx, in mbedtls_pk_verify_restartable()
400 int mbedtls_pk_sign_restartable( mbedtls_pk_context *ctx, in mbedtls_pk_sign_restartable()
461 int mbedtls_pk_decrypt( mbedtls_pk_context *ctx, in mbedtls_pk_decrypt()
484 int mbedtls_pk_encrypt( mbedtls_pk_context *ctx, in mbedtls_pk_encrypt()
507 int mbedtls_pk_check_pair( const mbedtls_pk_context *pub, const mbedtls_pk_context *prv ) in mbedtls_pk_check_pair()
538 size_t mbedtls_pk_get_bitlen( const mbedtls_pk_context *ctx ) in mbedtls_pk_get_bitlen()
[all …]
A 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()
A 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()
1097 mbedtls_pk_context *pk, in pk_parse_key_pkcs8_encrypted_der()
1216 int mbedtls_pk_parse_key( mbedtls_pk_context *pk, in mbedtls_pk_parse_key()
1432 int mbedtls_pk_parse_public_key( mbedtls_pk_context *ctx, in mbedtls_pk_parse_public_key()
A 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()
A Dx509write_csr.c73 void mbedtls_x509write_csr_set_key( mbedtls_x509write_csr *ctx, mbedtls_pk_context *key ) in mbedtls_x509write_csr_set_key()
A Ddebug.c278 const char *text, const mbedtls_pk_context *pk ) in debug_print_pk()
A Dssl_srv.c927 static int ssl_check_key_curve( mbedtls_pk_context *pk, in ssl_check_key_curve()
3268 mbedtls_pk_context *own_key = mbedtls_ssl_own_key( ssl ); in ssl_get_ecdh_params_from_cert()
3906 mbedtls_pk_context *private_key = mbedtls_ssl_own_key( ssl ); in ssl_decrypt_encrypted_pms()
3907 mbedtls_pk_context *public_key = &mbedtls_ssl_own_cert( ssl )->pk; in ssl_decrypt_encrypted_pms()
4490 mbedtls_pk_context * peer_pk; in ssl_parse_certificate_verify()
A Dpk_wrap.c548 mbedtls_pk_context key; in ecdsa_verify_wrap()
A Dssl_cli.c2885 mbedtls_pk_context * peer_pk; in ssl_write_encrypted_pms()
3037 mbedtls_pk_context * peer_pk; in ssl_get_ecdh_params_from_cert()
3312 mbedtls_pk_context * peer_pk; in ssl_parse_server_key_exchange()
A Dssl_tls.c2716 const mbedtls_pk_context *pk = &chain->pk; in ssl_parse_certificate_verify()
4335 mbedtls_pk_context *key ) in ssl_append_key_cert()
4365 mbedtls_pk_context *pk_key ) in mbedtls_ssl_conf_own_cert()
4404 mbedtls_pk_context *pk_key ) in mbedtls_ssl_set_hs_own_cert()
7180 unsigned char mbedtls_ssl_sig_from_pk( mbedtls_pk_context *pk ) in mbedtls_ssl_sig_from_pk()
A Dx509_crt.c193 const mbedtls_pk_context *pk ) in x509_profile_check_key()
/optee_os-3.20.0/ta/pkcs11/src/
A Dpkcs11_attributes.c2242 mbedtls_pk_context pk = { }; in set_private_key_data_rsa()
2434 mbedtls_pk_context pk = { }; in encode_rsa_private_key_der()

Completed in 88 milliseconds