fcrypt_pcbc_decrypt(9)
π fcrypt_pcbc_decrypt(9) π
okay so bestie, welcome to fcrypt_pcbc_decrypt(9) β it's a page straight out of the Kernel API Manual, and it's literally about undoing the FCrypt cipher's PCBC-mode encryption. yes, the un-fun direction. we're taking scrambled blocks and handing you back your data. slay π«Ά
β¨ NAME β¨
fcrypt_pcbc_decrypt β Decrypt data using FCrypt cipher in PCBC mode
like, that's the whole gig. decrypt. FCrypt. PCBC mode. no cap π
πΈ SYNOPSIS πΈ
void fcrypt_pcbc_decrypt (const struct fcrypt_key *key , const u8
iv[FCRYPT_BSIZE] , const void *src , void *dst , size_t nblocks );
look at that signature, it's giving main character energy β
π¦ ARGUMENTS π¦
keyβ The key π like, the actual key you're decrypting with. it's aconst struct fcrypt_key *, so nobody's touching it, it's just vibing there being a key.ivβ The 8-byte initialization vector π fr fr, it'sconst u8 iv[FCRYPT_BSIZE], andFCRYPT_BSIZEis the 8-byte situation. you need it, don't lose it.srcβ The source data π₯ the ciphertext lives here.const void *, so we're reading only, hands off.dstβ The destination data π Both in-place and out-of-place are supported. so you can decrypt right back into the same buffer (src==dst, go off) or into a whole separate one. iconic flexibility, we love to see it.nblocksβ The number of 8-byte blocks to decrypt π’ not bytes, babes, blocks. 8-byte blocks. that distinction is gonna matter, iykyk.
π SEE ALSO π
- Kernel file
./net/rxrpc/fcrypt.cποΈ fcrypt_preparekey(9)β get your key ready first, bestiefcrypt_pcbc_encrypt(9)β the other direction, the one where you hide the data π
lowkey a reminder: this is decrypt, so fcrypt_pcbc_encrypt(9) is your sibling page β if you're going the other way, that's where you wanna be π
and that's the page! π§ it came to us from ./net/rxrpc, dated October 2026, under the Kernel API Manual banner β stay encrypted out there, bestie ππ
π¦ 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