本文整理汇总了C++中crypto_unregister_template函数的典型用法代码示例。如果您正苦于以下问题:C++ crypto_unregister_template函数的具体用法?C++ crypto_unregister_template怎么用?C++ crypto_unregister_template使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了crypto_unregister_template函数的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: crypto_ccm_module_init
int __init crypto_ccm_module_init(void)
{
int err;
err = crypto_register_template(&crypto_ccm_base_tmpl);
if (err)
goto out;
err = crypto_register_template(&crypto_ccm_tmpl);
if (err)
goto out_undo_base;
err = crypto_register_template(&crypto_rfc4309_tmpl);
if (err)
goto out_undo_ccm;
out:
return err;
out_undo_ccm:
crypto_unregister_template(&crypto_ccm_tmpl);
out_undo_base:
crypto_unregister_template(&crypto_ccm_base_tmpl);
goto out;
}
开发者ID:Kanel,项目名称:CloudMAC-VAP-Driver,代码行数:25,代码来源:crypto-ccm.c
示例2: crypto_gcm_module_exit
static void __exit crypto_gcm_module_exit(void)
{
kfree(gcm_zeroes);
crypto_unregister_template(&crypto_rfc4106_tmpl);
crypto_unregister_template(&crypto_gcm_tmpl);
crypto_unregister_template(&crypto_gcm_base_tmpl);
}
开发者ID:mikuhatsune001,项目名称:linux2.6.32,代码行数:7,代码来源:gcm.c
示例3: crypto_gcm_module_init
static int __init crypto_gcm_module_init(void)
{
int err;
gcm_zeroes = kzalloc(16, GFP_KERNEL);
if (!gcm_zeroes)
return -ENOMEM;
err = crypto_register_template(&crypto_gcm_base_tmpl);
if (err)
goto out;
err = crypto_register_template(&crypto_gcm_tmpl);
if (err)
goto out_undo_base;
err = crypto_register_template(&crypto_rfc4106_tmpl);
if (err)
goto out_undo_gcm;
return 0;
out_undo_gcm:
crypto_unregister_template(&crypto_gcm_tmpl);
out_undo_base:
crypto_unregister_template(&crypto_gcm_base_tmpl);
out:
kfree(gcm_zeroes);
return err;
}
开发者ID:mikuhatsune001,项目名称:linux2.6.32,代码行数:30,代码来源:gcm.c
示例4: pcrypt_exit
static void __exit pcrypt_exit(void)
{
pcrypt_fini_padata(&pencrypt);
pcrypt_fini_padata(&pdecrypt);
kset_unregister(pcrypt_kset);
crypto_unregister_template(&pcrypt_tmpl);
}
开发者ID:AlexShiLucky,项目名称:linux,代码行数:8,代码来源:pcrypt.c
示例5: crypto_ctr_module_init
static int __init crypto_ctr_module_init(void)
{
int err;
err = crypto_register_template(&crypto_ctr_tmpl);
if (err)
goto out;
err = crypto_register_template(&crypto_rfc3686_tmpl);
if (err)
goto out_drop_ctr;
out:
return err;
out_drop_ctr:
crypto_unregister_template(&crypto_ctr_tmpl);
goto out;
}
开发者ID:03199618,项目名称:linux,代码行数:19,代码来源:ctr.c
示例6: crypto_ofb_module_exit
static void __exit crypto_ofb_module_exit(void)
{
crypto_unregister_template(&crypto_ofb_tmpl);
}
开发者ID:avagin,项目名称:linux,代码行数:4,代码来源:ofb.c
示例7: crypto_ccm_module_exit
void __exit crypto_ccm_module_exit(void)
{
crypto_unregister_template(&crypto_rfc4309_tmpl);
crypto_unregister_template(&crypto_ccm_tmpl);
crypto_unregister_template(&crypto_ccm_base_tmpl);
}
开发者ID:Kanel,项目名称:CloudMAC-VAP-Driver,代码行数:6,代码来源:crypto-ccm.c
示例8: crypto_ctr_module_exit
static void __exit crypto_ctr_module_exit(void)
{
crypto_unregister_template(&crypto_rfc3686_tmpl);
crypto_unregister_template(&crypto_ctr_tmpl);
}
开发者ID:03199618,项目名称:linux,代码行数:5,代码来源:ctr.c
示例9: echainiv_module_exit
static void __exit echainiv_module_exit(void)
{
crypto_unregister_template(&echainiv_tmpl);
}
开发者ID:quadcores,项目名称:cbs_4.2.4,代码行数:4,代码来源:echainiv.c
示例10: cryptd_exit
static void __exit cryptd_exit(void)
{
cryptd_stop_thread(&state);
crypto_unregister_template(&cryptd_tmpl);
}
开发者ID:274914765,项目名称:C,代码行数:5,代码来源:cryptd.c
示例11: seqiv_module_exit
static void __exit seqiv_module_exit(void)
{
crypto_unregister_template(&seqiv_tmpl);
}
开发者ID:0x000000FF,项目名称:edison-linux,代码行数:4,代码来源:seqiv.c
示例12: eseqiv_module_exit
void __exit eseqiv_module_exit(void)
{
crypto_unregister_template(&eseqiv_tmpl);
}
开发者ID:LouZiffer,项目名称:m900_kernel_cupcake-SDX,代码行数:4,代码来源:eseqiv.c
示例13: crypto_fpu_exit
void __exit crypto_fpu_exit(void)
{
crypto_unregister_template(&crypto_fpu_tmpl);
}
开发者ID:CSCLOG,项目名称:beaglebone,代码行数:4,代码来源:fpu.c
示例14: chainiv_module_exit
void chainiv_module_exit(void)
{
crypto_unregister_template(&chainiv_tmpl);
}
开发者ID:LouZiffer,项目名称:m900_kernel_cupcake-SDX,代码行数:4,代码来源:chainiv.c
注:本文中的crypto_unregister_template函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论