Requirements on Crypto Stack, No.426, AUTOSAR R21-11(270) CP

Requirements on Crypto Stack, No.426, 2021-11

https://www.autosar.org/fileadmin/standards/classic/21-11/AUTOSAR_SRS_CryptoStack.pdf

AUTOSAR R21-11記事一覧はこちら。

AUTOSAR 21-11,160文書読んだ。2022年5月中に全部読み。

https://qiita.com/kaizen_nagoya/items/9935c9e58bf82e1e63d2

AUTOSAR 21-11, 62文書読んだ。2022年5月中に半分到達予定。

https://qiita.com/kaizen_nagoya/items/648b32867635993410c8

AUTOSAR R21-11(0) 仕様ダウンロード一覧。単語帳。参考文献資料作成

https://qiita.com/kaizen_nagoya/items/9b3a1b9b8d1e8d7e288e

# 用語(terms)
|Term|Description|
|:--|:--|
|µC| Microcontroller
|AES| Advanced Encryption Standard
|CBC |Cipher Block Chaining
|CDD| Complex Device Driver
|CFB |Cipher Feedback
|CMAC |Cipher-based Message Authentication Code
|CPU |Central Processing Unit
|CRYPTO /Crypto|Crypto Driver
|CRYIF / CryIf |Crypto Interface
|CSM / Csm |Crypto Service Manager
|DET / Det| Default Error Tracer
|ECB |Electronic Code Book
|ECC |Elliptic Curve Cryptography
|ECDH| Elliptic Curve Diffie–Hellman
|ECDSA |Elliptic Curve Digital Signature Algorithm
|ECU |Electronic Control Unit
|GCM |Galois Counter Mode
|GMAC |Galois-based Message Authentication Code
|HMAC|Hash-based Message Authentication Code
|HSM / Hsm |Hardware Security Module
|HW| HardWare
|KEM |Key Encapsulation Mechanism
|KeyM |Key Manager
|MAC| Message Authentication Code
|MCAL |Micro Controller Abstraction Layer
|OEM |Original Equipment Manufacturer
|OFB |Output Feedback
|PKI |Public Key Infrastructure
|PRNG| Pseudo-Random Number Generator
|RACE |Rapid Automatic Cryptographic Equipment
|RAM| Random Access Memory
|RIPEMD |RACE Integrity Primitives Evaluation Message Digest
|RSA| Rivest-Shamir-Adleman Cryptosystem
|RTE |Run Time Environment
|SHA |Secure Hash Algorithm
|SECOC /SecOc|Secure Onboard Communication
|SW |SoftWare
|SWC| SoftWare Component
|SWS |SoftWare Specification
|TRNG| True Random Number Generator
|Vi| VendorId
|XEX |Xor-Encrypt-Xor
|XTS |XEX-based tweaked-codebook mode with ciphertext stealing
|Crypto Driver Object|A Crypto Driver Object is an instance of a crypto module (hardware or software), which is able to perform one or more different crypto operations.
|User |A user is a configured object with an ID and configured jobs.
|Channel |A channel is the path from a Crypto Service Manager queue via the Crypto Interface to a specific Crypto Driver Object.
|Job |A job is an instance of a user’s configured cryptographic primitive.
|Primitive| A primitive is an instance of a configured cryptographic algorithm realized in a Crypto Driver Object. Among others it refers to a functionality provided by the CSM to the application, the concrete underlining 'algorithmfamily' (e.g. AES, MD5, RSA, etc.), and a 'algorithmmode' (e.g. ECB, CBC, etc).
|Operation| An operation of a crypto primitive declares what part of the crypto primitive shall be performed. There are three different operations: It is also possible to perform more than one operation at once by concatenating the corresponding bits of the operation_mode argument.
|START |Operation indicates a new request of a crypto primitive, and it shall cancel all previous requests.
|UPDATE| Operation indicates, that the crypto primitive expect input data.
|FINISH |Operation indicates, that after this part all data are fed completely and the crypto primitive can finalize the calculations.
|Priority|The priority of a user defines the importance of it. The higher the priority (as well in value), the more immediate the user's job will be executed. The priority of a cryptographic job is part of the user’s configuration.
|Service| A service shall be understand as defined in the TR_Glossary document: A service is a type of operation that has a published specification of interface and behavior, involving a contract between the provider of the capability and the potential clients.

## 英日
日本語は仮訳

T.B.D.

# 参考(reference)

[1] General Requirements on Basic Software Modules
AUTOSAR_SRS_BSWGeneral.pdf
[2] Layered Software Architecture
AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf
[3] Software Standardization Template
AUTOSAR_TPS_StandardizationTemplate.pdf
[4] Specification of System Template
AUTOSAR_TPS_SystemTemplate.pdf
[5] Requirements on AUTOSAR Features
AUTOSAR_RS_Features