函数逻辑报告 |
Source Code:fs\crypto\keysetup.c |
Create Date:2022-07-29 10:57:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Create a symmetric cipher object for the given encryption mode and key
函数原型:struct crypto_skcipher *fscrypt_allocate_skcipher(struct fscrypt_mode *mode, const u8 *raw_key, const struct inode *inode)
返回类型:struct crypto_skcipher
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fscrypt_mode * | mode | |
const u8 * | raw_key | |
const struct inode * | inode |
73 | 如果是错误则 |
75 | fscrypt_warn(inode, "Missing crypto API support for %s (API name: \"%s\")", friendly_name, cipher_str) |
78 | 返回:错误号 |
80 | fscrypt_err(inode, "Error allocating '%s' transform: %ld", cipher_str, 错误) |
82 | 返回:tfm |
84 | 如果非xchg( & logged_impl_name, 1)则 |
91 | 打印信息("fscrypt: %s using implementation \"%s\"\n", friendly_name, cra_driver_name) |
97 | 如果err则转到:err_free_tfm |
100 | 返回:tfm |
102 | err_free_tfm : |
104 | 返回:错误号 |
名称 | 描述 |
---|---|
fscrypt_set_derived_key | Given the per-file key, set up the file's crypto transform object |
setup_per_mode_key | |
fscrypt_get_direct_key | Prepare to encrypt directly using the master key in the given mode |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |