Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\crypto\aes.c Create Date:2022-07-28 06:43:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:inv_subshift

Proto:static __always_inline u32 inv_subshift(u32 in[], int pos)

Type:u32

Parameter:

TypeParameterName
u32in
intpos
157  Return aes_inv_sbox[in[pos] & 0xff] ^ aes_inv_sbox[(in[(pos + 3) % 4] >> 8) & 0xff] << 8 ^ aes_inv_sbox[(in[(pos + 2) % 4] >> 16) & 0xff] << 16 ^ aes_inv_sbox[(in[(pos + 1) % 4] >> 24) & 0xff] << 24
Caller
NameDescribe
aes_decryptaes_decrypt - Decrypt a single AES block*@ctx: Context struct containing the key schedule*@out: Buffer to store the plaintext*@in: Buffer containing the ciphertext