Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mul_by_x

Proto:static u32 mul_by_x(u32 w)

Type:u32

Parameter:

TypeParameterName
u32w
93  x = w & 0x7f7f7f7f
94  y = w & 0x80808080
97  Return x << 1 ^ (y >> 7) * 0x1b
Caller
NameDescribe
mix_columns
aes_expandkeyaes_expandkey - Expands the AES key as described in FIPS-197*@ctx: The location where the computed key will be stored.*@in_key: The supplied key.*@key_len: The length of the supplied key.* Returns 0 on success