Crypto API (Linux)
来源:互联网 发布:读取class属性 php 编辑:程序博客网 时间:2024/06/14 18:46
Crypto API is a cryptography framework in the Linux kernel, for various parts of the kernel that deal with cryptography, such as IPsec and dm-crypt. It was introduced in kernel version 2.5.45[1] and has since expanded to include essentially all popular block ciphers and hash functions.
Userspace interfaces[edit]
Many platforms that provide hardware acceleration of AES encryption expose this to programs through an extension of the instruction set architecture (ISA) of the various chipsets (e.g. AES instruction set for x86). With this sort of implementation any program (kernel-mode or user-space) may utilize these features directly.
Some platforms, such as the ARM Kirkwood SheevaPlug and AMD Geode processors, however, are not implemented as ISA extensions, and are only accessible through kernel-mode drivers. In order for user-mode applications that utilize encryption, such as OpenSSL or GnuTLS, to take advantage of such acceleration, they must interface with the kernel.
- AF_ALG
- A netlink-based interface that adds an AF_ALG address family;[2] it was merged into version 2.6.38 of the Linux kernel mainline.[3][4] There was once a plugin to OpenSSL to support AF_ALG,[5] which has been submitted for merging.[6] In version 1.1.0, OpenSSL landed another patch for AF_ALG contributed by Intel. [7]
- cryptodev
- The OpenBSD Cryptographic Framework /dev/crypto interface of OpenBSD was ported to Linux,[8][9][10] but never merged.
See also[edit]
- Microsoft CryptoAPI
References[edit]
- ^"Kernel development". LWN.net. 2002. Retrieved 2013-09-29.
- ^Edge, Jake (October 20, 2010). "A netlink-based user-space crypto API". LWN.net. Retrieved 29 December 2011.
- ^Linux_2_6_38 changes
- ^03c8efc fe869cd 8ff5909
- ^"OpenSSL - AF_ALG". 2011-10-22. Retrieved 29 December 2011.
|first1=
missing|last1=
in Authors list (help) - ^"#2554: Patch: AF_ALG dynamic engine for linux >= 2.6.38". OpenSSL. 2011-07-03. Retrieved 29 December 2011.
|first1=
missing|last1=
in Authors list (help) - ^"ALG: Add AFALG engine". OpenSSL. 2016-02-17. Retrieved 31 August 2016.
|first1=
missing|last1=
in Authors list (help) - ^Ludvig, Michal. "CryptoDev for Linux". Retrieved 29 December 2011.
- ^Mavrogiannopoulos, Nikos. "cryptodev-linux". Retrieved 12 January 2012.
- ^Edge, Jake (August 25, 2010). "An API for user-space access to kernel cryptography". LWN.net. Retrieved 29 December 2011.
- Crypto API (Linux)
- Linux内核Crypto接口整理之一:Scatterlist Cryptographic API
- Linux 2.6.38 User-space interface for Crypto API
- Crypto API 学习笔记
- windows crypto API 笔记
- 微软crypto API
- Crypto API加密通信流程
- Crypto API加密通信流程
- Crypto API 学习笔记一
- crypto API used in ipsec
- Crypto++ for linux
- /dev/crypto for Linux
- Linux Kernel(Android) 加密算法总结(二)- A netlink-based user-space crypto API
- Linux Kernel(Android) 加密算法总结(二)- A netlink-based user-space crypto API
- LINUX磁盘加密之CRYPTO
- LINUX磁盘加密之CRYPTO
- Bouncy Castle Crypto API c# port
- BlackBerry平台加密安全机制(Crypto API)
- nodejs-express使用
- 11/4 JAVA 集合框架预习
- 导包语句
- spring jdbc配置文件加密解密
- Android传感器完全解析——电子罗盘app实现
- Crypto API (Linux)
- Spring mvc + hibernate +freemarker(开源项目)
- Android 神器ViewDragHelper(实战二)
- LBP
- Xcode Build Search Paths设置
- 项目命名规范
- 按键控制listview滚动
- jeecms建站示意图
- Mac下安装pip,virtualenv,IPython等