ocs_hcu_hash_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is ocs_hcu_hash_init(9) from the Kernel API Manual, and its whole job is: Initialize hash operation context. That’s the tea β˜•βœ¨

πŸ¦‹ SYNOPSIS πŸ¦‹

int ocs_hcu_hash_init (struct ocs_hcu_hash_ctx *ctx , enum ocs_hcu_algo
algo );

🌸 ARGUMENTS 🌸

  • ctx β€” the context to initialize. It’s the struct ocs_hcu_hash_ctx *, bestie, and she is getting set up πŸ’…
  • algo β€” the hashing algorithm to use, as an enum ocs_hcu_algo. pick your fighter πŸŽ€

πŸ”₯ RETURN πŸ”₯

0 on success, negative error code otherwise. So if you get 0, celebrate; if it’s negative, that’s the kernel saying β€œnot today” 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/crypto/intel/keembay/ocs-hcu.c, plus these besties:


and that’s the whole manual page, bestie 🫢 source/version: ./drivers/crypto/intel/keembay; date: October 2026; page: ocs_hcu_hash_init(9). periodt πŸ’…βœ¨

πŸ“¦ where this page comes from