/openthread-3.4.0/third_party/mbedtls/repo/library/ |
D | cipher_wrap.c | 91 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_gcm_context ) ); in gcm_ctx_alloc() local 99 static void gcm_ctx_free( void *ctx ) in gcm_ctx_free() 110 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_ccm_context ) ); in ccm_ctx_alloc() local 118 static void ccm_ctx_free( void *ctx ) in ccm_ctx_free() 127 static int aes_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_ecb_wrap() 134 static int aes_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, size_t length, in aes_crypt_cbc_wrap() 143 static int aes_crypt_cfb128_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_cfb128_wrap() 153 static int aes_crypt_ofb_wrap( void *ctx, size_t length, size_t *iv_off, in aes_crypt_ofb_wrap() 162 static int aes_crypt_ctr_wrap( void *ctx, size_t length, size_t *nc_off, in aes_crypt_ctr_wrap() 172 static int aes_crypt_xts_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_xts_wrap() [all …]
|
D | md2.c | 77 void mbedtls_md2_init( mbedtls_md2_context *ctx ) in mbedtls_md2_init() 82 void mbedtls_md2_free( mbedtls_md2_context *ctx ) in mbedtls_md2_free() 99 int mbedtls_md2_starts_ret( mbedtls_md2_context *ctx ) in mbedtls_md2_starts_ret() 110 void mbedtls_md2_starts( mbedtls_md2_context *ctx ) in mbedtls_md2_starts() 117 int mbedtls_internal_md2_process( mbedtls_md2_context *ctx ) in mbedtls_internal_md2_process() 157 void mbedtls_md2_process( mbedtls_md2_context *ctx ) in mbedtls_md2_process() 167 int mbedtls_md2_update_ret( mbedtls_md2_context *ctx, in mbedtls_md2_update_ret() 199 void mbedtls_md2_update( mbedtls_md2_context *ctx, in mbedtls_md2_update() 210 int mbedtls_md2_finish_ret( mbedtls_md2_context *ctx, in mbedtls_md2_finish_ret() 235 void mbedtls_md2_finish( mbedtls_md2_context *ctx, in mbedtls_md2_finish() [all …]
|
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() 86 int mbedtls_x509write_crt_set_subject_name( mbedtls_x509write_cert *ctx, in mbedtls_x509write_crt_set_subject_name() 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() [all …]
|
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() 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() 255 static int pk_restart_setup( mbedtls_pk_restart_ctx *ctx, in pk_restart_setup() 278 int mbedtls_pk_verify_restartable( mbedtls_pk_context *ctx, in mbedtls_pk_verify_restartable() [all …]
|
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_ret( mbedtls_hmac_drbg_context *ctx, in mbedtls_hmac_drbg_update_ret() 108 void mbedtls_hmac_drbg_update( mbedtls_hmac_drbg_context *ctx, in mbedtls_hmac_drbg_update() 119 int mbedtls_hmac_drbg_seed_buf( mbedtls_hmac_drbg_context *ctx, in mbedtls_hmac_drbg_seed_buf() 153 static int hmac_drbg_reseed_core( mbedtls_hmac_drbg_context *ctx, in hmac_drbg_reseed_core() 232 int mbedtls_hmac_drbg_reseed( mbedtls_hmac_drbg_context *ctx, in mbedtls_hmac_drbg_reseed() 244 int mbedtls_hmac_drbg_seed( mbedtls_hmac_drbg_context *ctx, in mbedtls_hmac_drbg_seed() 302 void mbedtls_hmac_drbg_set_prediction_resistance( mbedtls_hmac_drbg_context *ctx, in mbedtls_hmac_drbg_set_prediction_resistance() 311 void mbedtls_hmac_drbg_set_entropy_len( mbedtls_hmac_drbg_context *ctx, size_t len ) in mbedtls_hmac_drbg_set_entropy_len() 319 void mbedtls_hmac_drbg_set_reseed_interval( mbedtls_hmac_drbg_context *ctx, int interval ) in mbedtls_hmac_drbg_set_reseed_interval() [all …]
|
D | md.c | 265 void mbedtls_md_init( mbedtls_md_context_t *ctx ) in mbedtls_md_init() 270 void mbedtls_md_free( mbedtls_md_context_t *ctx ) in mbedtls_md_free() 394 int mbedtls_md_init_ctx( mbedtls_md_context_t *ctx, const mbedtls_md_info_t *md_info ) in mbedtls_md_init_ctx() 409 int mbedtls_md_setup( mbedtls_md_context_t *ctx, const mbedtls_md_info_t *md_info, int hmac ) in mbedtls_md_setup() 477 int mbedtls_md_starts( mbedtls_md_context_t *ctx ) in mbedtls_md_starts() 523 int mbedtls_md_update( mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen ) in mbedtls_md_update() 567 int mbedtls_md_finish( mbedtls_md_context_t *ctx, unsigned char *output ) in mbedtls_md_finish() 664 mbedtls_md_context_t ctx; in mbedtls_md_file() local 699 int mbedtls_md_hmac_starts( mbedtls_md_context_t *ctx, const unsigned char *key, size_t keylen ) in mbedtls_md_hmac_starts() 746 int mbedtls_md_hmac_update( mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen ) in mbedtls_md_hmac_update() [all …]
|
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() 92 int mbedtls_x509write_csr_set_key_usage( mbedtls_x509write_csr *ctx, unsigned char key_usage ) in mbedtls_x509write_csr_set_key_usage() 113 int mbedtls_x509write_csr_set_ns_cert_type( mbedtls_x509write_csr *ctx, in mbedtls_x509write_csr_set_ns_cert_type() 135 static int x509write_csr_der_internal( mbedtls_x509write_csr *ctx, in x509write_csr_der_internal() 293 int mbedtls_x509write_csr_der( mbedtls_x509write_csr *ctx, unsigned char *buf, in mbedtls_x509write_csr_der() [all …]
|
D | ecdh.c | 48 const mbedtls_ecdh_context *ctx ) in mbedtls_ecdh_grp_id() 158 static void ecdh_init_internal( mbedtls_ecdh_context_mbed *ctx ) in ecdh_init_internal() 174 void mbedtls_ecdh_init( mbedtls_ecdh_context *ctx ) in mbedtls_ecdh_init() 194 static int ecdh_setup_internal( mbedtls_ecdh_context_mbed *ctx, in ecdh_setup_internal() 211 int mbedtls_ecdh_setup( mbedtls_ecdh_context *ctx, mbedtls_ecp_group_id grp_id ) in mbedtls_ecdh_setup() 237 static void ecdh_free_internal( mbedtls_ecdh_context_mbed *ctx ) in ecdh_free_internal() 254 void mbedtls_ecdh_enable_restart( mbedtls_ecdh_context *ctx ) in mbedtls_ecdh_enable_restart() 265 void mbedtls_ecdh_free( mbedtls_ecdh_context *ctx ) in mbedtls_ecdh_free() 296 static int ecdh_make_params_internal( mbedtls_ecdh_context_mbed *ctx, in ecdh_make_params_internal() 354 int mbedtls_ecdh_make_params( mbedtls_ecdh_context *ctx, size_t *olen, in mbedtls_ecdh_make_params() [all …]
|
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() 81 void mbedtls_ctr_drbg_set_prediction_resistance( mbedtls_ctr_drbg_context *ctx, in mbedtls_ctr_drbg_set_prediction_resistance() 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() 119 void mbedtls_ctr_drbg_set_reseed_interval( mbedtls_ctr_drbg_context *ctx, in mbedtls_ctr_drbg_set_reseed_interval() 253 static int ctr_drbg_update_internal( mbedtls_ctr_drbg_context *ctx, in ctr_drbg_update_internal() 315 int mbedtls_ctr_drbg_update_ret( mbedtls_ctr_drbg_context *ctx, in mbedtls_ctr_drbg_update_ret() 336 void mbedtls_ctr_drbg_update( mbedtls_ctr_drbg_context *ctx, in mbedtls_ctr_drbg_update() 361 static int mbedtls_ctr_drbg_reseed_internal( mbedtls_ctr_drbg_context *ctx, in mbedtls_ctr_drbg_reseed_internal() [all …]
|
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 …]
|
D | pk_wrap.c | 71 static size_t rsa_get_bitlen( const void *ctx ) in rsa_get_bitlen() 77 static int rsa_verify_wrap( void *ctx, mbedtls_md_type_t md_alg, in rsa_verify_wrap() 109 static int rsa_sign_wrap( void *ctx, mbedtls_md_type_t md_alg, in rsa_sign_wrap() 127 static int rsa_decrypt_wrap( void *ctx, in rsa_decrypt_wrap() 141 static int rsa_encrypt_wrap( void *ctx, in rsa_encrypt_wrap() 164 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_rsa_context ) ); in rsa_alloc_wrap() local 172 static void rsa_free_wrap( void *ctx ) in rsa_free_wrap() 178 static void rsa_debug( const void *ctx, mbedtls_pk_debug_item *items ) in rsa_debug() 226 static size_t eckey_get_bitlen( const void *ctx ) in eckey_get_bitlen() 242 static int eckey_verify_wrap( void *ctx, mbedtls_md_type_t md_alg, in eckey_verify_wrap() [all …]
|
D | entropy.c | 60 void mbedtls_entropy_init( mbedtls_entropy_context *ctx ) in mbedtls_entropy_init() 117 void mbedtls_entropy_free( mbedtls_entropy_context *ctx ) in mbedtls_entropy_free() 143 int mbedtls_entropy_add_source( mbedtls_entropy_context *ctx, in mbedtls_entropy_add_source() 180 static int entropy_update( mbedtls_entropy_context *ctx, unsigned char source_id, in entropy_update() 236 int mbedtls_entropy_update_manual( mbedtls_entropy_context *ctx, in mbedtls_entropy_update_manual() 259 static int entropy_gather_internal( mbedtls_entropy_context *ctx ) in entropy_gather_internal() 309 int mbedtls_entropy_gather( mbedtls_entropy_context *ctx ) in mbedtls_entropy_gather() 332 mbedtls_entropy_context *ctx = (mbedtls_entropy_context *) data; in mbedtls_entropy_func() local 451 int mbedtls_entropy_update_nv_seed( mbedtls_entropy_context *ctx ) in mbedtls_entropy_update_nv_seed() 472 int mbedtls_entropy_write_seed_file( mbedtls_entropy_context *ctx, const char *path ) in mbedtls_entropy_write_seed_file() [all …]
|
D | xtea.c | 40 void mbedtls_xtea_init( mbedtls_xtea_context *ctx ) in mbedtls_xtea_init() 45 void mbedtls_xtea_free( mbedtls_xtea_context *ctx ) in mbedtls_xtea_free() 56 void mbedtls_xtea_setup( mbedtls_xtea_context *ctx, const unsigned char key[16] ) in mbedtls_xtea_setup() 71 int mbedtls_xtea_crypt_ecb( mbedtls_xtea_context *ctx, int mode, in mbedtls_xtea_crypt_ecb() 114 int mbedtls_xtea_crypt_cbc( mbedtls_xtea_context *ctx, int mode, size_t length, in mbedtls_xtea_crypt_cbc() 211 mbedtls_xtea_context ctx; in mbedtls_xtea_self_test() local
|
D | blowfish.c | 54 static uint32_t F( mbedtls_blowfish_context *ctx, uint32_t x ) in F() 73 static void blowfish_enc( mbedtls_blowfish_context *ctx, uint32_t *xl, uint32_t *xr ) in blowfish_enc() 102 static void blowfish_dec( mbedtls_blowfish_context *ctx, uint32_t *xl, uint32_t *xr ) in blowfish_dec() 131 void mbedtls_blowfish_init( mbedtls_blowfish_context *ctx ) in mbedtls_blowfish_init() 137 void mbedtls_blowfish_free( mbedtls_blowfish_context *ctx ) in mbedtls_blowfish_free() 148 int mbedtls_blowfish_setkey( mbedtls_blowfish_context *ctx, in mbedtls_blowfish_setkey() 210 int mbedtls_blowfish_crypt_ecb( mbedtls_blowfish_context *ctx, in mbedtls_blowfish_crypt_ecb() 244 int mbedtls_blowfish_crypt_cbc( mbedtls_blowfish_context *ctx, in mbedtls_blowfish_crypt_cbc() 304 int mbedtls_blowfish_crypt_cfb64( mbedtls_blowfish_context *ctx, in mbedtls_blowfish_crypt_cfb64() 364 int mbedtls_blowfish_crypt_ctr( mbedtls_blowfish_context *ctx, in mbedtls_blowfish_crypt_ctr()
|
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() 222 int mbedtls_net_bind( mbedtls_net_context *ctx, const char *bind_ip, const char *port, int proto ) in mbedtls_net_bind() 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() 484 int mbedtls_net_poll( mbedtls_net_context *ctx, uint32_t rw, uint32_t timeout ) in mbedtls_net_poll() 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() [all …]
|
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() 206 mbedtls_ssl_ticket_context *ctx = p_ticket; in mbedtls_ssl_ticket_write() local 282 mbedtls_ssl_ticket_context *ctx, in ssl_ticket_select_key() 303 mbedtls_ssl_ticket_context *ctx = p_ticket; in mbedtls_ssl_ticket_parse() local 392 void mbedtls_ssl_ticket_free( mbedtls_ssl_ticket_context *ctx ) in mbedtls_ssl_ticket_free()
|
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() 472 int mbedtls_des_setkey_enc( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… in mbedtls_des_setkey_enc() 482 int mbedtls_des_setkey_dec( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… in mbedtls_des_setkey_dec() 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() 576 int mbedtls_des3_set3key_enc( mbedtls_des3_context *ctx, in mbedtls_des3_set3key_enc() 590 int mbedtls_des3_set3key_dec( mbedtls_des3_context *ctx, in mbedtls_des3_set3key_dec() [all …]
|
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_ret( mbedtls_md5_context *ctx ) in mbedtls_md5_starts_ret() 82 void mbedtls_md5_starts( mbedtls_md5_context *ctx ) in mbedtls_md5_starts() 89 int mbedtls_internal_md5_process( mbedtls_md5_context *ctx, in mbedtls_internal_md5_process() 225 void mbedtls_md5_process( mbedtls_md5_context *ctx, in mbedtls_md5_process() 236 int mbedtls_md5_update_ret( mbedtls_md5_context *ctx, in mbedtls_md5_update_ret() 285 void mbedtls_md5_update( mbedtls_md5_context *ctx, in mbedtls_md5_update() 296 int mbedtls_md5_finish_ret( mbedtls_md5_context *ctx, in mbedtls_md5_finish_ret() 351 void mbedtls_md5_finish( mbedtls_md5_context *ctx, in mbedtls_md5_finish() [all …]
|
D | arc4.c | 45 void mbedtls_arc4_init( mbedtls_arc4_context *ctx ) in mbedtls_arc4_init() 50 void mbedtls_arc4_free( mbedtls_arc4_context *ctx ) in mbedtls_arc4_free() 61 void mbedtls_arc4_setup( mbedtls_arc4_context *ctx, const unsigned char *key, in mbedtls_arc4_setup() 91 int mbedtls_arc4_crypt( mbedtls_arc4_context *ctx, size_t length, const unsigned char *input, in mbedtls_arc4_crypt() 157 mbedtls_arc4_context ctx; in mbedtls_arc4_self_test() local
|
D | sha1.c | 51 void mbedtls_sha1_init( mbedtls_sha1_context *ctx ) in mbedtls_sha1_init() 58 void mbedtls_sha1_free( mbedtls_sha1_context *ctx ) in mbedtls_sha1_free() 78 int mbedtls_sha1_starts_ret( mbedtls_sha1_context *ctx ) in mbedtls_sha1_starts_ret() 95 void mbedtls_sha1_starts( mbedtls_sha1_context *ctx ) in mbedtls_sha1_starts() 102 int mbedtls_internal_sha1_process( mbedtls_sha1_context *ctx, in mbedtls_internal_sha1_process() 275 void mbedtls_sha1_process( mbedtls_sha1_context *ctx, in mbedtls_sha1_process() 286 int mbedtls_sha1_update_ret( mbedtls_sha1_context *ctx, in mbedtls_sha1_update_ret() 337 void mbedtls_sha1_update( mbedtls_sha1_context *ctx, in mbedtls_sha1_update() 348 int mbedtls_sha1_finish_ret( mbedtls_sha1_context *ctx, in mbedtls_sha1_finish_ret() 407 void mbedtls_sha1_finish( mbedtls_sha1_context *ctx, in mbedtls_sha1_finish() [all …]
|
D | sha256.c | 53 void mbedtls_sha256_init( mbedtls_sha256_context *ctx ) in mbedtls_sha256_init() 60 void mbedtls_sha256_free( mbedtls_sha256_context *ctx ) in mbedtls_sha256_free() 80 int mbedtls_sha256_starts_ret( mbedtls_sha256_context *ctx, int is224 ) in mbedtls_sha256_starts_ret() 119 void mbedtls_sha256_starts( mbedtls_sha256_context *ctx, in mbedtls_sha256_starts() 173 int mbedtls_internal_sha256_process( mbedtls_sha256_context *ctx, in mbedtls_internal_sha256_process() 262 void mbedtls_sha256_process( mbedtls_sha256_context *ctx, in mbedtls_sha256_process() 273 int mbedtls_sha256_update_ret( mbedtls_sha256_context *ctx, in mbedtls_sha256_update_ret() 324 void mbedtls_sha256_update( mbedtls_sha256_context *ctx, in mbedtls_sha256_update() 335 int mbedtls_sha256_finish_ret( mbedtls_sha256_context *ctx, in mbedtls_sha256_finish_ret() 399 void mbedtls_sha256_finish( mbedtls_sha256_context *ctx, in mbedtls_sha256_finish() [all …]
|
D | md4.c | 47 void mbedtls_md4_init( mbedtls_md4_context *ctx ) in mbedtls_md4_init() 52 void mbedtls_md4_free( mbedtls_md4_context *ctx ) in mbedtls_md4_free() 69 int mbedtls_md4_starts_ret( mbedtls_md4_context *ctx ) in mbedtls_md4_starts_ret() 83 void mbedtls_md4_starts( mbedtls_md4_context *ctx ) in mbedtls_md4_starts() 90 int mbedtls_internal_md4_process( mbedtls_md4_context *ctx, in mbedtls_internal_md4_process() 219 void mbedtls_md4_process( mbedtls_md4_context *ctx, in mbedtls_md4_process() 230 int mbedtls_md4_update_ret( mbedtls_md4_context *ctx, in mbedtls_md4_update_ret() 282 void mbedtls_md4_update( mbedtls_md4_context *ctx, in mbedtls_md4_update() 301 int mbedtls_md4_finish_ret( mbedtls_md4_context *ctx, in mbedtls_md4_finish_ret() 336 void mbedtls_md4_finish( mbedtls_md4_context *ctx, in mbedtls_md4_finish() [all …]
|
D | sha512.c | 68 void mbedtls_sha512_init( mbedtls_sha512_context *ctx ) in mbedtls_sha512_init() 75 void mbedtls_sha512_free( mbedtls_sha512_context *ctx ) in mbedtls_sha512_free() 95 int mbedtls_sha512_starts_ret( mbedtls_sha512_context *ctx, int is384 ) in mbedtls_sha512_starts_ret() 144 void mbedtls_sha512_starts( mbedtls_sha512_context *ctx, in mbedtls_sha512_starts() 200 int mbedtls_internal_sha512_process( mbedtls_sha512_context *ctx, in mbedtls_internal_sha512_process() 303 void mbedtls_sha512_process( mbedtls_sha512_context *ctx, in mbedtls_sha512_process() 314 int mbedtls_sha512_update_ret( mbedtls_sha512_context *ctx, in mbedtls_sha512_update_ret() 364 void mbedtls_sha512_update( mbedtls_sha512_context *ctx, in mbedtls_sha512_update() 375 int mbedtls_sha512_finish_ret( mbedtls_sha512_context *ctx, in mbedtls_sha512_finish_ret() 443 void mbedtls_sha512_finish( mbedtls_sha512_context *ctx, in mbedtls_sha512_finish() [all …]
|
/openthread-3.4.0/third_party/mbedtls/repo/3rdparty/everest/library/ |
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()
|
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()
|