Lines Matching refs:cipher_parms
307 struct spu_cipher_parms cipher_parms; in handle_skcipher_req() local
325 cipher_parms.alg = ctx->cipher.alg; in handle_skcipher_req()
326 cipher_parms.mode = ctx->cipher.mode; in handle_skcipher_req()
327 cipher_parms.type = ctx->cipher_type; in handle_skcipher_req()
328 cipher_parms.key_len = ctx->enckeylen; in handle_skcipher_req()
329 cipher_parms.key_buf = ctx->enckey; in handle_skcipher_req()
330 cipher_parms.iv_buf = local_iv_ctr; in handle_skcipher_req()
331 cipher_parms.iv_len = rctx->iv_ctr_len; in handle_skcipher_req()
404 &cipher_parms, chunksize); in handle_skcipher_req()
680 struct spu_cipher_parms cipher_parms; in handle_ahash_req() local
699 memset(&cipher_parms, 0, sizeof(cipher_parms)); in handle_ahash_req()
717 cipher_parms.type = ctx->cipher_type; in handle_ahash_req()
774 hash_parms.type = (enum hash_type)cipher_parms.type; in handle_ahash_req()
821 &req_opts, &cipher_parms, in handle_ahash_req()
1275 struct spu_cipher_parms cipher_parms; in handle_aead_req() local
1301 cipher_parms.alg = ctx->cipher.alg; in handle_aead_req()
1302 cipher_parms.mode = ctx->cipher.mode; in handle_aead_req()
1303 cipher_parms.type = ctx->cipher_type; in handle_aead_req()
1304 cipher_parms.key_buf = ctx->enckey; in handle_aead_req()
1305 cipher_parms.key_len = ctx->enckeylen; in handle_aead_req()
1306 cipher_parms.iv_buf = rctx->msg_buf.iv_ctr; in handle_aead_req()
1307 cipher_parms.iv_len = rctx->iv_ctr_len; in handle_aead_req()
1393 spu->spu_ccm_update_iv(digestsize, &cipher_parms, req->assoclen, in handle_aead_req()
1435 &cipher_parms, &hash_parms, in handle_aead_req()
1824 struct spu_cipher_parms cipher_parms; in skcipher_setkey() local
1865 cipher_parms.iv_buf = NULL; in skcipher_setkey()
1866 cipher_parms.iv_len = crypto_skcipher_ivsize(cipher); in skcipher_setkey()
1867 flow_log("%s: iv_len %u\n", __func__, cipher_parms.iv_len); in skcipher_setkey()
1869 cipher_parms.alg = ctx->cipher.alg; in skcipher_setkey()
1870 cipher_parms.mode = ctx->cipher.mode; in skcipher_setkey()
1871 cipher_parms.type = ctx->cipher_type; in skcipher_setkey()
1872 cipher_parms.key_buf = ctx->enckey; in skcipher_setkey()
1873 cipher_parms.key_len = ctx->enckeylen; in skcipher_setkey()
1879 &cipher_parms); in skcipher_setkey()