ocs_hcu_hash_init(9)
π 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 thestruct ocs_hcu_hash_ctx *, bestie, and she is getting set up πalgoβ the hashing algorithm to use, as anenum 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:
struct ocs_hcu_dma_entry(9)struct ocs_hcu_dma_list(9)ocs_hcu_wait_busy(9)ocs_hcu_get_intermediate_data(9)ocs_hcu_set_intermediate_data(9)ocs_hcu_hw_cfg(9)ocs_hcu_clear_key(9)ocs_hcu_write_key(9)ocs_hcu_ll_dma_start(9)ocs_hcu_hash_update(9)ocs_hcu_hash_finup(9)ocs_hcu_hash_final(9)ocs_hcu_digest(9)ocs_hcu_hmac(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms