Lines Matching refs:cipher_parms
310 struct spu_cipher_parms cipher_parms; in handle_ablkcipher_req() local
329 cipher_parms.alg = ctx->cipher.alg; in handle_ablkcipher_req()
330 cipher_parms.mode = ctx->cipher.mode; in handle_ablkcipher_req()
331 cipher_parms.type = ctx->cipher_type; in handle_ablkcipher_req()
332 cipher_parms.key_len = ctx->enckeylen; in handle_ablkcipher_req()
333 cipher_parms.key_buf = ctx->enckey; in handle_ablkcipher_req()
334 cipher_parms.iv_buf = local_iv_ctr; in handle_ablkcipher_req()
335 cipher_parms.iv_len = rctx->iv_ctr_len; in handle_ablkcipher_req()
401 cipher_parms.key_buf = rctx->msg_buf.c.supdt_tweak; in handle_ablkcipher_req()
403 cipher_parms.type = CIPHER_TYPE_UPDT; in handle_ablkcipher_req()
412 cipher_parms.type = CIPHER_TYPE_INIT; in handle_ablkcipher_req()
435 &cipher_parms, update_key, chunksize); in handle_ablkcipher_req()
716 struct spu_cipher_parms cipher_parms; in handle_ahash_req() local
735 memset(&cipher_parms, 0, sizeof(cipher_parms)); in handle_ahash_req()
753 cipher_parms.type = ctx->cipher_type; in handle_ahash_req()
810 hash_parms.type = (enum hash_type)cipher_parms.type; in handle_ahash_req()
857 &req_opts, &cipher_parms, in handle_ahash_req()
1312 struct spu_cipher_parms cipher_parms; in handle_aead_req() local
1338 cipher_parms.alg = ctx->cipher.alg; in handle_aead_req()
1339 cipher_parms.mode = ctx->cipher.mode; in handle_aead_req()
1340 cipher_parms.type = ctx->cipher_type; in handle_aead_req()
1341 cipher_parms.key_buf = ctx->enckey; in handle_aead_req()
1342 cipher_parms.key_len = ctx->enckeylen; in handle_aead_req()
1343 cipher_parms.iv_buf = rctx->msg_buf.iv_ctr; in handle_aead_req()
1344 cipher_parms.iv_len = rctx->iv_ctr_len; in handle_aead_req()
1430 spu->spu_ccm_update_iv(digestsize, &cipher_parms, req->assoclen, in handle_aead_req()
1472 &cipher_parms, &hash_parms, in handle_aead_req()
1882 struct spu_cipher_parms cipher_parms; in ablkcipher_setkey() local
1928 cipher_parms.iv_buf = NULL; in ablkcipher_setkey()
1929 cipher_parms.iv_len = crypto_ablkcipher_ivsize(cipher); in ablkcipher_setkey()
1930 flow_log("%s: iv_len %u\n", __func__, cipher_parms.iv_len); in ablkcipher_setkey()
1932 cipher_parms.alg = ctx->cipher.alg; in ablkcipher_setkey()
1933 cipher_parms.mode = ctx->cipher.mode; in ablkcipher_setkey()
1934 cipher_parms.type = ctx->cipher_type; in ablkcipher_setkey()
1935 cipher_parms.key_buf = ctx->enckey; in ablkcipher_setkey()
1936 cipher_parms.key_len = ctx->enckeylen; in ablkcipher_setkey()
1942 &cipher_parms); in ablkcipher_setkey()