요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Asymmetric Cipher
=================
Asymmetric Cipher Algorithm Definitions
---------------------------------------
.. kernel-doc:: include/crypto/akcipher.h
:functions: akcipher_alg akcipher_request
Asymmetric Cipher API
---------------------
.. kernel-doc:: include/crypto/akcipher.h
:doc: Generic Public Key Cipher API
.. kernel-doc:: include/crypto/akcipher.h
:functions: crypto_alloc_akcipher crypto_free_akcipher crypto_akcipher_set_pub_key crypto_akcipher_set_priv_key crypto_akcipher_maxsize crypto_akcipher_encrypt crypto_akcipher_decrypt
Asymmetric Cipher Request Handle
--------------------------------
.. kernel-doc:: include/crypto/akcipher.h
:functions: akcipher_request_alloc akcipher_request_free akcipher_request_set_callback akcipher_request_set_crypt
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Asymmetric Cipher
1-3비대칭 Cipher(Asymmetric Cipher)
Asymmetric Cipher algorithm 정의
4-9Asymmetric Cipher algorithm 정의
`include/crypto/akcipher.h`의 `akcipher_alg`과 `akcipher_request` kernel-doc을 가져옵니다.
.. kernel-doc:: include/crypto/akcipher.h
:functions: akcipher_alg akcipher_request
Asymmetric Cipher API
10-18Asymmetric Cipher API
Generic Public Key Cipher API 설명과 transform 할당·해제, public/private key 설정, maximum size 조회, encrypt·decrypt API의 kernel-doc을 가져옵니다.
.. kernel-doc:: include/crypto/akcipher.h
:doc: Generic Public Key Cipher API
.. kernel-doc:: include/crypto/akcipher.h
:functions: crypto_alloc_akcipher crypto_free_akcipher crypto_akcipher_set_pub_key crypto_akcipher_set_priv_key crypto_akcipher_maxsize crypto_akcipher_encrypt crypto_akcipher_decrypt
Asymmetric Cipher request handle
19-23Asymmetric Cipher request handle
Request 할당·해제, callback 및 crypt buffer 설정 API의 kernel-doc을 가져옵니다.
.. kernel-doc:: include/crypto/akcipher.h
:functions: akcipher_request_alloc akcipher_request_free akcipher_request_set_callback akcipher_request_set_crypt
요약과 해설
api-akcipher.rst:1-23akcipher API는 public/private key를 설정하고 asymmetric encrypt·decrypt operation을 수행하는 transform과 asynchronous request interface를 제공합니다.