Searched refs:stm32_cryp_write (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/crypto/stm32/ |
| H A D | stm32-cryp.c | 222 static inline void stm32_cryp_write(struct stm32_cryp *cryp, u32 ofst, u32 val) in stm32_cryp_write() function 279 stm32_cryp_write(cryp, CRYP_IV0LR, be32_to_cpu(*iv++)); in stm32_cryp_hw_write_iv() 280 stm32_cryp_write(cryp, CRYP_IV0RR, be32_to_cpu(*iv++)); in stm32_cryp_hw_write_iv() 283 stm32_cryp_write(cryp, CRYP_IV1LR, be32_to_cpu(*iv++)); in stm32_cryp_hw_write_iv() 284 stm32_cryp_write(cryp, CRYP_IV1RR, be32_to_cpu(*iv++)); in stm32_cryp_hw_write_iv() 311 stm32_cryp_write(c, CRYP_K1LR, be32_to_cpu(c->ctx->key[0])); in stm32_cryp_hw_write_key() 312 stm32_cryp_write(c, CRYP_K1RR, be32_to_cpu(c->ctx->key[1])); in stm32_cryp_hw_write_key() 316 stm32_cryp_write(c, r_id, in stm32_cryp_hw_write_key() 371 stm32_cryp_write(cryp, CRYP_CR, cfg | CR_PH_INIT | CR_CRYPEN); in stm32_cryp_gcm_init() 383 stm32_cryp_write(cryp, CRYP_CR, cfg); in stm32_cryp_gcm_init() [all …]
|