Lines Matching refs:shash
372 struct shash_desc shash;
377 desc.shash.tfm = tfm_ctx->fallback;
378 desc.shash.flags = CRYPTO_TFM_REQ_MAY_SLEEP;
380 crypto_shash_init(&desc.shash);
381 crypto_shash_update(&desc.shash, req_ctx->buffer,
386 rc = mv_hash_import_sha1_ctx(req_ctx, &desc.shash);
390 rc = crypto_shash_final(&desc.shash, req->result);
775 struct shash_desc shash;
782 desc.shash.tfm = ctx->base_hash;
783 desc.shash.flags = crypto_shash_get_flags(ctx->base_hash) &
790 crypto_shash_digest(&desc.shash, key, keylen, ipad);
806 rc = crypto_shash_init(&desc.shash) ? :
807 crypto_shash_update(&desc.shash, ipad, bs) ? :
808 crypto_shash_export(&desc.shash, ipad) ? :
809 crypto_shash_init(&desc.shash) ? :
810 crypto_shash_update(&desc.shash, opad, bs) ? :
811 crypto_shash_export(&desc.shash, opad);