sm4_crypt_block(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is sm4_crypt_block(9) from the Kernel API Manual β€” short page, main-character function, let’s get into it πŸ’–βœ¨

🌸 NAME 🌸

sm4_crypt_block β€” Encrypt or decrypt a single SM4 block πŸ’…

Like, exactly one block. Not a whole stack of them. One block, iconic behavior, no cap.


✨ SYNOPSIS ✨

void sm4_crypt_block (const u32 *rk , u8 *out , const u8 *in );

πŸ’– ARGUMENTS πŸ’–

  • rk β€” The rkey_enc for encrypt or rkey_dec for decrypt πŸ”
  • out β€” Buffer to store output data πŸ“¦
  • in β€” Buffer containing the input data 🧚

πŸ”₯ SEE ALSO πŸ”₯


that’s the whole page, bestie β€” source/version: ./include/crypto, date: October 2026. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from