Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 41) sorted by relevance

12

/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/
A Dbflb_sec_sha.c44 void bflb_sha1_start(struct bflb_device_s *dev, struct bflb_sha1_ctx_s *ctx) in bflb_sha1_start()
60 void bflb_sha256_start(struct bflb_device_s *dev, struct bflb_sha256_ctx_s *ctx) in bflb_sha256_start()
65 void bflb_sha512_start(struct bflb_device_s *dev, struct bflb_sha512_ctx_s *ctx) in bflb_sha512_start()
289 void bflb_sha1_finish(struct bflb_device_s *dev, struct bflb_sha1_ctx_s *ctx, uint8_t *output) in bflb_sha1_finish()
371 void bflb_sha256_finish(struct bflb_device_s *dev, struct bflb_sha256_ctx_s *ctx, uint8_t *output) in bflb_sha256_finish()
547 struct bflb_sha1_link_ctx_s *ctx, in bflb_sha1_link_update()
641 struct bflb_sha256_link_ctx_s *ctx, in bflb_sha256_link_update()
649 struct bflb_sha512_link_ctx_s *ctx, in bflb_sha512_link_update()
742 struct bflb_sha1_link_ctx_s *ctx, in bflb_sha1_link_finish()
796 struct bflb_sha256_link_ctx_s *ctx, in bflb_sha256_link_finish()
[all …]
/bsp/hc32/libraries/hc32_drivers/
A Ddrv_crypto.c32 static rt_uint32_t _crc_update(struct hwcrypto_crc *ctx, const rt_uint8_t *in, rt_size_t length) in _crc_update()
128 static rt_uint32_t _rng_rand(struct hwcrypto_rng *ctx) in _rng_rand()
153 static rt_err_t _hash_update(struct hwcrypto_hash *ctx, const rt_uint8_t *in, rt_size_t length) in _hash_update()
178 static rt_err_t _hash_finish(struct hwcrypto_hash *ctx, rt_uint8_t *out, rt_size_t length) in _hash_finish()
228 static rt_err_t _cryp_crypt(struct hwcrypto_symmetric *ctx, struct hwcrypto_symmetric_info *info) in _cryp_crypt()
307 static rt_err_t _crypto_create(struct rt_hwcrypto_ctx *ctx) in _crypto_create()
384 static void _crypto_destroy(struct rt_hwcrypto_ctx *ctx) in _crypto_destroy()
468 static void _crypto_reset(struct rt_hwcrypto_ctx *ctx) in _crypto_reset()
/bsp/n32g452xx/Libraries/rt_drivers/
A Ddrv_crypto.c33 static uint16_t _get_crc16(struct hwcrypto_crc *ctx, const rt_uint8_t *in, rt_size_t length) in _get_crc16()
70 static uint32_t _get_crc32(struct hwcrypto_crc *ctx, const rt_uint8_t *in, rt_size_t length) in _get_crc32()
134 static rt_uint32_t _crc_update(struct hwcrypto_crc *ctx, const rt_uint8_t *in, rt_size_t length) in _crc_update()
168 static rt_err_t _crypto_create(struct rt_hwcrypto_ctx *ctx) in _crypto_create()
217 static void _crypto_destroy(struct rt_hwcrypto_ctx *ctx) in _crypto_destroy()
295 static void _crypto_reset(struct rt_hwcrypto_ctx *ctx) in _crypto_reset()
382 struct rt_hwcrypto_ctx *ctx; in crc_demo() local
/bsp/stm32/libraries/HAL_Drivers/drivers/
A Ddrv_crypto.c45 static rt_uint32_t _crc_update(struct hwcrypto_crc *ctx, const rt_uint8_t *in, rt_size_t length) in _crc_update()
165 static rt_uint32_t _rng_rand(struct hwcrypto_rng *ctx) in _rng_rand()
186 static rt_err_t _hash_update(struct hwcrypto_hash *ctx, const rt_uint8_t *in, rt_size_t length) in _hash_update()
236 static rt_err_t _hash_finish(struct hwcrypto_hash *ctx, rt_uint8_t *out, rt_size_t length) in _hash_finish()
287 static rt_err_t _cryp_crypt(struct hwcrypto_symmetric *ctx, in _cryp_crypt()
388 static rt_err_t _crypto_create(struct rt_hwcrypto_ctx *ctx) in _crypto_create()
523 static void _crypto_destroy(struct rt_hwcrypto_ctx *ctx) in _crypto_destroy()
620 static void _crypto_reset(struct rt_hwcrypto_ctx *ctx) in _crypto_reset()
/bsp/stm32/stm32h750-weact-ministm32h7xx/board/port/st7735/
A Dst7735_reg.c46 int32_t st7735_read_reg(st7735_ctx_t *ctx, uint8_t reg, uint8_t *pdata) in st7735_read_reg()
59 int32_t st7735_write_reg(st7735_ctx_t *ctx, uint8_t reg, uint8_t *pdata, uint32_t length) in st7735_write_reg()
71 int32_t st7735_send_data(st7735_ctx_t *ctx, uint8_t *pdata, uint32_t length) in st7735_send_data()
83 int32_t st7735_recv_data(st7735_ctx_t *ctx, uint8_t *pdata, uint32_t length) in st7735_recv_data()
/bsp/synwit/libraries/SWM341_drivers/
A Ddrv_crypto.c38 static rt_uint32_t swm_crc_update(struct hwcrypto_crc *ctx, const rt_uint8_t *in, rt_size_t length) in swm_crc_update()
143 static rt_uint32_t swm_rng_update(struct hwcrypto_rng *ctx) in swm_rng_update()
162 static rt_err_t swm_crypto_create(struct rt_hwcrypto_ctx *ctx) in swm_crypto_create()
212 static void swm_crypto_destroy(struct rt_hwcrypto_ctx *ctx) in swm_crypto_destroy()
266 static void swm_crypto_reset(struct rt_hwcrypto_ctx *ctx) in swm_crypto_reset()
/bsp/w60x/drivers/
A Ddrv_crypto.c38 static rt_uint32_t _rng_rand(struct hwcrypto_rng *ctx) in _rng_rand()
56 static rt_uint32_t _crc_update(struct hwcrypto_crc *ctx, const rt_uint8_t *in, rt_size_t length) in _crc_update()
123 static rt_err_t _hash_update(struct hwcrypto_hash *ctx, const rt_uint8_t *in, rt_size_t length) in _hash_update()
176 static rt_err_t _hash_finish(struct hwcrypto_hash *ctx, rt_uint8_t *out, rt_size_t length) in _hash_finish()
595 static rt_err_t _crypto_create(struct rt_hwcrypto_ctx *ctx) in _crypto_create()
657 static void _crypto_destroy(struct rt_hwcrypto_ctx *ctx) in _crypto_destroy()
689 static void _crypto_reset(struct rt_hwcrypto_ctx *ctx) in _crypto_reset()
/bsp/nuvoton/libraries/m031/rtt_port/
A Ddrv_crypto.c54 static rt_err_t nu_hwcrypto_create(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_create()
78 static void nu_hwcrypto_destroy(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_destroy()
97 static void nu_hwcrypto_reset(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_reset()
/bsp/synwit/libraries/SWM320_drivers/
A Ddrv_crypto.c50 static rt_uint32_t swm_crc_update(struct hwcrypto_crc *ctx, const rt_uint8_t *in, rt_size_t length) in swm_crc_update()
133 static rt_err_t swm_crypto_create(struct rt_hwcrypto_ctx *ctx) in swm_crypto_create()
167 static void swm_crypto_destroy(struct rt_hwcrypto_ctx *ctx) in swm_crypto_destroy()
205 static void swm_crypto_reset(struct rt_hwcrypto_ctx *ctx) in swm_crypto_reset()
/bsp/hc32/tests/
A Dtest_crypto.c64 struct rt_hwcrypto_ctx *ctx; in crc_test() local
120 struct rt_hwcrypto_ctx *ctx; in aes_test() local
197 struct rt_hwcrypto_ctx *ctx; in hash_sha256_test() local
/bsp/stm32/stm32mp157a-st-discovery/board/ports/crypto/
A Dcrypto_sample.c78 struct rt_hwcrypto_ctx *ctx; in hw_crc_sample() local
104 struct rt_hwcrypto_ctx *ctx = RT_NULL; in hw_hash_sample() local
271 struct rt_hwcrypto_ctx *ctx; in hw_aes_cbc() local
/bsp/nuvoton/libraries/m2354/rtt_port/
A Ddrv_crypto.c177 static rt_uint32_t nu_prng_rand(struct hwcrypto_rng *ctx) in nu_prng_rand()
617 static rt_err_t nu_hwcrypto_create(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_create()
678 static void nu_hwcrypto_destroy(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_destroy()
701 static void nu_hwcrypto_reset(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_reset()
A Ddrv_trng.c41 rt_uint32_t nu_trng_rand(struct hwcrypto_rng *ctx) in nu_trng_rand()
A Ddrv_crc.c103 rt_uint32_t nu_crc_update(struct hwcrypto_crc *ctx, const rt_uint8_t *in, rt_size_t length) in nu_crc_update()
/bsp/nuvoton/libraries/m460/rtt_port/
A Ddrv_crypto.c176 static rt_uint32_t nu_prng_rand(struct hwcrypto_rng *ctx) in nu_prng_rand()
616 static rt_err_t nu_hwcrypto_create(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_create()
677 static void nu_hwcrypto_destroy(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_destroy()
700 static void nu_hwcrypto_reset(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_reset()
A Ddrv_trng.c40 rt_uint32_t nu_trng_rand(struct hwcrypto_rng *ctx) in nu_trng_rand()
/bsp/nuvoton/libraries/nuc980/rtt_port/
A Ddrv_crypto.c593 static rt_uint32_t nu_prng_rand(struct hwcrypto_rng *ctx) in nu_prng_rand()
616 static rt_err_t nu_hwcrypto_create(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_create()
668 static void nu_hwcrypto_destroy(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_destroy()
691 static void nu_hwcrypto_reset(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_reset()
/bsp/nxp/imx/imxrt/libraries/drivers/vglite/VGLite/
A Dvg_lite.c3324 vg_lite_context_t *ctx; in _allocate_command_buffer() local
3377 vg_lite_context_t *ctx; in _free_command_buffer() local
4111 vg_lite_context_t *ctx; in fill_feature_table() local
5162 vg_lite_context_t *ctx; in flush_target() local
5845 vg_lite_context_t *ctx; in set_interpolation_steps() local
6014 vg_lite_context_t *ctx; in vg_lite_clear() local
6128 vg_lite_context_t *ctx; in vg_lite_blit() local
6339 vg_lite_context_t *ctx; in vg_lite_blit_rect() local
6844 vg_lite_context_t *ctx; in vg_lite_draw() local
7108 vg_lite_context_t *ctx; in vg_lite_close() local
[all …]
/bsp/nuvoton/libraries/m480/rtt_port/
A Ddrv_crypto.c188 static rt_uint32_t nu_prng_rand(struct hwcrypto_rng *ctx) in nu_prng_rand()
799 static rt_err_t nu_hwcrypto_create(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_create()
870 static void nu_hwcrypto_destroy(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_destroy()
893 static void nu_hwcrypto_reset(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_reset()
A Ddrv_trng.c47 rt_uint32_t nu_trng_rand(struct hwcrypto_rng *ctx) in nu_trng_rand()
/bsp/nuvoton/libraries/n9h30/rtt_port/
A Ddrv_crypto.c782 static rt_uint32_t nu_prng_rand(struct hwcrypto_rng *ctx) in nu_prng_rand()
809 static rt_err_t nu_hwcrypto_create(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_create()
886 static void nu_hwcrypto_destroy(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_destroy()
909 static void nu_hwcrypto_reset(struct rt_hwcrypto_ctx *ctx) in nu_hwcrypto_reset()
/bsp/stm32/stm32mp157a-st-ev1/board/ports/
A Dcrypto_sample.c44 struct rt_hwcrypto_ctx *ctx; in hw_crc_sample() local
71 struct rt_hwcrypto_ctx *ctx = RT_NULL; in hw_hash_sample() local
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6700/HPM6750/
A Dhpm_romapi.h343 static inline hpm_stat_t rom_enter_bootloader(void *ctx) in rom_enter_bootloader()
916 static inline hpm_stat_t rom_sm3_init(sm3_context_t *ctx) in rom_sm3_init()
929 static inline hpm_stat_t rom_sm3_update(sm3_context_t *ctx, const void *input, uint32_t len) in rom_sm3_update()
942 static inline hpm_stat_t rom_sm3_finalize(sm3_context_t *ctx, uint8_t output[32]) in rom_sm3_finalize()
960 static inline void rom_sm4_setkey_enc(sm4_context_t *ctx, const uint8_t key[16]) in rom_sm4_setkey_enc()
971 static inline void rom_sm4_setkey_dec(sm4_context_t *ctx, const uint8_t key[16]) in rom_sm4_setkey_dec()
985 static inline hpm_stat_t rom_sm4_crypt_ecb(sm4_context_t *ctx, uint32_t mode, uint32_t length, cons… in rom_sm4_crypt_ecb()
1001 static inline hpm_stat_t rom_sm4_crypt_cbc(sm4_context_t *ctx, uint32_t mode, uint32_t length, cons… in rom_sm4_crypt_cbc()
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6300/HPM6360/
A Dhpm_romapi.h384 static inline hpm_stat_t rom_enter_bootloader(void *ctx) in rom_enter_bootloader()
989 static inline hpm_stat_t rom_sm3_init(sm3_context_t *ctx) in rom_sm3_init()
1002 static inline hpm_stat_t rom_sm3_update(sm3_context_t *ctx, const void *input, uint32_t len) in rom_sm3_update()
1015 static inline hpm_stat_t rom_sm3_finalize(sm3_context_t *ctx, uint8_t output[32]) in rom_sm3_finalize()
1033 static inline void rom_sm4_setkey_enc(sm4_context_t *ctx, const uint8_t key[16]) in rom_sm4_setkey_enc()
1044 static inline void rom_sm4_setkey_dec(sm4_context_t *ctx, const uint8_t key[16]) in rom_sm4_setkey_dec()
1058 static inline hpm_stat_t rom_sm4_crypt_ecb(sm4_context_t *ctx, uint32_t mode, uint32_t length, cons… in rom_sm4_crypt_ecb()
1073 static inline hpm_stat_t rom_sm4_crypt_cbc(sm4_context_t *ctx, uint32_t mode, uint32_t length, cons… in rom_sm4_crypt_cbc()
/bsp/xuantie/libraries/xuantie_libraries/csi/csi2/include/drv/
A Dtee.h519 #define csi_tee_sha_start(type,ctx) \ argument
529 #define csi_tee_sha_update(in,in_len,ctx) \ argument
539 #define csi_tee_sha_finish(out,ctx) \ argument

Completed in 271 milliseconds

12