evm_set_key(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to evm_set_key(9) from the Kernel API Manual β€” yes, the manual name is folded right in here instead of doing a boring header line πŸ’…βœ¨

🌸 NAME 🌸

evm_set_key β€” set the EVM HMAC key from the kernel πŸ’–

✨ SYNOPSIS ✨

int evm_set_key (void *key , size_t keylen );

πŸŽ€ ARGUMENTS πŸŽ€

  • key β€” pointer to a buffer with the key data πŸ—οΈ
  • keylen β€” length of the key data πŸ“

πŸ’… DESCRIPTION πŸ’…

This function allows setting the EVM HMAC key from the kernel without using the "encrypted" key subsystem keys. It can be used by the crypto HW kernel module which has its own way of managing keys. So yes, that module can do its own key-management thing and still use this β€” main character energy, fr fr 🫢

The key length should be between 32 and 128 bytes long. That's the range, bestie β€” no cap, respect it ✨

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./security/integrity/evm/evm_crypto.c πŸ‘€

xoxo, your kernel bestie 🫢 β€” source/version: ./security/integrity/evm, date: October 2026 πŸ’–

πŸ“¦ where this page comes from