Lines Matching defs:digest
242 * Load the contents of the PE binary into the digest, leaving out the image
328 void *digest;
365 digest = (void *)desc + desc_size;
366 ret = crypto_shash_final(desc, digest);
370 pr_debug("Digest calc = [%*ph]\n", ctx->digest_len, digest);
372 /* Check that the PE file digest matches that in the MSCODE part of the
375 if (memcmp(digest, ctx->digest, ctx->digest_len) != 0) {
446 ctx.digest_len, ctx.digest_len, ctx.digest);
448 /* Generate the digest and check against the PKCS7 certificate
454 kfree_sensitive(ctx.digest);