/mbedtls-development/library/ |
A D | cipher_wrap.c | 91 static void gcm_ctx_free( void *ctx ) in gcm_ctx_free() 110 static void ccm_ctx_free( void *ctx ) in ccm_ctx_free() 214 static void aes_ctx_free( void *ctx ) in aes_ctx_free() 732 mbedtls_camellia_context *ctx; in camellia_ctx_alloc() local 1141 mbedtls_aria_context *ctx; in aria_ctx_alloc() local 1152 static void aria_ctx_free( void *ctx ) in aria_ctx_free() 1590 static void des_ctx_free( void *ctx ) in des_ctx_free() 1609 static void des3_ctx_free( void *ctx ) in des3_ctx_free() 1797 mbedtls_chacha20_context *ctx; in chacha20_ctx_alloc() local 1869 mbedtls_chachapoly_context *ctx; in chachapoly_ctx_alloc() local [all …]
|
A D | x509write_crt.c | 43 void mbedtls_x509write_crt_init( mbedtls_x509write_cert *ctx ) in mbedtls_x509write_crt_init() 51 void mbedtls_x509write_crt_free( mbedtls_x509write_cert *ctx ) in mbedtls_x509write_crt_free() 62 void mbedtls_x509write_crt_set_version( mbedtls_x509write_cert *ctx, in mbedtls_x509write_crt_set_version() 68 void mbedtls_x509write_crt_set_md_alg( mbedtls_x509write_cert *ctx, in mbedtls_x509write_crt_set_md_alg() 74 void mbedtls_x509write_crt_set_subject_key( mbedtls_x509write_cert *ctx, in mbedtls_x509write_crt_set_subject_key() 80 void mbedtls_x509write_crt_set_issuer_key( mbedtls_x509write_cert *ctx, in mbedtls_x509write_crt_set_issuer_key() 92 int mbedtls_x509write_crt_set_issuer_name( mbedtls_x509write_cert *ctx, in mbedtls_x509write_crt_set_issuer_name() 98 int mbedtls_x509write_crt_set_serial( mbedtls_x509write_cert *ctx, in mbedtls_x509write_crt_set_serial() 109 int mbedtls_x509write_crt_set_validity( mbedtls_x509write_cert *ctx, in mbedtls_x509write_crt_set_validity() 126 int mbedtls_x509write_crt_set_extension( mbedtls_x509write_cert *ctx, in mbedtls_x509write_crt_set_extension() [all …]
|
A 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() 81 void mbedtls_pk_restart_init( mbedtls_pk_restart_ctx *ctx ) in mbedtls_pk_restart_init() 91 void mbedtls_pk_restart_free( mbedtls_pk_restart_ctx *ctx ) in mbedtls_pk_restart_free() 153 int mbedtls_pk_setup_opaque( mbedtls_pk_context *ctx, in mbedtls_pk_setup_opaque() 252 static int pk_restart_setup( mbedtls_pk_restart_ctx *ctx, in pk_restart_setup() 275 int mbedtls_pk_verify_restartable( mbedtls_pk_context *ctx, in mbedtls_pk_verify_restartable() 396 int mbedtls_pk_sign_restartable( mbedtls_pk_context *ctx, in mbedtls_pk_sign_restartable() 462 int mbedtls_pk_decrypt( mbedtls_pk_context *ctx, in mbedtls_pk_decrypt() 485 int mbedtls_pk_encrypt( mbedtls_pk_context *ctx, in mbedtls_pk_encrypt() [all …]
|
A D | hmac_drbg.c | 52 void mbedtls_hmac_drbg_init( mbedtls_hmac_drbg_context *ctx ) in mbedtls_hmac_drbg_init() 62 int mbedtls_hmac_drbg_update( mbedtls_hmac_drbg_context *ctx, in mbedtls_hmac_drbg_update() 110 int mbedtls_hmac_drbg_seed_buf( mbedtls_hmac_drbg_context *ctx, in mbedtls_hmac_drbg_seed_buf() 144 static int hmac_drbg_reseed_core( mbedtls_hmac_drbg_context *ctx, in hmac_drbg_reseed_core() 223 int mbedtls_hmac_drbg_reseed( mbedtls_hmac_drbg_context *ctx, in mbedtls_hmac_drbg_reseed() 235 int mbedtls_hmac_drbg_seed( mbedtls_hmac_drbg_context *ctx, in mbedtls_hmac_drbg_seed() 293 void mbedtls_hmac_drbg_set_prediction_resistance( mbedtls_hmac_drbg_context *ctx, in mbedtls_hmac_drbg_set_prediction_resistance() 324 mbedtls_hmac_drbg_context *ctx = (mbedtls_hmac_drbg_context *) p_rng; in mbedtls_hmac_drbg_random_with_add() local 393 mbedtls_hmac_drbg_context *ctx = (mbedtls_hmac_drbg_context *) p_rng; in mbedtls_hmac_drbg_random() local 414 void mbedtls_hmac_drbg_free( mbedtls_hmac_drbg_context *ctx ) in mbedtls_hmac_drbg_free() [all …]
|
A D | md.c | 230 void mbedtls_md_init( mbedtls_md_context_t *ctx ) in mbedtls_md_init() 235 void mbedtls_md_free( mbedtls_md_context_t *ctx ) in mbedtls_md_free() 359 int mbedtls_md_setup( mbedtls_md_context_t *ctx, const mbedtls_md_info_t *md_info, int hmac ) in mbedtls_md_setup() 423 int mbedtls_md_starts( mbedtls_md_context_t *ctx ) in mbedtls_md_starts() 463 int mbedtls_md_update( mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen ) in mbedtls_md_update() 503 int mbedtls_md_finish( mbedtls_md_context_t *ctx, unsigned char *output ) in mbedtls_md_finish() 590 mbedtls_md_context_t ctx; in mbedtls_md_file() local 680 int mbedtls_md_hmac_finish( mbedtls_md_context_t *ctx, unsigned char *output ) in mbedtls_md_hmac_finish() 704 int mbedtls_md_hmac_reset( mbedtls_md_context_t *ctx ) in mbedtls_md_hmac_reset() 724 mbedtls_md_context_t ctx; in mbedtls_md_hmac() local [all …]
|
A D | ecdh.c | 50 const mbedtls_ecdh_context *ctx ) in mbedtls_ecdh_grp_id() 160 static void ecdh_init_internal( mbedtls_ecdh_context_mbed *ctx ) in ecdh_init_internal() 176 void mbedtls_ecdh_init( mbedtls_ecdh_context *ctx ) in mbedtls_ecdh_init() 196 static int ecdh_setup_internal( mbedtls_ecdh_context_mbed *ctx, in ecdh_setup_internal() 239 static void ecdh_free_internal( mbedtls_ecdh_context_mbed *ctx ) in ecdh_free_internal() 256 void mbedtls_ecdh_enable_restart( mbedtls_ecdh_context *ctx ) in mbedtls_ecdh_enable_restart() 267 void mbedtls_ecdh_free( mbedtls_ecdh_context *ctx ) in mbedtls_ecdh_free() 410 int mbedtls_ecdh_read_params( mbedtls_ecdh_context *ctx, in mbedtls_ecdh_read_params() 471 int mbedtls_ecdh_get_params( mbedtls_ecdh_context *ctx, in mbedtls_ecdh_get_params() 618 int mbedtls_ecdh_read_public( mbedtls_ecdh_context *ctx, in mbedtls_ecdh_read_public() [all …]
|
A D | chachapoly.c | 58 static int chachapoly_pad_aad( mbedtls_chachapoly_context *ctx ) in chachapoly_pad_aad() 78 static int chachapoly_pad_ciphertext( mbedtls_chachapoly_context *ctx ) in chachapoly_pad_ciphertext() 92 void mbedtls_chachapoly_init( mbedtls_chachapoly_context *ctx ) in mbedtls_chachapoly_init() 104 void mbedtls_chachapoly_free( mbedtls_chachapoly_context *ctx ) in mbedtls_chachapoly_free() 117 int mbedtls_chachapoly_setkey( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_setkey() 129 int mbedtls_chachapoly_starts( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_starts() 169 int mbedtls_chachapoly_update_aad( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_update_aad() 184 int mbedtls_chachapoly_update( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_update() 235 int mbedtls_chachapoly_finish( mbedtls_chachapoly_context *ctx, in mbedtls_chachapoly_finish() 278 static int chachapoly_crypt_and_tag( mbedtls_chachapoly_context *ctx, in chachapoly_crypt_and_tag() [all …]
|
A D | x509write_csr.c | 55 void mbedtls_x509write_csr_init( mbedtls_x509write_csr *ctx ) in mbedtls_x509write_csr_init() 60 void mbedtls_x509write_csr_free( mbedtls_x509write_csr *ctx ) in mbedtls_x509write_csr_free() 68 void mbedtls_x509write_csr_set_md_alg( mbedtls_x509write_csr *ctx, mbedtls_md_type_t md_alg ) in mbedtls_x509write_csr_set_md_alg() 73 void mbedtls_x509write_csr_set_key( mbedtls_x509write_csr *ctx, mbedtls_pk_context *key ) in mbedtls_x509write_csr_set_key() 78 int mbedtls_x509write_csr_set_subject_name( mbedtls_x509write_csr *ctx, in mbedtls_x509write_csr_set_subject_name() 84 int mbedtls_x509write_csr_set_extension( mbedtls_x509write_csr *ctx, in mbedtls_x509write_csr_set_extension() 93 int mbedtls_x509write_csr_set_key_usage( mbedtls_x509write_csr *ctx, unsigned char key_usage ) in mbedtls_x509write_csr_set_key_usage() 114 int mbedtls_x509write_csr_set_ns_cert_type( mbedtls_x509write_csr *ctx, in mbedtls_x509write_csr_set_ns_cert_type() 136 static int x509write_csr_der_internal( mbedtls_x509write_csr *ctx, in x509write_csr_der_internal() 295 int mbedtls_x509write_csr_der( mbedtls_x509write_csr *ctx, unsigned char *buf, in mbedtls_x509write_csr_der() [all …]
|
A D | pk_wrap.c | 71 static size_t rsa_get_bitlen( const void *ctx ) in rsa_get_bitlen() 130 static int rsa_decrypt_wrap( void *ctx, in rsa_decrypt_wrap() 144 static int rsa_encrypt_wrap( void *ctx, in rsa_encrypt_wrap() 179 static void rsa_free_wrap( void *ctx ) in rsa_free_wrap() 333 static void eckey_rs_free( void *ctx ) in eckey_rs_free() 417 static void eckey_free_wrap( void *ctx ) in eckey_free_wrap() 560 mbedtls_ecdsa_context *ctx = ctx_arg; in ecdsa_verify_wrap() local 711 static void ecdsa_free_wrap( void *ctx ) in ecdsa_free_wrap() 728 static void ecdsa_rs_free( void *ctx ) in ecdsa_rs_free() 798 static int rsa_alt_decrypt_wrap( void *ctx, in rsa_alt_decrypt_wrap() [all …]
|
A D | ctr_drbg.c | 51 void mbedtls_ctr_drbg_init( mbedtls_ctr_drbg_context *ctx ) in mbedtls_ctr_drbg_init() 65 void mbedtls_ctr_drbg_free( mbedtls_ctr_drbg_context *ctx ) in mbedtls_ctr_drbg_free() 87 void mbedtls_ctr_drbg_set_entropy_len( mbedtls_ctr_drbg_context *ctx, in mbedtls_ctr_drbg_set_entropy_len() 93 int mbedtls_ctr_drbg_set_nonce_len( mbedtls_ctr_drbg_context *ctx, in mbedtls_ctr_drbg_set_nonce_len() 253 static int ctr_drbg_update_internal( mbedtls_ctr_drbg_context *ctx, in ctr_drbg_update_internal() 315 int mbedtls_ctr_drbg_update( mbedtls_ctr_drbg_context *ctx, in mbedtls_ctr_drbg_update() 404 int mbedtls_ctr_drbg_reseed( mbedtls_ctr_drbg_context *ctx, in mbedtls_ctr_drbg_reseed() 434 int mbedtls_ctr_drbg_seed( mbedtls_ctr_drbg_context *ctx, in mbedtls_ctr_drbg_seed() 600 int mbedtls_ctr_drbg_write_seed_file( mbedtls_ctr_drbg_context *ctx, in mbedtls_ctr_drbg_write_seed_file() 631 int mbedtls_ctr_drbg_update_seed_file( mbedtls_ctr_drbg_context *ctx, in mbedtls_ctr_drbg_update_seed_file() [all …]
|
A D | entropy.c | 51 void mbedtls_entropy_init( mbedtls_entropy_context *ctx ) in mbedtls_entropy_init() 90 void mbedtls_entropy_free( mbedtls_entropy_context *ctx ) in mbedtls_entropy_free() 113 int mbedtls_entropy_add_source( mbedtls_entropy_context *ctx, in mbedtls_entropy_add_source() 150 static int entropy_update( mbedtls_entropy_context *ctx, unsigned char source_id, in entropy_update() 206 int mbedtls_entropy_update_manual( mbedtls_entropy_context *ctx, in mbedtls_entropy_update_manual() 229 static int entropy_gather_internal( mbedtls_entropy_context *ctx ) in entropy_gather_internal() 279 int mbedtls_entropy_gather( mbedtls_entropy_context *ctx ) in mbedtls_entropy_gather() 302 mbedtls_entropy_context *ctx = (mbedtls_entropy_context *) data; in mbedtls_entropy_func() local 421 int mbedtls_entropy_update_nv_seed( mbedtls_entropy_context *ctx ) in mbedtls_entropy_update_nv_seed() 442 int mbedtls_entropy_write_seed_file( mbedtls_entropy_context *ctx, const char *path ) in mbedtls_entropy_write_seed_file() [all …]
|
A D | net_sockets.c | 166 void mbedtls_net_init( mbedtls_net_context *ctx ) in mbedtls_net_init() 174 int mbedtls_net_connect( mbedtls_net_context *ctx, const char *host, in mbedtls_net_connect() 297 static int net_would_block( const mbedtls_net_context *ctx ) in net_would_block() 309 static int net_would_block( const mbedtls_net_context *ctx ) in net_would_block() 458 int mbedtls_net_set_block( mbedtls_net_context *ctx ) in mbedtls_net_set_block() 469 int mbedtls_net_set_nonblock( mbedtls_net_context *ctx ) in mbedtls_net_set_nonblock() 570 int mbedtls_net_recv( void *ctx, unsigned char *buf, size_t len ) in mbedtls_net_recv() 607 int mbedtls_net_recv_timeout( void *ctx, unsigned char *buf, in mbedtls_net_recv_timeout() 652 int mbedtls_net_send( void *ctx, const unsigned char *buf, size_t len ) in mbedtls_net_send() 689 void mbedtls_net_close( mbedtls_net_context *ctx ) in mbedtls_net_close() [all …]
|
A D | des.c | 284 void mbedtls_des_init( mbedtls_des_context *ctx ) in mbedtls_des_init() 289 void mbedtls_des_free( mbedtls_des_context *ctx ) in mbedtls_des_free() 297 void mbedtls_des3_init( mbedtls_des3_context *ctx ) in mbedtls_des3_init() 302 void mbedtls_des3_free( mbedtls_des3_context *ctx ) in mbedtls_des3_free() 525 int mbedtls_des3_set2key_enc( mbedtls_des3_context *ctx, in mbedtls_des3_set2key_enc() 539 int mbedtls_des3_set2key_dec( mbedtls_des3_context *ctx, in mbedtls_des3_set2key_dec() 605 int mbedtls_des_crypt_ecb( mbedtls_des_context *ctx, in mbedtls_des_crypt_ecb() 638 int mbedtls_des_crypt_cbc( mbedtls_des_context *ctx, in mbedtls_des_crypt_cbc() 699 int mbedtls_des3_crypt_ecb( mbedtls_des3_context *ctx, in mbedtls_des3_crypt_ecb() 744 int mbedtls_des3_crypt_cbc( mbedtls_des3_context *ctx, in mbedtls_des3_crypt_cbc() [all …]
|
A D | ccm.c | 54 void mbedtls_ccm_init( mbedtls_ccm_context *ctx ) in mbedtls_ccm_init() 59 int mbedtls_ccm_setkey( mbedtls_ccm_context *ctx, in mbedtls_ccm_setkey() 92 void mbedtls_ccm_free( mbedtls_ccm_context *ctx ) in mbedtls_ccm_free() 110 static int mbedtls_ccm_crypt( mbedtls_ccm_context *ctx, in mbedtls_ccm_crypt() 135 static void mbedtls_ccm_clear_state(mbedtls_ccm_context *ctx) { in mbedtls_ccm_clear_state() 203 int mbedtls_ccm_starts( mbedtls_ccm_context *ctx, in mbedtls_ccm_starts() 240 int mbedtls_ccm_set_lengths( mbedtls_ccm_context *ctx, in mbedtls_ccm_set_lengths() 267 int mbedtls_ccm_update_ad( mbedtls_ccm_context *ctx, in mbedtls_ccm_update_ad() 340 int mbedtls_ccm_update( mbedtls_ccm_context *ctx, in mbedtls_ccm_update() 448 int mbedtls_ccm_finish( mbedtls_ccm_context *ctx, in mbedtls_ccm_finish() [all …]
|
A D | ssl_ticket.c | 42 void mbedtls_ssl_ticket_init( mbedtls_ssl_ticket_context *ctx ) in mbedtls_ssl_ticket_init() 69 static int ssl_ticket_gen_key( mbedtls_ssl_ticket_context *ctx, in ssl_ticket_gen_key() 99 static int ssl_ticket_update_keys( mbedtls_ssl_ticket_context *ctx ) in ssl_ticket_update_keys() 127 int mbedtls_ssl_ticket_setup( mbedtls_ssl_ticket_context *ctx, in mbedtls_ssl_ticket_setup() 204 mbedtls_ssl_ticket_context *ctx = p_ticket; in mbedtls_ssl_ticket_write() local 280 mbedtls_ssl_ticket_context *ctx, in ssl_ticket_select_key() 301 mbedtls_ssl_ticket_context *ctx = p_ticket; in mbedtls_ssl_ticket_parse() local 390 void mbedtls_ssl_ticket_free( mbedtls_ssl_ticket_context *ctx ) in mbedtls_ssl_ticket_free()
|
A D | dhm.c | 121 void mbedtls_dhm_init( mbedtls_dhm_context *ctx ) in mbedtls_dhm_init() 127 size_t mbedtls_dhm_get_bitlen( const mbedtls_dhm_context *ctx ) in mbedtls_dhm_get_bitlen() 132 size_t mbedtls_dhm_get_len( const mbedtls_dhm_context *ctx ) in mbedtls_dhm_get_len() 137 int mbedtls_dhm_get_value( const mbedtls_dhm_context *ctx, in mbedtls_dhm_get_value() 171 int mbedtls_dhm_read_params( mbedtls_dhm_context *ctx, in mbedtls_dhm_read_params() 206 static int dhm_make_common( mbedtls_dhm_context *ctx, int x_size, in dhm_make_common() 298 int mbedtls_dhm_set_group( mbedtls_dhm_context *ctx, in mbedtls_dhm_set_group() 319 int mbedtls_dhm_read_public( mbedtls_dhm_context *ctx, in mbedtls_dhm_read_public() 372 static int dhm_update_blinding( mbedtls_dhm_context *ctx, in dhm_update_blinding() 436 int mbedtls_dhm_calc_secret( mbedtls_dhm_context *ctx, in mbedtls_dhm_calc_secret() [all …]
|
A D | ssl_cookie.c | 68 void mbedtls_ssl_cookie_init( mbedtls_ssl_cookie_ctx *ctx ) in mbedtls_ssl_cookie_init() 81 void mbedtls_ssl_cookie_set_timeout( mbedtls_ssl_cookie_ctx *ctx, unsigned long delay ) in mbedtls_ssl_cookie_set_timeout() 86 void mbedtls_ssl_cookie_free( mbedtls_ssl_cookie_ctx *ctx ) in mbedtls_ssl_cookie_free() 97 int mbedtls_ssl_cookie_setup( mbedtls_ssl_cookie_ctx *ctx, in mbedtls_ssl_cookie_setup() 154 mbedtls_ssl_cookie_ctx *ctx = (mbedtls_ssl_cookie_ctx *) p_ctx; in mbedtls_ssl_cookie_write() local 198 mbedtls_ssl_cookie_ctx *ctx = (mbedtls_ssl_cookie_ctx *) p_ctx; in mbedtls_ssl_cookie_check() local
|
A D | cipher.c | 164 void mbedtls_cipher_init( mbedtls_cipher_context_t *ctx ) in mbedtls_cipher_init() 170 void mbedtls_cipher_free( mbedtls_cipher_context_t *ctx ) in mbedtls_cipher_free() 213 int mbedtls_cipher_setup( mbedtls_cipher_context_t *ctx, in mbedtls_cipher_setup() 242 int mbedtls_cipher_setup_psa( mbedtls_cipher_context_t *ctx, in mbedtls_cipher_setup_psa() 273 int mbedtls_cipher_setkey( mbedtls_cipher_context_t *ctx, in mbedtls_cipher_setkey() 371 int mbedtls_cipher_set_iv( mbedtls_cipher_context_t *ctx, in mbedtls_cipher_set_iv() 461 int mbedtls_cipher_reset( mbedtls_cipher_context_t *ctx ) in mbedtls_cipher_reset() 482 int mbedtls_cipher_update_ad( mbedtls_cipher_context_t *ctx, in mbedtls_cipher_update_ad() 959 int mbedtls_cipher_finish( mbedtls_cipher_context_t *ctx, in mbedtls_cipher_finish() 1124 int mbedtls_cipher_write_tag( mbedtls_cipher_context_t *ctx, in mbedtls_cipher_write_tag() [all …]
|
A D | gcm.c | 64 void mbedtls_gcm_init( mbedtls_gcm_context *ctx ) in mbedtls_gcm_init() 78 static int gcm_gen_table( mbedtls_gcm_context *ctx ) in gcm_gen_table() 138 int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx, in mbedtls_gcm_setkey() 248 int mbedtls_gcm_starts( mbedtls_gcm_context *ctx, in mbedtls_gcm_starts() 329 int mbedtls_gcm_update_ad( mbedtls_gcm_context *ctx, in mbedtls_gcm_update_ad() 394 static int gcm_mask( mbedtls_gcm_context *ctx, in gcm_mask() 422 int mbedtls_gcm_update( mbedtls_gcm_context *ctx, in mbedtls_gcm_update() 510 int mbedtls_gcm_finish( mbedtls_gcm_context *ctx, in mbedtls_gcm_finish() 604 int mbedtls_gcm_auth_decrypt( mbedtls_gcm_context *ctx, in mbedtls_gcm_auth_decrypt() 647 void mbedtls_gcm_free( mbedtls_gcm_context *ctx ) in mbedtls_gcm_free() [all …]
|
A D | rsa.c | 91 int mbedtls_rsa_import( mbedtls_rsa_context *ctx, in mbedtls_rsa_import() 114 int mbedtls_rsa_import_raw( mbedtls_rsa_context *ctx, in mbedtls_rsa_import_raw() 243 int mbedtls_rsa_complete( mbedtls_rsa_context *ctx ) in mbedtls_rsa_complete() 395 int mbedtls_rsa_export( const mbedtls_rsa_context *ctx, in mbedtls_rsa_export() 480 void mbedtls_rsa_init( mbedtls_rsa_context *ctx ) in mbedtls_rsa_init() 552 int mbedtls_rsa_gen_key( mbedtls_rsa_context *ctx, in mbedtls_rsa_gen_key() 751 int mbedtls_rsa_public( mbedtls_rsa_context *ctx, in mbedtls_rsa_public() 887 int mbedtls_rsa_private( mbedtls_rsa_context *ctx, in mbedtls_rsa_private() 2122 int mbedtls_rsa_pkcs1_sign( mbedtls_rsa_context *ctx, in mbedtls_rsa_pkcs1_sign() 2403 int mbedtls_rsa_pkcs1_verify( mbedtls_rsa_context *ctx, in mbedtls_rsa_pkcs1_verify() [all …]
|
A D | chacha20.c | 173 void mbedtls_chacha20_init( mbedtls_chacha20_context *ctx ) in mbedtls_chacha20_init() 184 void mbedtls_chacha20_free( mbedtls_chacha20_context *ctx ) in mbedtls_chacha20_free() 192 int mbedtls_chacha20_setkey( mbedtls_chacha20_context *ctx, in mbedtls_chacha20_setkey() 217 int mbedtls_chacha20_starts( mbedtls_chacha20_context* ctx, in mbedtls_chacha20_starts() 240 int mbedtls_chacha20_update( mbedtls_chacha20_context *ctx, in mbedtls_chacha20_update() 312 mbedtls_chacha20_context ctx; in mbedtls_chacha20_crypt() local
|
A D | md5.c | 46 void mbedtls_md5_init( mbedtls_md5_context *ctx ) in mbedtls_md5_init() 51 void mbedtls_md5_free( mbedtls_md5_context *ctx ) in mbedtls_md5_free() 68 int mbedtls_md5_starts( mbedtls_md5_context *ctx ) in mbedtls_md5_starts() 82 int mbedtls_internal_md5_process( mbedtls_md5_context *ctx, in mbedtls_internal_md5_process() 222 int mbedtls_md5_update( mbedtls_md5_context *ctx, in mbedtls_md5_update() 273 int mbedtls_md5_finish( mbedtls_md5_context *ctx, in mbedtls_md5_finish() 337 mbedtls_md5_context ctx; in mbedtls_md5() local
|
A D | poly1305.c | 94 static void poly1305_process( mbedtls_poly1305_context *ctx, in poly1305_process() 202 static void poly1305_compute_mac( const mbedtls_poly1305_context *ctx, in poly1305_compute_mac() 259 void mbedtls_poly1305_init( mbedtls_poly1305_context *ctx ) in mbedtls_poly1305_init() 266 void mbedtls_poly1305_free( mbedtls_poly1305_context *ctx ) in mbedtls_poly1305_free() 274 int mbedtls_poly1305_starts( mbedtls_poly1305_context *ctx, in mbedtls_poly1305_starts() 305 int mbedtls_poly1305_update( mbedtls_poly1305_context *ctx, in mbedtls_poly1305_update() 369 int mbedtls_poly1305_finish( mbedtls_poly1305_context *ctx, in mbedtls_poly1305_finish() 401 mbedtls_poly1305_context ctx; in mbedtls_poly1305_mac() local
|
/mbedtls-development/3rdparty/everest/library/ |
A D | x25519.c | 42 void mbedtls_x25519_init( mbedtls_x25519_context *ctx ) in mbedtls_x25519_init() 50 void mbedtls_x25519_free( mbedtls_x25519_context *ctx ) in mbedtls_x25519_free() 59 int mbedtls_x25519_make_params( mbedtls_x25519_context *ctx, size_t *olen, in mbedtls_x25519_make_params() 90 int mbedtls_x25519_read_params( mbedtls_x25519_context *ctx, in mbedtls_x25519_read_params() 104 int mbedtls_x25519_get_params( mbedtls_x25519_context *ctx, const mbedtls_ecp_keypair *key, in mbedtls_x25519_get_params() 119 int mbedtls_x25519_calc_secret( mbedtls_x25519_context *ctx, size_t *olen, in mbedtls_x25519_calc_secret() 145 int mbedtls_x25519_make_public( mbedtls_x25519_context *ctx, size_t *olen, in mbedtls_x25519_make_public() 174 int mbedtls_x25519_read_public( mbedtls_x25519_context *ctx, in mbedtls_x25519_read_public()
|
A D | everest.c | 40 int mbedtls_everest_setup( mbedtls_ecdh_context_everest *ctx, int grp_id ) in mbedtls_everest_setup() 48 void mbedtls_everest_free( mbedtls_ecdh_context_everest *ctx ) in mbedtls_everest_free() 53 int mbedtls_everest_make_params( mbedtls_ecdh_context_everest *ctx, size_t *olen, in mbedtls_everest_make_params() 62 int mbedtls_everest_read_params( mbedtls_ecdh_context_everest *ctx, in mbedtls_everest_read_params() 70 int mbedtls_everest_get_params( mbedtls_ecdh_context_everest *ctx, in mbedtls_everest_get_params() 81 int mbedtls_everest_make_public( mbedtls_ecdh_context_everest *ctx, size_t *olen, in mbedtls_everest_make_public() 90 int mbedtls_everest_read_public( mbedtls_ecdh_context_everest *ctx, in mbedtls_everest_read_public() 97 int mbedtls_everest_calc_secret( mbedtls_ecdh_context_everest *ctx, size_t *olen, in mbedtls_everest_calc_secret()
|