Lines Matching refs:hash_parms

680 	struct spu_hash_parms hash_parms;  in handle_ahash_req()  local
699 memset(&hash_parms, 0, sizeof(hash_parms)); in handle_ahash_req()
703 hash_parms.alg = ctx->auth.alg; in handle_ahash_req()
704 hash_parms.mode = ctx->auth.mode; in handle_ahash_req()
705 hash_parms.type = HASH_TYPE_NONE; in handle_ahash_req()
706 hash_parms.key_buf = (u8 *)ctx->authkey; in handle_ahash_req()
707 hash_parms.key_len = ctx->authkeylen; in handle_ahash_req()
772 if (hash_parms.alg == HASH_ALG_AES) in handle_ahash_req()
773 hash_parms.type = (enum hash_type)cipher_parms.type; in handle_ahash_req()
775 hash_parms.type = spu->spu_hash_type(rctx->total_sent); in handle_ahash_req()
778 hash_parms.type); in handle_ahash_req()
779 hash_parms.digestsize = digestsize; in handle_ahash_req()
787 hash_parms.pad_len = spu->spu_hash_pad_len(hash_parms.alg, in handle_ahash_req()
788 hash_parms.mode, in handle_ahash_req()
796 if ((hash_parms.type == HASH_TYPE_UPDT) && in handle_ahash_req()
797 (hash_parms.alg != HASH_ALG_AES)) { in handle_ahash_req()
798 hash_parms.key_buf = rctx->incr_hash; in handle_ahash_req()
799 hash_parms.key_len = digestsize; in handle_ahash_req()
817 hash_parms.prebuf_len = local_nbuf; in handle_ahash_req()
821 &hash_parms, &aead_parms, in handle_ahash_req()
835 0, 0, hash_parms.pad_len); in handle_ahash_req()
840 pad_len = hash_parms.pad_len + data_pad_len + stat_pad_len; in handle_ahash_req()
844 hash_parms.pad_len, ctx->auth.alg, in handle_ahash_req()
1275 struct spu_hash_parms hash_parms; in handle_aead_req() local
1292 memset(&hash_parms, 0, sizeof(hash_parms)); in handle_aead_req()
1308 hash_parms.alg = ctx->auth.alg; in handle_aead_req()
1309 hash_parms.mode = ctx->auth.mode; in handle_aead_req()
1310 hash_parms.type = HASH_TYPE_NONE; in handle_aead_req()
1311 hash_parms.key_buf = (u8 *)ctx->authkey; in handle_aead_req()
1312 hash_parms.key_len = ctx->authkeylen; in handle_aead_req()
1313 hash_parms.digestsize = digestsize; in handle_aead_req()
1317 hash_parms.key_len = SHA224_DIGEST_SIZE; in handle_aead_req()
1363 hash_parms.type = (enum hash_type)ctx->cipher_type; in handle_aead_req()
1434 &cipher_parms, &hash_parms, in handle_aead_req()