Home
last modified time | relevance | path

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

/bsp/stm32/stm32mp157a-st-discovery/board/ports/crypto/
A Dcrypto_sample.c286 rt_uint8_t buf_in[32]; in hw_cryp_sample() local
291 for (i = 0; i < sizeof(buf_in); i++) in hw_cryp_sample()
293 buf_in[i] = i; in hw_cryp_sample()
300 dump_hex(buf_in, sizeof(buf_in)); in hw_cryp_sample()
305 hw_aes_cbc(buf_in, buf_out, HWCRYPTO_MODE_ENCRYPT); in hw_cryp_sample()
310 rt_memset(buf_in, 0, sizeof(buf_in)); in hw_cryp_sample()
313 hw_aes_cbc(buf_out, buf_in, HWCRYPTO_MODE_DECRYPT); in hw_cryp_sample()
317 dump_hex(buf_in, sizeof(buf_in)); in hw_cryp_sample()

Completed in 5 milliseconds