Lines Matching refs:state
69 ctx->state = sock_kmalloc(sk, statesize, GFP_ATOMIC); in algif_skcipher_export()
70 if (!ctx->state) in algif_skcipher_export()
73 err = crypto_skcipher_export(req, ctx->state); in algif_skcipher_export()
75 sock_kzfree_s(sk, ctx->state, statesize); in algif_skcipher_export()
76 ctx->state = NULL; in algif_skcipher_export()
159 if (ctx->state) { in _skcipher_recvmsg()
161 ctx->state); in _skcipher_recvmsg()
162 sock_kzfree_s(sk, ctx->state, crypto_skcipher_statesize(tfm)); in _skcipher_recvmsg()
163 ctx->state = NULL; in _skcipher_recvmsg()
368 if (ctx->state) in skcipher_sock_destruct()
369 sock_kzfree_s(sk, ctx->state, crypto_skcipher_statesize(tfm)); in skcipher_sock_destruct()