ocs_hcu_hash_final(9)
πΈ NAME πΈ
ocs_hcu_hash_final β finalize hash computation, bestie. This is the ocs_hcu_hash_final(9) page in the Kernel API Manual, and yes, itβs giving βlast stepβ energy β¨.
β¨ SYNOPSIS β¨
int ocs_hcu_hash_final (struct ocs_hcu_dev *hcu_dev , const struct
ocs_hcu_hash_ctx *ctx , u8 *dgst , size_t dgst_len );
π ARGUMENTS π
hcu_devβ the OCS HCU device to use, bestie.ctxβ the OCS HCU hashing context.dgstβ the buffer where the computed digest gets saved. Thatβs where the final digest goes, periodt.dgst_lenβ the length ofdgst.
π RETURN π
0 on success; a negative error code otherwise. So like, success is 0, and bad vibes are a negative error code, fr fr.
π SEE ALSO π
Kernel file ./drivers/crypto/intel/keembay/ocs-hcu.c, plus the whole friend group:
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_init(9)ocs_hcu_hash_update(9)ocs_hcu_hash_finup(9)ocs_hcu_digest(9)ocs_hcu_hmac(9)
xoxo π this one is literally ocs_hcu_hash_final(9) from the Kernel API Manual, sourced from ./drivers/crypto/intel/keembay, October 2026. mwah π
π¦ 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