Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/stm32/
H A Dcipher.c41 union ip_ctx { union
48 TEE_Result (*init)(union ip_ctx *ctx, bool is_decrypt,
51 TEE_Result (*update)(union ip_ctx *ctx, bool last_block, uint8_t *src,
53 void (*final)(union ip_ctx *ctx);
54 void (*copy_state)(union ip_ctx *dst_ctx, union ip_ctx *src_ctx);
59 union ip_ctx ip_ctx; member
63 static TEE_Result cryp_init(union ip_ctx *ip_ctx, bool is_decrypt, in cryp_init() argument
73 (ip_ctx->cryp.algo == STM32_CRYP_MODE_TDES_ECB || in cryp_init()
74 ip_ctx->cryp.algo == STM32_CRYP_MODE_TDES_CBC)) { in cryp_init()
82 return stm32_cryp_init(&ip_ctx->cryp.ctx, is_decrypt, ip_ctx->cryp.algo, in cryp_init()
[all …]