| /components/drivers/hwcrypto/ |
| A D | hw_gcm.c | 26 struct rt_hwcrypto_ctx *ctx; in rt_hwcrypto_gcm_create() local 41 void rt_hwcrypto_gcm_destroy(struct rt_hwcrypto_ctx *ctx) in rt_hwcrypto_gcm_destroy() 55 rt_err_t rt_hwcrypto_gcm_start(struct rt_hwcrypto_ctx *ctx, const rt_uint8_t *add, in rt_hwcrypto_gcm_start() 99 rt_err_t rt_hwcrypto_gcm_crypt(struct rt_hwcrypto_ctx *ctx, hwcrypto_mode mode, in rt_hwcrypto_gcm_crypt() 114 rt_err_t rt_hwcrypto_gcm_setkey(struct rt_hwcrypto_ctx *ctx, in rt_hwcrypto_gcm_setkey() 129 rt_err_t rt_hwcrypto_gcm_getkey(struct rt_hwcrypto_ctx *ctx, in rt_hwcrypto_gcm_getkey() 144 rt_err_t rt_hwcrypto_gcm_setiv(struct rt_hwcrypto_ctx *ctx, in rt_hwcrypto_gcm_setiv() 159 rt_err_t rt_hwcrypto_gcm_getiv(struct rt_hwcrypto_ctx *ctx, in rt_hwcrypto_gcm_getiv() 171 void rt_hwcrypto_gcm_set_ivoff(struct rt_hwcrypto_ctx *ctx, rt_int32_t iv_off) in rt_hwcrypto_gcm_set_ivoff() 182 void rt_hwcrypto_gcm_get_ivoff(struct rt_hwcrypto_ctx *ctx, rt_int32_t *iv_off) in rt_hwcrypto_gcm_get_ivoff() [all …]
|
| A D | hw_symmetric.c | 25 struct rt_hwcrypto_ctx *ctx; in rt_hwcrypto_symmetric_create() local 36 void rt_hwcrypto_symmetric_destroy(struct rt_hwcrypto_ctx *ctx) in rt_hwcrypto_symmetric_destroy() 52 rt_err_t rt_hwcrypto_symmetric_crypt(struct rt_hwcrypto_ctx *ctx, hwcrypto_mode mode, rt_size_t len… in rt_hwcrypto_symmetric_crypt() 95 rt_err_t rt_hwcrypto_symmetric_setkey(struct rt_hwcrypto_ctx *ctx, const rt_uint8_t *key, rt_uint32… in rt_hwcrypto_symmetric_setkey() 122 int rt_hwcrypto_symmetric_getkey(struct rt_hwcrypto_ctx *ctx, rt_uint8_t *key, rt_uint32_t bitlen) in rt_hwcrypto_symmetric_getkey() 144 rt_err_t rt_hwcrypto_symmetric_setiv(struct rt_hwcrypto_ctx *ctx, const rt_uint8_t *iv, rt_size_t l… in rt_hwcrypto_symmetric_setiv() 170 int rt_hwcrypto_symmetric_getiv(struct rt_hwcrypto_ctx *ctx, rt_uint8_t *iv, rt_size_t len) in rt_hwcrypto_symmetric_getiv() 189 void rt_hwcrypto_symmetric_set_ivoff(struct rt_hwcrypto_ctx *ctx, rt_int32_t iv_off) in rt_hwcrypto_symmetric_set_ivoff() 205 void rt_hwcrypto_symmetric_get_ivoff(struct rt_hwcrypto_ctx *ctx, rt_int32_t *iv_off) in rt_hwcrypto_symmetric_get_ivoff() 247 void rt_hwcrypto_symmetric_reset(struct rt_hwcrypto_ctx *ctx) in rt_hwcrypto_symmetric_reset() [all …]
|
| A D | hw_hash.c | 25 struct rt_hwcrypto_ctx *ctx; in rt_hwcrypto_hash_create() local 36 void rt_hwcrypto_hash_destroy(struct rt_hwcrypto_ctx *ctx) in rt_hwcrypto_hash_destroy() 50 rt_err_t rt_hwcrypto_hash_finish(struct rt_hwcrypto_ctx *ctx, rt_uint8_t *output, rt_size_t length) in rt_hwcrypto_hash_finish() 68 rt_err_t rt_hwcrypto_hash_update(struct rt_hwcrypto_ctx *ctx, const rt_uint8_t *input, rt_size_t le… in rt_hwcrypto_hash_update() 95 void rt_hwcrypto_hash_reset(struct rt_hwcrypto_ctx *ctx) in rt_hwcrypto_hash_reset() 108 rt_err_t rt_hwcrypto_hash_set_type(struct rt_hwcrypto_ctx *ctx, hwcrypto_type type) in rt_hwcrypto_hash_set_type()
|
| A D | hwcrypto.c | 23 rt_err_t rt_hwcrypto_set_type(struct rt_hwcrypto_ctx *ctx, hwcrypto_type type) in rt_hwcrypto_set_type() 53 void rt_hwcrypto_ctx_reset(struct rt_hwcrypto_ctx *ctx) in rt_hwcrypto_ctx_reset() 71 rt_err_t rt_hwcrypto_ctx_init(struct rt_hwcrypto_ctx *ctx, struct rt_hwcrypto_device *device, hwcry… in rt_hwcrypto_ctx_init() 98 struct rt_hwcrypto_ctx *ctx; in rt_hwcrypto_ctx_create() local 127 void rt_hwcrypto_ctx_destroy(struct rt_hwcrypto_ctx *ctx) in rt_hwcrypto_ctx_destroy()
|
| A D | hw_rng.c | 27 struct rt_hwcrypto_ctx *ctx; in rt_hwcrypto_rng_create() local 38 void rt_hwcrypto_rng_destroy(struct rt_hwcrypto_ctx *ctx) in rt_hwcrypto_rng_destroy() 87 rt_uint32_t rt_hwcrypto_rng_update_ctx(struct rt_hwcrypto_ctx *ctx) in rt_hwcrypto_rng_update_ctx()
|
| A D | hw_crc.c | 78 void rt_hwcrypto_crc_destroy(struct rt_hwcrypto_ctx *ctx) in rt_hwcrypto_crc_destroy() 92 rt_uint32_t rt_hwcrypto_crc_update(struct rt_hwcrypto_ctx *ctx, in rt_hwcrypto_crc_update() 110 void rt_hwcrypto_crc_cfg(struct rt_hwcrypto_ctx *ctx, in rt_hwcrypto_crc_cfg()
|
| /components/utilities/ymodem/ |
| A D | ymodem.c | 99 struct rym_ctx *ctx, in _rym_read_code() 125 struct rym_ctx *ctx, in _rym_read_data() 145 struct rym_ctx *ctx, in _rym_send_packet() 201 struct rym_ctx *ctx, in _rym_do_handshake() 263 struct rym_ctx *ctx, in _rym_do_send_handshake() 318 struct rym_ctx *ctx, in _rym_trans_data() 470 static rt_err_t _rym_do_fin(struct rym_ctx *ctx) in _rym_do_fin() 579 struct rym_ctx *ctx, in _rym_do_recv() 615 struct rym_ctx *ctx, in _rym_do_send() 652 struct rym_ctx *ctx, in rym_recv_on_device() [all …]
|
| A D | ry_sy.c | 44 struct rym_ctx *ctx, in _rym_recv_begin() 78 struct rym_ctx *ctx, in _rym_recv_data() 100 struct rym_ctx *ctx, in _rym_recv_end() 114 struct rym_ctx *ctx, in _rym_send_begin() 154 struct rym_ctx *ctx, in _rym_send_data() 184 struct rym_ctx *ctx, in _rym_send_end() 199 struct custom_ctx *ctx = rt_calloc(1, sizeof(*ctx)); in rym_download_file() local 220 struct custom_ctx *ctx = rt_calloc(1, sizeof(*ctx)); in rym_upload_file() local
|
| /components/net/lwip/lwip-2.0.3/src/apps/snmp/ |
| A D | snmp_threadsync.c | 54 threadsync_get_value_synced(void *ctx) in threadsync_get_value_synced() 75 threadsync_set_test_synced(void *ctx) in threadsync_set_test_synced() 97 threadsync_set_value_synced(void *ctx) in threadsync_set_value_synced() 119 threadsync_release_instance_synced(void* ctx) in threadsync_release_instance_synced() 139 get_instance_synced(void* ctx) in get_instance_synced() 150 get_next_instance_synced(void* ctx) in get_next_instance_synced()
|
| /components/net/lwip/lwip-2.1.2/src/apps/snmp/ |
| A D | snmp_threadsync.c | 54 threadsync_get_value_synced(void *ctx) in threadsync_get_value_synced() 79 threadsync_set_test_synced(void *ctx) in threadsync_set_test_synced() 105 threadsync_set_value_synced(void *ctx) in threadsync_set_value_synced() 131 threadsync_release_instance_synced(void *ctx) in threadsync_release_instance_synced() 151 get_instance_synced(void *ctx) in get_instance_synced() 162 get_next_instance_synced(void *ctx) in get_next_instance_synced()
|
| /components/libc/posix/io/eventfd/ |
| A D | eventfd.c | 69 struct eventfd_ctx *ctx = file->vnode->data; in eventfd_close() local 88 struct eventfd_ctx *ctx = (struct eventfd_ctx *)file->vnode->data; in eventfd_poll() local 129 struct eventfd_ctx *ctx = (struct eventfd_ctx *)file->vnode->data; in eventfd_read() local 196 struct eventfd_ctx *ctx = (struct eventfd_ctx *)file->vnode->data; in eventfd_write() local 252 struct eventfd_ctx *ctx = RT_NULL; in rt_eventfd_create() local
|
| /components/net/lwip/lwip-2.1.2/src/netif/ppp/polarssl/ |
| A D | md5.c | 74 void md5_starts( md5_context *ctx ) in md5_starts() 85 static void md5_process( md5_context *ctx, const unsigned char data[64] ) in md5_process() 211 void md5_update( md5_context *ctx, const unsigned char *input, int ilen ) in md5_update() 263 void md5_finish( md5_context *ctx, unsigned char output[16] ) in md5_finish() 293 md5_context ctx; in md5() local
|
| A D | md4.c | 75 void md4_starts( md4_context *ctx ) in md4_starts() 86 static void md4_process( md4_context *ctx, const unsigned char data[64] ) in md4_process() 192 void md4_update( md4_context *ctx, const unsigned char *input, int ilen ) in md4_update() 244 void md4_finish( md4_context *ctx, unsigned char output[16] ) in md4_finish() 274 md4_context ctx; in md4() local
|
| A D | sha1.c | 74 void sha1_starts( sha1_context *ctx ) in sha1_starts() 86 static void sha1_process( sha1_context *ctx, const unsigned char data[64] ) in sha1_process() 245 void sha1_update( sha1_context *ctx, const unsigned char *input, int ilen ) in sha1_update() 297 void sha1_finish( sha1_context *ctx, unsigned char output[20] ) in sha1_finish() 328 sha1_context ctx; in sha1() local
|
| A D | arc4.c | 48 void arc4_setup( arc4_context *ctx, unsigned char *key, int keylen ) in arc4_setup() 76 void arc4_crypt( arc4_context *ctx, unsigned char *buf, int buflen ) in arc4_crypt()
|
| A D | des.c | 372 void des_setkey_enc( des_context *ctx, unsigned char key[8] ) in des_setkey_enc() 380 void des_setkey_dec( des_context *ctx, unsigned char key[8] ) in des_setkey_dec() 396 void des_crypt_ecb( des_context *ctx, in des_crypt_ecb()
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/polarssl/ |
| A D | md5.c | 74 void md5_starts( md5_context *ctx ) in md5_starts() 85 static void md5_process( md5_context *ctx, const unsigned char data[64] ) in md5_process() 211 void md5_update( md5_context *ctx, const unsigned char *input, int ilen ) in md5_update() 263 void md5_finish( md5_context *ctx, unsigned char output[16] ) in md5_finish() 293 md5_context ctx; in md5() local
|
| A D | md4.c | 75 void md4_starts( md4_context *ctx ) in md4_starts() 86 static void md4_process( md4_context *ctx, const unsigned char data[64] ) in md4_process() 192 void md4_update( md4_context *ctx, const unsigned char *input, int ilen ) in md4_update() 244 void md4_finish( md4_context *ctx, unsigned char output[16] ) in md4_finish() 274 md4_context ctx; in md4() local
|
| A D | sha1.c | 74 void sha1_starts( sha1_context *ctx ) in sha1_starts() 86 static void sha1_process( sha1_context *ctx, const unsigned char data[64] ) in sha1_process() 245 void sha1_update( sha1_context *ctx, const unsigned char *input, int ilen ) in sha1_update() 297 void sha1_finish( sha1_context *ctx, unsigned char output[20] ) in sha1_finish() 328 sha1_context ctx; in sha1() local
|
| A D | arc4.c | 48 void arc4_setup( arc4_context *ctx, unsigned char *key, int keylen ) in arc4_setup() 76 void arc4_crypt( arc4_context *ctx, unsigned char *buf, int buflen ) in arc4_crypt()
|
| A D | des.c | 372 void des_setkey_enc( des_context *ctx, unsigned char key[8] ) in des_setkey_enc() 380 void des_setkey_dec( des_context *ctx, unsigned char key[8] ) in des_setkey_dec() 396 void des_crypt_ecb( des_context *ctx, in des_crypt_ecb()
|
| /components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
| A D | pppos.c | 200 pppos_write(ppp_pcb *ppp, void *ctx, struct pbuf *p) in pppos_write() 253 pppos_netif_output(ppp_pcb *ppp, void *ctx, struct pbuf *pb, u16_t protocol) in pppos_netif_output() 313 pppos_connect(ppp_pcb *ppp, void *ctx) in pppos_connect() 345 pppos_listen(ppp_pcb *ppp, void *ctx) in pppos_listen() 377 pppos_disconnect(ppp_pcb *ppp, void *ctx) in pppos_disconnect() 399 pppos_destroy(ppp_pcb *ppp, void *ctx) in pppos_destroy() 738 pppos_send_config(ppp_pcb *ppp, void *ctx, u32_t accm, int pcomp, int accomp) in pppos_send_config() 758 pppos_recv_config(ppp_pcb *ppp, void *ctx, u32_t accm, int pcomp, int accomp) in pppos_recv_config()
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
| A D | pppos.c | 199 pppos_write(ppp_pcb *ppp, void *ctx, struct pbuf *p) in pppos_write() 247 pppos_netif_output(ppp_pcb *ppp, void *ctx, struct pbuf *pb, u16_t protocol) in pppos_netif_output() 302 pppos_connect(ppp_pcb *ppp, void *ctx) in pppos_connect() 334 pppos_listen(ppp_pcb *ppp, void *ctx) in pppos_listen() 366 pppos_disconnect(ppp_pcb *ppp, void *ctx) in pppos_disconnect() 388 pppos_destroy(ppp_pcb *ppp, void *ctx) in pppos_destroy() 718 pppos_send_config(ppp_pcb *ppp, void *ctx, u32_t accm, int pcomp, int accomp) in pppos_send_config() 738 pppos_recv_config(ppp_pcb *ppp, void *ctx, u32_t accm, int pcomp, int accomp) in pppos_recv_config()
|
| /components/drivers/usb/cherryusb/platform/uf2/ |
| A D | bootuf2.c | 125 static void fcalculate_cluster(struct bootuf2_data *ctx) in fcalculate_cluster() 208 static int bootuf2_flash_flush(struct bootuf2_data *ctx) in bootuf2_flash_flush() 229 int bootuf2_flash_write_internal(struct bootuf2_data *ctx, struct bootuf2_BLOCK *uf2) in bootuf2_flash_write_internal() 251 struct bootuf2_data *ctx; in bootuf2_init() local 263 struct bootuf2_data *ctx; in boot2uf2_read_sector() local 408 struct bootuf2_data *ctx; in bootuf2_write_sector() local
|
| /components/vbus/ |
| A D | vbus_chnx.c | 17 static void _rx_indicate(void *ctx) in _rx_indicate() 25 static void _tx_complete(void *ctx) in _tx_complete() 232 void *ctx) in rt_vbus_chnx_register_disconn()
|