Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Crypto API (Linux)

From Wikipedia, the free encyclopedia
Linux kernel interface for cryptography

Crypto API is acryptographyframework in theLinux kernel, for various parts of the kernel that deal with cryptography, such asIPsec anddm-crypt. It was introduced in kernel version 2.5.45[1] and has since expanded to include essentially all popularblock ciphers andhash functions.

Userspace interfaces

[edit]

Many platforms that provide hardware acceleration ofAES encryption expose this to programs through an extension of theinstruction set architecture (ISA) of the various chipsets (e.g.AES instruction set forx86). With this sort of implementation, any program (kernel-mode oruser-space) may utilize these features directly.[2]Some platforms, such as the ARM KirkwoodSheevaPlug andAMD 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 aswolfSSL,OpenSSL orGnuTLS, to take advantage of such acceleration, they must interface with the kernel.[3]

AF_ALG
Anetlink-based interface that adds anAF_ALG address family;[4] it was merged into version 2.6.38 of theLinux kernel mainline.[5][6] There was once a plugin toOpenSSL to support AF_ALG,[7] which has been submitted for merging.[8] In version 1.1.0, OpenSSL landed another patch for AF_ALG contributed by Intel.[9]wolfSSL can make use of AF_ALG and cryptodev[10]
cryptodev
TheOpenBSD Cryptographic Framework/dev/crypto interface of OpenBSD was ported to Linux,[11][12][13] but never merged.

See also

[edit]

References

[edit]
  1. ^"Kernel development".LWN.net. 2002. Retrieved2013-09-29.
  2. ^Peter, Eilly."abc investissement". Retrieved22 August 2024.
  3. ^Xiao, Yuan; Li, Mengyuan; Chen, Sanchuan; Zhang, Yinqian (2017-10-30)."STACCO: Differentially Analyzing Side-Channel Traces for Detecting SSL/TLS Vulnerabilities in Secure Enclaves".Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security. CCS '17. New York, NY, USA: Association for Computing Machinery. pp. 859–874.arXiv:1707.03473.doi:10.1145/3133956.3134016.ISBN 978-1-4503-4946-8.
  4. ^Edge, Jake (October 20, 2010)."A netlink-based user-space crypto API".LWN.net. Retrieved29 December 2011.
  5. ^Linux_2_6_38 changes
  6. ^03c8efcArchived 2013-04-15 atarchive.todayfe869cdArchived 2013-04-15 atarchive.today8ff5909Archived 2013-04-15 atarchive.today
  7. ^Markus (2011-10-22)."OpenSSL - AF_ALG". Archived fromthe original on 28 September 2011. Retrieved29 December 2011.
  8. ^Markus nepenthesdev at gmail.com (2011-07-03)."#2554: Patch: AF_ALG dynamic engine for linux >= 2.6.38".OpenSSL. Archived fromthe original on 2016-04-09. Retrieved29 December 2011.
  9. ^clucey (2016-02-17)."ALG: Add AFALG engine".OpenSSL. Retrieved31 August 2016.
  10. ^Jacob (19 December 2018)."AF_ALG + Cryptodev-linux". Retrieved10 March 2020.
  11. ^Ludvig, Michal."CryptoDev for Linux". Retrieved29 December 2011.
  12. ^Mavrogiannopoulos, Nikos."cryptodev-linux". Archived fromthe original on 20 March 2012. Retrieved12 January 2012.
  13. ^Edge, Jake (August 25, 2010)."An API for user-space access to kernel cryptography".LWN.net. Retrieved29 December 2011.
Organization
Kernel
Support
People
Technical
Debugging
Startup
ABIs
APIs
Kernel
System Call
Interface
In-kernel
Userspace
Daemons,
File systems
Wrapper
libraries
Components
Variants
Virtualization
Adoption
Range
of use
Adopters


Stub icon

This cryptography-related article is astub. You can help Wikipedia byadding missing information.

Stub icon

ThisLinux-related article is astub. You can help Wikipedia byadding missing information.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Crypto_API_(Linux)&oldid=1305953571"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp