Searched refs:stm32_cryp_write (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/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(cry in stm32_cryp_gcm_init() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/stm32/ |
H A D | stm32-cryp.c | 267 static inline void stm32_cryp_write(struct stm32_cryp *cryp, u32 ofst, u32 val) in stm32_cryp_write() function 342 stm32_cryp_write(cryp, cryp->caps->iv0l, be32_to_cpu(*iv++)); in stm32_cryp_hw_write_iv() 343 stm32_cryp_write(cryp, cryp->caps->iv0r, be32_to_cpu(*iv++)); in stm32_cryp_hw_write_iv() 346 stm32_cryp_write(cryp, cryp->caps->iv1l, be32_to_cpu(*iv++)); in stm32_cryp_hw_write_iv() 347 stm32_cryp_write(cryp, cryp->caps->iv1r, be32_to_cpu(*iv++)); in stm32_cryp_hw_write_iv() 464 stm32_cryp_write(c, c->caps->k1l, be32_to_cpu(c->ctx->key[0])); in stm32_cryp_hw_write_key() 465 stm32_cryp_write(c, c->caps->k1r, be32_to_cpu(c->ctx->key[1])); in stm32_cryp_hw_write_key() 483 stm32_cryp_write(c, r_id, tmpkey[i]); in stm32_cryp_hw_write_key() 490 stm32_cryp_write(c, r_id, be32_to_cpu(c->ctx->key[i - 1])); in stm32_cryp_hw_write_key() 543 stm32_cryp_write(cry in stm32_cryp_gcm_init() [all...] |
Completed in 4 milliseconds