函数逻辑报告 |
Source Code:lib\crypto\aes.c |
Create Date:2022-07-27 07:41:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:aes_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
函数原型:int aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, unsigned int key_len)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct crypto_aes_ctx * | ctx | |
const u8 * | in_key | |
unsigned int | key_len |
196 | key_length等于key_len |
205 | rko[0]等于r32 - rotate a 32-bit value right*@word: value to rotate*@shift: bits to roll按位异或rc按位异或rki[0] |
210 | 如果key_len恒等于AES_KEYSIZE_192则 |
215 | 否则如果key_len恒等于AES_KEYSIZE_256则 |
237 | key_dec[i]等于inv_mix_columns(key_enc[j]) |
238 | key_dec[i + 1]等于inv_mix_columns(key_enc[j + 1]) |
239 | key_dec[i + 2]等于inv_mix_columns(key_enc[j + 2]) |
240 | key_dec[i + 3]等于inv_mix_columns(key_enc[j + 3]) |
248 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |