Searched refs:c_ctx (Results 1 – 1 of 1) sorted by relevance
714 struct sec_cipher_ctx *c_ctx = &ctx->c_ctx; in sec_cipher_init() local719 c_ctx->c_key = dma_alloc_coherent(ctx->dev, SEC_MAX_KEY_SIZE, in sec_cipher_init()720 &c_ctx->c_key_dma, GFP_KERNEL); in sec_cipher_init()721 if (!c_ctx->c_key) in sec_cipher_init()729 struct sec_cipher_ctx *c_ctx = &ctx->c_ctx; in sec_cipher_uninit() local734 memzero_explicit(c_ctx->c_key, SEC_MAX_KEY_SIZE); in sec_cipher_uninit()736 c_ctx->c_key, c_ctx->c_key_dma); in sec_cipher_uninit()767 struct sec_cipher_ctx *c_ctx = &ctx->c_ctx; in sec_skcipher_fbtfm_init() local769 c_ctx->fallback = false; in sec_skcipher_fbtfm_init()771 c_ctx->fbtfm = crypto_alloc_sync_skcipher(alg, 0, in sec_skcipher_fbtfm_init()[all …]