Lines Matching defs:digest
80 uint16_t digest_size; /* digest size in bytes */
81 uint8_t digest[]; /* the actual digest */
167 * libfsverity_compute_digest() - Compute digest of a file
168 * A fs-verity file digest is the hash of a file's fsverity_descriptor.
169 * Not to be confused with a traditional file digest computed over the
174 * @digest_ret: Pointer to pointer for computed digest.
180 * * digest_ret returns a pointer to the digest on success. The digest object
190 * Sign a file digest in a way that is compatible with the Linux
196 * @digest: pointer to previously computed digest
198 * @sig_ret: Pointer to pointer for signed digest
199 * @sig_size_ret: Pointer to size of signed return digest
203 * operations to sign the digest failed, -EBADMSG if the key and/or
205 * * sig_ret returns a pointer to the signed digest on success. This object
207 * * sig_size_ret returns the size (in bytes) of the signed digest on success.
210 libfsverity_sign_digest(const struct libfsverity_digest *digest,
259 * libfsverity_get_digest_size() - Get size of digest for a given algorithm
262 * Return: size of digest in bytes, or -1 if algorithm is unknown.