Lines Matching refs:cipher_parms
306 struct spu_cipher_parms cipher_parms; in handle_skcipher_req() local
324 cipher_parms.alg = ctx->cipher.alg; in handle_skcipher_req()
325 cipher_parms.mode = ctx->cipher.mode; in handle_skcipher_req()
326 cipher_parms.type = ctx->cipher_type; in handle_skcipher_req()
327 cipher_parms.key_len = ctx->enckeylen; in handle_skcipher_req()
328 cipher_parms.key_buf = ctx->enckey; in handle_skcipher_req()
329 cipher_parms.iv_buf = local_iv_ctr; in handle_skcipher_req()
330 cipher_parms.iv_len = rctx->iv_ctr_len; in handle_skcipher_req()
403 &cipher_parms, chunksize); in handle_skcipher_req()
681 struct spu_cipher_parms cipher_parms; in handle_ahash_req() local
700 memset(&cipher_parms, 0, sizeof(cipher_parms)); in handle_ahash_req()
718 cipher_parms.type = ctx->cipher_type; in handle_ahash_req()
775 hash_parms.type = (enum hash_type)cipher_parms.type; in handle_ahash_req()
822 &req_opts, &cipher_parms, in handle_ahash_req()
1277 struct spu_cipher_parms cipher_parms; in handle_aead_req() local
1303 cipher_parms.alg = ctx->cipher.alg; in handle_aead_req()
1304 cipher_parms.mode = ctx->cipher.mode; in handle_aead_req()
1305 cipher_parms.type = ctx->cipher_type; in handle_aead_req()
1306 cipher_parms.key_buf = ctx->enckey; in handle_aead_req()
1307 cipher_parms.key_len = ctx->enckeylen; in handle_aead_req()
1308 cipher_parms.iv_buf = rctx->msg_buf.iv_ctr; in handle_aead_req()
1309 cipher_parms.iv_len = rctx->iv_ctr_len; in handle_aead_req()
1395 spu->spu_ccm_update_iv(digestsize, &cipher_parms, req->assoclen, in handle_aead_req()
1437 &cipher_parms, &hash_parms, in handle_aead_req()
1826 struct spu_cipher_parms cipher_parms; in skcipher_setkey() local
1867 cipher_parms.iv_buf = NULL; in skcipher_setkey()
1868 cipher_parms.iv_len = crypto_skcipher_ivsize(cipher); in skcipher_setkey()
1869 flow_log("%s: iv_len %u\n", __func__, cipher_parms.iv_len); in skcipher_setkey()
1871 cipher_parms.alg = ctx->cipher.alg; in skcipher_setkey()
1872 cipher_parms.mode = ctx->cipher.mode; in skcipher_setkey()
1873 cipher_parms.type = ctx->cipher_type; in skcipher_setkey()
1874 cipher_parms.key_buf = ctx->enckey; in skcipher_setkey()
1875 cipher_parms.key_len = ctx->enckeylen; in skcipher_setkey()
1881 &cipher_parms); in skcipher_setkey()