ipe_digest_parse(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is ipe_digest_parse(9) from the Kernel API Manual, and it’s literally the function that parses a digest in IPE’s policy πŸ’…βœ¨ no cap.

🌸 NAME 🌸

ipe_digest_parse β€” parse a digest in IPE’s policy. That’s the assignment, and it ate πŸŽ€.

πŸŽ€ SYNOPSIS πŸŽ€

struct digest_info * ipe_digest_parse (const char *valstr );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • valstr β€” supplies the string parsed from the policy. That’s the string you’re handing over, bestie 🫢.

✨ DESCRIPTION ✨

Digests in IPE are defined in a standard way: <alg_name>:<hex> πŸ§šπŸ’–.

Use this function to create a property to parse the digest consistently. The parsed digest will be saved in value in IPE’s policy. Yes β€” value in IPE’s policy β€” keep that in mind, iykyk 🌈.

⭐ RETURN ⭐

On success, you get the parsed digest_info structure β€” iconic πŸ‘‘. If an error occurs, the function returns the error value (via ERR_PTR), so don’t ignore that 😭.

πŸ’œ SEE ALSO πŸ’œ

Go read those too, fr fr πŸ“šβœ¨.

signin’ off from source/version ./security/ipe, date October 2026, ipe_digest_parse(9) β€” mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from