Lines Matching refs:cipher_parms

305 	struct spu_cipher_parms cipher_parms;  in handle_skcipher_req()  local
323 cipher_parms.alg = ctx->cipher.alg; in handle_skcipher_req()
324 cipher_parms.mode = ctx->cipher.mode; in handle_skcipher_req()
325 cipher_parms.type = ctx->cipher_type; in handle_skcipher_req()
326 cipher_parms.key_len = ctx->enckeylen; in handle_skcipher_req()
327 cipher_parms.key_buf = ctx->enckey; in handle_skcipher_req()
328 cipher_parms.iv_buf = local_iv_ctr; in handle_skcipher_req()
329 cipher_parms.iv_len = rctx->iv_ctr_len; in handle_skcipher_req()
402 &cipher_parms, chunksize); in handle_skcipher_req()
676 struct spu_cipher_parms cipher_parms; in handle_ahash_req() local
695 memset(&cipher_parms, 0, sizeof(cipher_parms)); in handle_ahash_req()
713 cipher_parms.type = ctx->cipher_type; in handle_ahash_req()
770 hash_parms.type = (enum hash_type)cipher_parms.type; in handle_ahash_req()
817 &req_opts, &cipher_parms, in handle_ahash_req()
1269 struct spu_cipher_parms cipher_parms; in handle_aead_req() local
1295 cipher_parms.alg = ctx->cipher.alg; in handle_aead_req()
1296 cipher_parms.mode = ctx->cipher.mode; in handle_aead_req()
1297 cipher_parms.type = ctx->cipher_type; in handle_aead_req()
1298 cipher_parms.key_buf = ctx->enckey; in handle_aead_req()
1299 cipher_parms.key_len = ctx->enckeylen; in handle_aead_req()
1300 cipher_parms.iv_buf = rctx->msg_buf.iv_ctr; in handle_aead_req()
1301 cipher_parms.iv_len = rctx->iv_ctr_len; in handle_aead_req()
1387 spu->spu_ccm_update_iv(digestsize, &cipher_parms, req->assoclen, in handle_aead_req()
1429 &cipher_parms, &hash_parms, in handle_aead_req()
1818 struct spu_cipher_parms cipher_parms; in skcipher_setkey() local
1859 cipher_parms.iv_buf = NULL; in skcipher_setkey()
1860 cipher_parms.iv_len = crypto_skcipher_ivsize(cipher); in skcipher_setkey()
1861 flow_log("%s: iv_len %u\n", __func__, cipher_parms.iv_len); in skcipher_setkey()
1863 cipher_parms.alg = ctx->cipher.alg; in skcipher_setkey()
1864 cipher_parms.mode = ctx->cipher.mode; in skcipher_setkey()
1865 cipher_parms.type = ctx->cipher_type; in skcipher_setkey()
1866 cipher_parms.key_buf = ctx->enckey; in skcipher_setkey()
1867 cipher_parms.key_len = ctx->enckeylen; in skcipher_setkey()
1873 &cipher_parms); in skcipher_setkey()