Function report |
Source Code:include\crypto\aes.h |
Create Date:2022-07-28 06:43:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:validate key length for AES algorithms
Proto:static inline int aes_check_keylen(unsigned int keylen)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | keylen |
| 40 | Case keylen == AES_KEYSIZE_128 |
| 41 | Case keylen == AES_KEYSIZE_192 |
| 42 | Case keylen == AES_KEYSIZE_256 |
| 43 | Break |
| 44 | Default |
| 45 | Return -EINVAL |
| 48 | Return 0 |
| Name | Describe |
|---|---|
| aes_expandkey | 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |