DEENESPTFRRUARHIKOZHNL

klasse ara::crypto::cryp::AuthCipherCtx

[SWS_CRYPT_20100] Upstream: RS_CRYPTO_02207

class AuthCipherCtx :           public CryptoContext {...};

Authenticated Cipher Context interface.

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Forwarding-Header#include "ara/crypto/crypto_fwd.h"
Scopenamespace ara::crypto::cryp
Basisklasse(n)CryptoContext

User GuideAI-GEGENEREERD

Biedt een interface voor geauthenticeerde symmetrische versleuteling en ontsleuteling met integriteitsbescherming.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: a1dee2a3fcf5 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Biedt een interface voor geauthenticeerde symmetrische versleuteling en ontsleuteling met integriteitsbescherming.

De interface ara::crypto::cryp::AuthCipherCtx dient voor de geauthenticeerde versleuteling en ontsleuteling van data met behoud van vertrouwelijkheid en integriteit [SWS_CRYPT_23911]. Na configuratie van de sleutel vindt de verwerking plaats als een atomair afzonderlijk verzoek of als een gestreamde opeenvolging van initialisatie, optionele authenticatiedata, payload-updates en finalisering. Als kritieke veiligheidsvoorwaarde faalt de ontsleuteling bij een ongeldige authenticatietag, waardoor ontsleutelde payload pas na succesvolle validatie mag worden verwerkt [SWS_CRYPT_50075].

Context

De interface ara::crypto::cryp::AuthCipherCtx definieert de gestandaardiseerde programmeerinterface voor geauthenticeerde cijferoperaties (Authenticated Encryption with Associated Data, AEAD) binnen het AUTOSAR Adaptive Platform. Deze combineert vertrouwelijkheid met integriteitsbescherming door naast de eigenlijke versleuteling of ontsleuteling van payload altijd een cryptografische authenticatietag te genereren c.q. valideren. Als centrale interactiepartners fungeren aanroepende applicaties en sleutelobjecten: Een context wordt vóór gebruik gekoppeld aan een concrete instantie van SymmetricKey [SWS_CRYPT_23911] of geconfigureerd met een gepersisteerde c.q. ter beschikking gestelde KeySlot [SWS_CRYPT_50072]. Naast stapsgewijze streamingverwerking ondersteunt de klasse ook zelfstandige afzonderlijke aanroepen voor de verwerking van volledige berichten in één stap [SWS_CRYPT_50078].

Levenscyclus

Contexten worden in het applicatiebereik beheerd via het gedeelde pointertype ara::crypto::cryp::AuthCipherCtx::Sptr [SWS_CRYPT_20101]. (Interpretatie: Objectcreatie vindt doorgaans plaats via een bovenliggende provider-factory, aangezien AuthCipherCtx gespecificeerd is als een pure interface). Vraag Q-23125789874cf2f3 (open) Alle lidfuncties zijn gedeclareerd als uitzonderingsveilig (exception safe) en thread-safe (thread-safe) [SWS_CRYPT_23911], [SWS_CRYPT_24715]. De functionele levenscyclus doorloopt duidelijk gedefinieerde toestanden:

  • Niet-geïnitialiseerd: Onmiddellijk na instantiatie. Aanroepen voor gegevensverwerking worden afgewezen, aangezien er nog geen sleutel is toegewezen [SWS_CRYPT_50081].
  • Sleutel geconfigureerd: Door een succesvolle aanroep van SetKey met een SymmetricKey [SWS_CRYPT_23911] of een KeySlot [SWS_CRYPT_50072] gaat de context over naar de gebruiksklare toestand. Vanuit deze toestand kunnen single-shot-operaties direct worden uitgevoerd.
  • Streaming actief: Wordt betreden door het aanroepen van Start onder vermelding van de transformatierichting met initialisatievector (IV) [SWS_CRYPT_24715] of zonder expliciete IV [SWS_CRYPT_50073].
  • Voltooiing / Reset: Een lopende streamingoperatie wordt regulier afgesloten door Finish [SWS_CRYPT_50075] of FinishEncrypt [SWS_CRYPT_50076], of voortijdig afgebroken via Cancel [SWS_CRYPT_50077]. Daarna staat de context weer gereed voor nieuwe verwerkingsreeksen.
Lebenszyklus Uninitialized Uninitialized KeyConfigured KeyConfigured Uninitialized->KeyConfigured SetKey() KeyConfigured->KeyConfigured ProcessSingleCall() StreamingActive StreamingActive KeyConfigured->StreamingActive Start() StreamingActive->KeyConfigured Finish() / Cancel() StreamingActive->StreamingActive UpdateAuthenticatedData() UpdateConfidentialData()

Toestandsdiagram: Toestandsfasen van de context van sleutelbinding via streamingverwerking tot voltooiing. Bronnen: [SWS_CRYPT_23911], [SWS_CRYPT_50072], [SWS_CRYPT_24715], [SWS_CRYPT_50075], [SWS_CRYPT_50077].

Gebruikspad

Voor continue datastroomverwerking vereist de interface een geordende opeenvolging van aanroepen:

  1. Configuratie: Toewijzing van de sleutel via SetKey [SWS_CRYPT_23911] c.q. SetKey met KeySlot [SWS_CRYPT_50072].
  2. Opvragen van parameters: Optioneel bepalen van grenswaarden en buffergrootten via GetMinimumChunkSize [SWS_CRYPT_50162], GetMaximumChunkSize [SWS_CRYPT_50082], GetMinimumInputIvSize [SWS_CRYPT_50163], GetMaximumInputIvSize [SWS_CRYPT_50164], GetTagSize [SWS_CRYPT_50161] en GetRequiredOutputBufferSize [SWS_CRYPT_50081].
  3. Start van de operatie: Aanroep van Start onder vastlegging van de richting (versleuteling of ontsleuteling) alsmede het ter beschikking stellen van de IV [SWS_CRYPT_24715] of het aanvragen van een context-eigen IV [SWS_CRYPT_50073].
  4. Geassocieerde data (AAD): Indien aanvullende platte-tekstdata in de integriteitsberekening moeten worden meegenomen, worden deze via UpdateAuthenticatedData doorgegeven [SWS_CRYPT_20313]. De maximaal toelaatbare AAD-grootte kan via GetMaxAssociatedDataSize worden opgevraagd [SWS_CRYPT_20103]. Belangrijk: AAD-blokken moeten dwingend vóór de eigenlijke payload worden overgedragen.
  5. Payloadverwerking: Stapsgewijze overdracht van datablokken via UpdateConfidentialData [SWS_CRYPT_50074]. Bij de ontsleuteling wordt de platte tekst geretourneerd voordat de authenticiteit ervan vaststaat; de applicatie mag deze data pas na een succesvolle finalisatie gebruiken.
  6. Finalisatie: Beëindigen van de operatie via Finish [SWS_CRYPT_50075] of FinishEncrypt [SWS_CRYPT_50076], waardoor het finale blok wordt verwerkt en de authenticatie-tag wordt berekend respectievelijk geverifieerd.

Voor compacte payloads bestaan er single-call-alternatieven: ProcessSingleCall verwerkt data zonder IV-overdracht [SWS_CRYPT_50078], ProcessSingleCallWithInputIv accepteert een externe IV [SWS_CRYPT_50079], en EncryptSingleCallWithOutputIv retourneert een door de context gegenereerde IV aan de aanroeper [SWS_CRYPT_50080].

Verloop van een gestreamde geauthenticeerde versleutelingAnwendungAuthCipherCtxSetKey(key)Result<void>Start(kEncrypt, iv)Result<void>optZusatzdaten vorhandenUpdateAuthenticatedData(aad)Result<void>loopfuer jeden DatenblockUpdateConfidentialData(in, out)Result<size_t>Finish(in, out, tag)Result<size_t>

Sequentiediagram: Aanroepvolgorde van een gestreamde geauthenticeerde versleuteling. Bronnen: [SWS_CRYPT_23911], [SWS_CRYPT_24715], [SWS_CRYPT_20313], [SWS_CRYPT_50074], [SWS_CRYPT_50075].

Foutscenario's

Methoden van AuthCipherCtx retourneren resultaten via ara::core::Result en bezitten in geval van een fout rollback-semantiek. Relevante foutcodes uit ara::crypto::CryptoErrc zijn:

Deze handleiding is uitsluitend gebaseerd op de AUTOSAR Adaptive-standaard (release R25-11) en vat de eisen aan de interface ara::crypto::cryp::AuthCipherCtx samen.

Ledenkaart

Klassendiagram

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__crypto__cryp__AuthCipherCtx142 AuthCipherCtx + Cancel() + EncryptSingleCallWithOutputIv() + Finish() + FinishEncrypt() + GetMaxAssociatedDataSize() + GetMaximumChunkSize() + GetMaximumInputIvSize() + GetMinimumChunkSize() + GetMinimumInputIvSize() + GetOutputIvSize() + GetRequiredOutputBufferSize() + GetTagSize() + ProcessSingleCall() + ProcessSingleCallWithInputIv() + SetKey() + Start() … 2 weitere nara__crypto__cryp__CryptoContext85 CryptoContext nara__crypto__cryp__AuthCipherCtx142->nara__crypto__cryp__CryptoContext85

Detailweergave

Kies een item in de inhoudsopgave.

Methoden

Cancel functie

Cancel the ongoing streaming operation that has been initiated by Start() and has not yet been finished.

virtual ara::core::Result< void > Cancel () noexcept=0;

Perform encryption and calculate/verify of the authentication tag in a single-call and return an IV generated by the context.

virtual ara::core::Result< std::size_t > EncryptSingleCallWithOutputIv (ReadOnlyMemRegion dataIn, ReadWriteMemRegion dataOut, ReadWriteMem Region tag, ReadWriteMemRegion ivOut, ara::core::Optional< ReadOnlyMem Region > authenticatedData) noexcept=0;
Finish functie

Finalize the en-/decryption and calculate/verify the authentication tag without returning an IV.

Finalize the encryption and calculate the authentication tag and return the IV generated by the context.

virtual ara::core::Result< std::size_t > FinishEncrypt (ReadOnlyMem Region in, ReadWriteMemRegion out, ReadWriteMemRegion tag, ReadWrite MemRegion ivOut) noexcept=0;

Get maximum supported size of associated public data.

virtual ara::core::Result< std::size_t > GetMaxAssociatedDataSize () const noexcept=0;

Get the maximum input buffer size supported for processing in single calls to Update(), Finish(), FinishEncrypt() or ProcessSingleCall() by this context.

virtual ara::core::Result< std::size_t > GetMaximumChunkSize () const noexcept=0;

Get the maximum IV size required to be passed to the context in the functions Start() and ProcessSingleCallWithInputIv() for the given transformDirection.

virtual ara::core::Result< std::size_t > GetMaximumInputIvSize (Crypto Transform transformDirection) const noexcept=0;

Get the minimum input buffer size supported for processing in single calls to Update(), Finish(), FinishEncrypt() or ProcessSingleCall() by this context.

virtual ara::core::Result< std::size_t > GetMinimumChunkSize () const noexcept=0;

Get the minimum IV size required to be passed to the context in the functions Start() and ProcessSingleCallWithInputIv() for the given transformDirection.

virtual ara::core::Result< std::size_t > GetMinimumInputIvSize (Crypto Transform transformDirection) const noexcept=0;

Get the output IV size that will be returned by the functions FinishEncrypt() (in case no IV has been provided by the application during the call to Start()), and EncryptSingleCallWithOutputIv().

virtual ara::core::Result< std::size_t > GetOutputIvSize () const noexcept=0;

Calculate the maximum required size of the output buffer depending on the input size in the current state of the context.

virtual ara::core::Result< std::size_t > GetRequiredOutputBufferSize (std::size_t inputSize, bool isFinal) const noexcept;
GetTagSize functie

Get the output tag size.

virtual ara::core::Result< std::size_t > GetTagSize () const noexcept=0;

Perform en-/decryption and calculate/verify of the authentication tag in a single-call without setting or returning an IV.

virtual ara::core::Result< std::size_t > ProcessSingleCall (ReadOnly MemRegion dataIn, ReadWriteMemRegion dataOut, ReadWriteMemRegion tag, CryptoTransform transformDirection, ara::core::Optional< ReadOnlyMem Region > authenticatedData) noexcept=0;

Perform en-/decryption and calculate/verify of the authentication tag in a single-call, providing an IV to be used during en-/decryption.

virtual ara::core::Result< std::size_t > ProcessSingleCallWithInputIv (ReadOnlyMemRegion dataIn, ReadWriteMemRegion dataOut, ReadWriteMem Region tag, CryptoTransform transformDirection, ReadOnlyMemRegion iv, ara::core::Optional< ReadOnlyMemRegion > authenticatedData) noexcept=0;
SetKey functie 2

The interface shall configure the context to use the provided SymmetricKey.

Overloads SetKey 2
virtual ara::core::Result< void > SetKey (SymmetricKey::Sptr key) noexcept=0; SWS_CRYPT_23911
virtual ara::core::Result< void > SetKey (KeySlot::Sptr keySlot) noexcept=0; SWS_CRYPT_50072
Start functie 2

Initialize the context for a new encryption or decryption and set the IV used by the context.

Overloads Start 2
virtual ara::core::Result< void > Start (CryptoTransform transform Direction, ReadOnlyMemRegion iv) noexcept=0; SWS_CRYPT_24715
virtual ara::core::Result< void > Start (CryptoTransform transform Direction) noexcept=0; SWS_CRYPT_50073

Update the tag calculation by a new chunk of additional authenticated data.

virtual ara::core::Result< void > UpdateAuthenticatedData (ReadOnlyMem Region authenticatedData) noexcept=0;

Encrypt or decrypt confidential data. When used for decryption, the plaintext is returned without verifying its authenticity. An application must not use the data before verifying its authenticity using Finish().

virtual ara::core::Result< std::size_t > UpdateConfidentialData (Read OnlyMemRegion in, ReadWriteMemRegion out) noexcept=0;

Type-aliassen

Sptr typealias

Smart pointer of the interface.

Documentatie van de methoden

functie Cancel [SWS_CRYPT_50077] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< void > Cancel () noexcept=0;

Cancel the ongoing streaming operation that has been initiated by Start() and has not yet been finished.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 739ac0d710b6 Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De methode Cancel() van de interface ara::crypto::cryp::AuthCipherCtx breekt een actieve streamingoperatie af die eerder via Start() werd ingeleid en nog niet is voltooid [SWS_CRYPT_50077]. De functie wordt ter beschikking gesteld via de header ara/crypto/cryp/auth_cipher_ctx.h en werkt synchroon zonder invoerparameters [SWS_CRYPT_50077]. Deze retourneert een ara::core::Result<void>, die bij succes leeg is.

Foutafhandeling en randvoorwaarden

Een beëindiging vereist dat de gegevensverwerking daadwerkelijk vooraf is gestart door Start(). Is de streamingoperatie niet gestart, dan mislukt de aanroep en levert deze de foutcode ara::crypto::CryptoErrc::kProcessingNotStarted met rollback-semantiek op [SWS_CRYPT_50077].

Concurrency

De operatie is gedeclareerd als noexcept en volgens de specificatie geclassificeerd als zowel thread-safe als exception safe [SWS_CRYPT_50077].

Samenspel

Het door Cancel() gerealiseerde afbreekpatroon is gestandaardiseerd in module crypt. Een identieke interfacesemantiek en dezelfde foutcode ara::crypto::CryptoErrc::kProcessingNotStarted zijn gedefinieerd voor corresponderende streamingcontexten:

Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de AUTOSAR-specificatie R25-11.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result< void >an empty result if the ongoing streaming operation was cancelled successfully, or a result containing an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kProcessingNotStartedrollback_semantics if data processing was not started by a call of the Start() method

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50077
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50077@rel:R25-11#1fee30a8
Content hash
1fee30a8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50077
Status: valid/unmigrated Version: rel:R25-11#863ca4bd Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50077@rel:R25-11#863ca4bd
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie EncryptSingleCallWithOutputIv [SWS_CRYPT_50080] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< std::size_t > EncryptSingleCallWithOutputIv (ReadOnlyMemRegion dataIn, ReadWriteMemRegion dataOut, ReadWriteMem Region tag, ReadWriteMemRegion ivOut, ara::core::Optional< ReadOnlyMem Region > authenticatedData) noexcept=0;

Perform encryption and calculate/verify of the authentication tag in a single-call and return an IV generated by the context.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 6385ebfbc16d Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De synchrone methode EncryptSingleCallWithOutputIv van de interface ara::crypto::cryp::AuthCipherCtx voert een geauthentiseerde versleuteling uit in één enkele stap en genereert daarbij zelfstandig een initialisatievector [SWS_CRYPT_50080]. Deze verwerkt invoergegevens uit dataIn evenals optionele aanvullende gegevens authenticatedData en schrijft de cijfertekst naar de buffer dataOut. De gegenereerde initialisatievector wordt opgeslagen in de buffer ivOut, terwijl de authenticatie-tag via tag wordt uitgevoerd [SWS_CRYPT_50080]. De buffergrootte voor ivOut kan vooraf via de methode GetOutputIvSize worden bepaald [SWS_CRYPT_50165]. Ondanks het naamsbestanddeel Encrypt kan de methode vermoedelijk ook voor ontsleuteling worden gebruikt, aangezien de foutspecificatie het gedrag voor transformDirection == kDecrypt expliciet vermeldt [SWS_CRYPT_50080]. Vraag Q-66618567b20f99b9 (open)

Voor de aanroep gelden wezenlijke voorwaarden en beperkingen:

  • De context moet vooraf succesvol zijn geïnitialiseerd met SetKey; anders wordt kUninitializedContext gemeld [SWS_CRYPT_50080].
  • De sleutel in het geconfigureerde key-slot moet compatibel zijn en over de juiste autorisatie beschikken (bijv. kAllowDataEncrypt), omdat anders kUsageViolation of kIncompatibleObject wordt geretourneerd [SWS_CRYPT_50080].
  • Als de uitvoerbuffers dataOut of ivOut niet toereikend zijn, mislukt de aanroep met kInsufficientCapacity [SWS_CRYPT_50080].
  • Als de context geen verwerking in één stap ondersteunt of een externe IV-opgave vereist, wordt kUnsupported geretourneerd [SWS_CRYPT_50080].

De operatie is gespecificeerd als thread-safe evenals uitzonderingsveilig en garandeert rollback-semantiek in geval van een fout [SWS_CRYPT_50080]. Voor zuiver symmetrische versleutelingen zonder tag-verwerking bestaat een separaat equivalent in SymmetricCipherCtx [SWS_CRYPT_50049].

Deze tekst is gegenereerd door een AI op basis van de specificatie.

Implementer's Guide volgt (complexiteit I2)

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe ara::crypto::CryptoErrc::k rollback_semantics

Parameter (in)

ParameterBeschreibung
dataInan input data buffer containing the plaintext/ciphertext
authenticatedDataoptional additional authenticated data

Parameter (out)

ParameterBeschreibung
dataOutan output data buffer that contains en-/decrypted data
ivOutan output data buffer that the initialization vector (IV) generated by the context will be written to

Parameter (in/out)

ParameterBeschreibung
tagfor decryption: an input data buffer that contains the authentication tag. for encryption: an output data buffer that the authentication tag is written to.

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out.

Fehler

FehlercodeBeschreibung
EmptyKeySlotif a KeySlot was configured that is currently is empty
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if single shot processing is not supported by the context
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context requires setting an IV
ara::crypto::CryptoErrc::kUninitializedContextrollback_semantics if SetKey has not been successfully called before
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics if a KeySlot has been configured, but is currently busy
ara::crypto::CryptoErrc::kUsageViolationrollback_semantics if the allowed usage of the SymmetricKey deployed or contained in the provided KeySlot at the time of invocation of this interface does not include kAllowDataEncrypt for encryption, or kAllowData Decrypt for decryption, respectively
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if a KeySlot has been configured, but does not contain a Symmetric Key
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if a KeySlot has been configured, but the SymmetricKey contained is not supported by this context
ara::crypto::CryptoErrc::kInvalidInputSizerollback_semantics if the size of provided input buffer or authentication tag is invalid
ara::crypto::CryptoErrc::kInsufficientCapacityrollback_semantics if the data or IV output buffer is too small
ara::crypto::CryptoErrc::kAuthTagNotValidrollback_semantics if the transformDirection is kDecrypt and the processed data cannot be authenticated

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50080
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50080@rel:R25-11#9ea0fa90
Content hash
9ea0fa90
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50080
Status: valid/unmigrated Version: rel:R25-11#1fa18617 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50080@rel:R25-11#1fa18617
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Finish [SWS_CRYPT_50075] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< std::size_t > Finish (ReadOnlyMemRegion in, ReadWriteMemRegion out, ReadWriteMemRegion tag) noexcept=0;

Finalize the en-/decryption and calculate/verify the authentication tag without returning an IV.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 8b946dd1de69 Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik en semantiek

De methode Finish sluit de ver- of ontsleuteling binnen een ara::crypto::cryp::AuthCipherCtx synchroon af en berekent respectievelijk controleert de authenticatietag, zonder een initialisatievector (IV) te retourneren [SWS_CRYPT_50075]. De aanroeper geeft de resterende gegevens door via de buffer in en de doelbuffer out. Via de buffer tag wordt bij versleuteling de berekende tag uitgevoerd, terwijl bij ontsleuteling de te controleren tag wordt meegegeven [SWS_CRYPT_50075]. De retourwaarde ara::core::Result<std::size_t> kwantificeert de werkelijk in out geschreven bytes, die minder kunnen zijn dan de capaciteit van de uitvoerbuffer [SWS_CRYPT_50075].

Verloop en interactie

Voorafgaand aan de aanroep moet de gegevensverwerking dwingend zijn geïnitieerd door Start() [SWS_CRYPT_50075]. Als er eerder datablokken zijn verwerkt met behulp van UpdateConfidentialData, mag een toepassing de resulterende platte tekst bij ontsleuteling pas gebruiken na succesvolle authenticatie door Finish [SWS_CRYPT_50074]. De maximaal vereiste buffergrootte voor out kan vooraf via GetRequiredOutputBufferSize onder opgave van isFinal = true worden bepaald [SWS_CRYPT_50081].

Foutafhandeling en gelijktijdigheid

De methode is thread-safe en uitzonderingsveilig gespecificeerd [SWS_CRYPT_50075]. Fouten worden via ara::core::Result met rollback-semantiek teruggemeld [SWS_CRYPT_50075]:

  • ProcessingNotStarted: De gegevensverwerking is niet vooraf gestart met Start() [SWS_CRYPT_50075].
  • ara::crypto::CryptoErrc::kInsufficientCapacity: De uitvoerbuffer out is te klein [SWS_CRYPT_50075].
  • ara::crypto::CryptoErrc::kInvalidInputSize: De buffergrootte van in of tag is ongeldig [SWS_CRYPT_50075].
  • ara::crypto::CryptoErrc::kAuthTagNotValid: De gegevensauthenticiteit kan bij de ontsleuteling niet worden bevestigd [SWS_CRYPT_50075].
  • ara::crypto::CryptoErrc::kUnsupported: Streaming-verwerking wordt niet ondersteund door de context [SWS_CRYPT_50075].

Opmerking: Deze gebruiksinstructie is automatisch gegenereerd op basis van de specificatiegegevens.

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe ara::crypto::CryptoErrc::k rollback_semantics

Parameter (in)

ParameterBeschreibung
inan input data buffer that contains a part of the plaintext/ciphertext

Parameter (out)

ParameterBeschreibung
outan output data buffer that the en-/decrypted data is written to

Parameter (in/out)

ParameterBeschreibung
tagfor decryption: an input data buffer that contains the authentication tag for encryption: an output data buffer that the authentication tag is written to

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out

Fehler

FehlercodeBeschreibung
ProcessingNotStartedif data processing has not been started by a call of the Start() method
ara::crypto::CryptoErrc::kInsufficientCapacityrollback_semantics if the output buffer is too small
ara::crypto::CryptoErrc::kInvalidInputSizerollback_semantics if the size of the input buffer or the authentication tag is invalid
ara::crypto::CryptoErrc::kAuthTagNotValidrollback_semantics if the processed data cannot be authenticated during decryption
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if stream processing is not supported by the context or

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50075
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50075@rel:R25-11#3dcaa2f1
Content hash
3dcaa2f1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50075
Status: valid/unmigrated Version: rel:R25-11#61f4f343 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50075@rel:R25-11#61f4f343
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie FinishEncrypt [SWS_CRYPT_50076] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< std::size_t > FinishEncrypt (ReadOnlyMem Region in, ReadWriteMemRegion out, ReadWriteMemRegion tag, ReadWrite MemRegion ivOut) noexcept=0;

Finalize the encryption and calculate the authentication tag and return the IV generated by the context.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: fd75aa19665e Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De methode FinishEncrypt voltooit een geauthenticeerde versleutelingsoperatie in ara::crypto::cryp::AuthCipherCtx synchroon, berekent de authenticatietag en retourneert de door de context gegenereerde initialisatievector via ivOut [SWS_CRYPT_50076]. De aanroep is gespecificeerd als thread-safe en uitzonderingsveilig (exception safe) [SWS_CRYPT_50076]. Als resultaat levert de functie een ara::core::Result<std::size_t> met het aantal daadwerkelijk naar de uitvoerbuffer out geschreven bytes, waarbij de uitvoergrootte kleiner mag zijn dan de buffercapaciteit [SWS_CRYPT_50076]. Interpretatie: Hoewel de naam duidt op versleuteling, wijzen de specificatie van de parameter tag en de foutcode ara::crypto::CryptoErrc::kAuthTagNotValid erop dat de signatuur in de context symmetrisch vermoedelijk ook voor decryptieoperaties wordt gebruikt. Vraag Q-6b924f12c32e0f33 (open)

Interactie en bufferdimensionering

De dataverwerking moet vooraf dwingend zijn gestart met Start(), anders meldt de functie de fout ProcessingNotStarted [SWS_CRYPT_50076]. Voor de bufferdimensionering moet rekening worden gehouden met het samenspel met de volgende contextfuncties:

  • De maximaal vereiste capaciteit voor out kan vooraf via [SWS_CRYPT_50081] met de parameter isFinal = true worden berekend om de fout ara::crypto::CryptoErrc::kInsufficientCapacity te voorkomen [SWS_CRYPT_50076].
  • De minimale en maximale buffergrootte voor de invoerdata in wordt bepaald door [SWS_CRYPT_50162] en [SWS_CRYPT_50082].
  • De benodigde buffergrootte voor de opname van de gegenereerde initialisatievector in ivOut kan via [SWS_CRYPT_50165] worden opgevraagd.

Foutafhandeling en randvoorwaarden

In geval van een fout hebben alle terugmeldingen een gedefinieerde rollback-semantiek [SWS_CRYPT_50076]. Bij ongeldige buffergroottes voor invoerdata of de authenticatietag wordt ara::crypto::CryptoErrc::kInvalidInputSize geretourneerd [SWS_CRYPT_50076]. Bovendien levert de functie ara::crypto::CryptoErrc::kUnsupported indien streamverwerking niet wordt ondersteund, er geen IV wordt gebruikt of de IV reeds bij de start door de applicatie is opgegeven [SWS_CRYPT_50076].

Deze gebruiksinstructie is opgesteld door een AI en is uitsluitend gebaseerd op de specificatiegegevens.

Implementer's Guide volgt (complexiteit I2)

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe ara::crypto::CryptoErrc::k rollback_semantics

Parameter (in)

ParameterBeschreibung
inan input data buffer that contains a part of the plaintext/ciphertext

Parameter (out)

ParameterBeschreibung
outan output data buffer that the en-/decrypted data is written to
ivOutan output data buffer that contains the IV

Parameter (in/out)

ParameterBeschreibung
tagfor decryption: an input data buffer that contains the authentication tag for encryption: an output data buffer that the authentication tag is written to

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out

Fehler

FehlercodeBeschreibung
ProcessingNotStartedif data processing has not been started by a call of the Start() method
ara::crypto::CryptoErrc::kInsufficientCapacityrollback_semantics if the output buffer is too small
ara::crypto::CryptoErrc::kInvalidInputSizerollback_semantics if the size of the input buffer or the authentication tag is invalid
ara::crypto::CryptoErrc::kAuthTagNotValidrollback_semantics if the processed data cannot be authenticated during decryption
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if stream processing is not supported by the context or if this context does not use an IV or if the IV has been provided by the application in the Start() function

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50076
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50076@rel:R25-11#c3c9acf5
Content hash
c3c9acf5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50076
Status: valid/unmigrated Version: rel:R25-11#7ffd5c95 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50076@rel:R25-11#7ffd5c95
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie GetMaxAssociatedDataSize [SWS_CRYPT_20103] Upstream: RS_CRYPTO_02309

virtual ara::core::Result< std::size_t > GetMaxAssociatedDataSize () const noexcept=0;

Get maximum supported size of associated public data.

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >maximal supported size of associated public data in bytes

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if this interface is not supported

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_20103
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20103@rel:R25-11#c08a4f74
Content hash
c08a4f74
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20103
Status: valid/unmigrated Version: rel:R25-11#7d3e4b66 Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_20103@rel:R25-11#7d3e4b66
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#91aa2c602026-09-30
  • R20-11rel:R20-11#91749f732026-10-14
  • R21-11rel:R21-11#c88a3b9a2026-10-14
  • R22-11rel:R22-11#e871a6a52026-10-14
  • R23-11rel:R23-11#84dddf6c2026-10-14
  • R24-11rel:R24-11#c2f0c3512026-10-14
  • R25-11rel:R25-11#7d3e4b662026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie GetMaximumChunkSize [SWS_CRYPT_50082] Upstream: RS_CRYPTO_02309

virtual ara::core::Result< std::size_t > GetMaximumChunkSize () const noexcept=0;

Get the maximum input buffer size supported for processing in single calls to Update(), Finish(), FinishEncrypt() or ProcessSingleCall() by this context.

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >the maximum buffer size in bytes

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if this interface is not supported

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50082
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50082@rel:R25-11#fc5efa67
Content hash
fc5efa67
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50082
Status: valid/unmigrated Version: rel:R25-11#f8e55f72 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50082@rel:R25-11#f8e55f72
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie GetMaximumInputIvSize [SWS_CRYPT_50164] Upstream: RS_CRYPTO_02309

virtual ara::core::Result< std::size_t > GetMaximumInputIvSize (Crypto Transform transformDirection) const noexcept=0;

Get the maximum IV size required to be passed to the context in the functions Start() and ProcessSingleCallWithInputIv() for the given transformDirection.

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
transformDirectionthe transformation direction, i.e., encryption or decryption

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >size of IV in bytes

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if this interface is not supported

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50164
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50164@rel:R25-11#9ba2594d
Content hash
9ba2594d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50164
Status: valid/unmigrated Version: rel:R25-11#1567e5b7 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50164@rel:R25-11#1567e5b7
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie GetMinimumChunkSize [SWS_CRYPT_50162] Upstream: RS_CRYPTO_02309

virtual ara::core::Result< std::size_t > GetMinimumChunkSize () const noexcept=0;

Get the minimum input buffer size supported for processing in single calls to Update(), Finish(), FinishEncrypt() or ProcessSingleCall() by this context.

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >the minimum buffer size in bytes

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if this interface is not supported

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50162
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50162@rel:R25-11#716c9608
Content hash
716c9608
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50162
Status: valid/unmigrated Version: rel:R25-11#aa502d0a Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50162@rel:R25-11#aa502d0a
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie GetMinimumInputIvSize [SWS_CRYPT_50163] Upstream: RS_CRYPTO_02309

virtual ara::core::Result< std::size_t > GetMinimumInputIvSize (Crypto Transform transformDirection) const noexcept=0;

Get the minimum IV size required to be passed to the context in the functions Start() and ProcessSingleCallWithInputIv() for the given transformDirection.

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
transformDirectionthe transformation direction, i.e., encryption or decryption

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >size of IV in bytes

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if this interface is not supported

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50163
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50163@rel:R25-11#3ccddd8c
Content hash
3ccddd8c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50163
Status: valid/unmigrated Version: rel:R25-11#452ee080 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50163@rel:R25-11#452ee080
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie GetOutputIvSize [SWS_CRYPT_50165] Upstream: RS_CRYPTO_02309

virtual ara::core::Result< std::size_t > GetOutputIvSize () const noexcept=0;

Get the output IV size that will be returned by the functions FinishEncrypt() (in case no IV has been provided by the application during the call to Start()), and EncryptSingleCallWithOutputIv().

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >size of IV in bytes

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if this interface is not supported

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50165
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50165@rel:R25-11#10ba3d29
Content hash
10ba3d29
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50165
Status: valid/unmigrated Version: rel:R25-11#b902740e Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50165@rel:R25-11#b902740e
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie GetRequiredOutputBufferSize [SWS_CRYPT_50081] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< std::size_t > GetRequiredOutputBufferSize (std::size_t inputSize, bool isFinal) const noexcept;

Calculate the maximum required size of the output buffer depending on the input size in the current state of the context.

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
inputSizesize of input data
isFinalif true, calculate maximum required output buffer size for Finish(), FinishEncrypt() and ProcessSingleCall() otherwise for Update()

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >a result containing the required capacity of the output buffer (in bytes) or an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUninitializedContextrollback_semantics if the context was not initialized by deploying a key and setting the transformation direction
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if this interface is not supported

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50081
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50081@rel:R25-11#a8dcefc3
Content hash
a8dcefc3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50081
Status: valid/unmigrated Version: rel:R25-11#6a6a83e1 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50081@rel:R25-11#6a6a83e1
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie GetTagSize [SWS_CRYPT_50161] Upstream: RS_CRYPTO_02309

virtual ara::core::Result< std::size_t > GetTagSize () const noexcept=0;

Get the output tag size.

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >size of the authentication tag in bytes

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if this interface is not supported

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50161
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50161@rel:R25-11#98d2b3dd
Content hash
98d2b3dd
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50161
Status: valid/unmigrated Version: rel:R25-11#f81af579 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50161@rel:R25-11#f81af579
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie ProcessSingleCall [SWS_CRYPT_50078] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< std::size_t > ProcessSingleCall (ReadOnly MemRegion dataIn, ReadWriteMemRegion dataOut, ReadWriteMemRegion tag, CryptoTransform transformDirection, ara::core::Optional< ReadOnlyMem Region > authenticatedData) noexcept=0;

Perform en-/decryption and calculate/verify of the authentication tag in a single-call without setting or returning an IV.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: a5183289221a Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De synchrone en als thread-safe gedefinieerde methode ProcessSingleCall van ara::crypto::cryp::AuthCipherCtx voert de versleuteling of ontsleuteling van payload en de gelijktijdige berekening resp. verificatie van de authenticatietag uit in één enkele bewerking zonder initialisatievector (IV) [SWS_CRYPT_50078]. Via de optionele buffer authenticatedData kunnen aanvullende geauthenticeerde gegevens beschikbaar worden gesteld [SWS_CRYPT_50078]. De buffer tag dient bij ontsleuteling als invoer voor verificatie en bij versleuteling als uitvoer voor het opslaan van de gegenereerde authenticatietag [SWS_CRYPT_50078]. Bij succesvolle verwerking retourneert ara::core::Result<std::size_t> het daadwerkelijke aantal in dataOut geschreven bytes, dat kleiner kan zijn dan de capaciteit van de doelbuffer [SWS_CRYPT_50078].

Vóór de aanroep moet de cryptografische context via een succesvolle aanroep van SetKey zijn geïnitialiseerd; anders mislukt de functie met ara::crypto::CryptoErrc::kUninitializedContext [SWS_CRYPT_50078]. Bovendien moet de gebruikte sleutel zijn vrijgegeven voor de aangevraagde transformatierichting (kAllowDataEncrypt resp. kAllowDataDecrypt), omdat anders ara::crypto::CryptoErrc::kUsageViolation wordt gemeld [SWS_CRYPT_50078]. Wordt enkelstapsverwerking niet ondersteund of vereist de context een IV, dan retourneert de functie ara::crypto::CryptoErrc::kUnsupported [SWS_CRYPT_50078]. Mislukt bij de ontsleuteling de authenticatie, dan wordt ara::crypto::CryptoErrc::kAuthTagNotValid geactiveerd [SWS_CRYPT_50078]. Fouten bij het toegewezen sleutelslot worden via EmptyKeySlot, ara::crypto::CryptoErrc::kBusyResource of ara::crypto::CryptoErrc::kIncompatibleObject gesignaleerd [SWS_CRYPT_50078].

Voor het bufferbeheer kan de maximaal vereiste uitvoergrootte voor dataOut vooraf via GetRequiredOutputBufferSize met gezette vlag isFinal = true worden berekend [SWS_CRYPT_50081]; een te kleine uitvoerbuffer leidt tot ara::crypto::CryptoErrc::kInsufficientCapacity [SWS_CRYPT_50078]. Daarnaast moet de grootte van dataIn voldoen aan de grenzen van GetMinimumChunkSize [SWS_CRYPT_50162] en GetMaximumChunkSize [SWS_CRYPT_50082] om ara::crypto::CryptoErrc::kInvalidInputSize te voorkomen [SWS_CRYPT_50078].

Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de specificatie van AUTOSAR Adaptive R25-11.

Implementer's Guide volgt (complexiteit I2)

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe ara::crypto::CryptoErrc::k rollback_semantics

Parameter (in)

ParameterBeschreibung
dataInan input data buffer containing the plaintext/ciphertext
transformDirectionthe transformation direction, i.e., encryption or decryption
authenticatedDataoptional additional authenticated data

Parameter (out)

ParameterBeschreibung
dataOutan output data buffer that contains en-/decrypted data

Parameter (in/out)

ParameterBeschreibung
tagfor decryption: an input data buffer that contains the authentication tag. for encryption: an output data buffer that the authentication tag is written to.

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out.

Fehler

FehlercodeBeschreibung
EmptyKeySlotif a KeySlot was configured that is currently is empty
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if single shot processing is not supported by the context
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context requires setting or returning an IV
ara::crypto::CryptoErrc::kUninitializedContextrollback_semantics if SetKey has not been successfully called before
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics if a KeySlot has been configured, but is currently busy
ara::crypto::CryptoErrc::kUsageViolationrollback_semantics if the allowed usage of the SymmetricKey deployed or contained in the provided KeySlot at the time of invocation of this interface does not include kAllowDataEncrypt for encryption, or kAllowData Decrypt for decryption, respectively
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if a KeySlot has been configured, but does not contain a Symmetric Key
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if a KeySlot has been configured, but the SymmetricKey contained is not supported by this context
ara::crypto::CryptoErrc::kInvalidInputSizerollback_semantics if the size of provided input buffer or authentication tag is invalid
ara::crypto::CryptoErrc::kInsufficientCapacityrollback_semantics if the output buffer is too small
ara::crypto::CryptoErrc::kAuthTagNotValidrollback_semantics if the transformDirection is kDecrypt and the processed data cannot be authenticated

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50078
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50078@rel:R25-11#e43c4404
Content hash
e43c4404
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50078
Status: valid/unmigrated Version: rel:R25-11#e0ad5fae Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50078@rel:R25-11#e0ad5fae
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie ProcessSingleCallWithInputIv [SWS_CRYPT_50079] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< std::size_t > ProcessSingleCallWithInputIv (ReadOnlyMemRegion dataIn, ReadWriteMemRegion dataOut, ReadWriteMem Region tag, CryptoTransform transformDirection, ReadOnlyMemRegion iv, ara::core::Optional< ReadOnlyMemRegion > authenticatedData) noexcept=0;

Perform en-/decryption and calculate/verify of the authentication tag in a single-call, providing an IV to be used during en-/decryption.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 36312c01407d Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De methode [SWS_CRYPT_50079] van de klasse ara::crypto::cryp::AuthCipherCtx voert een synchrone éénstapsverwerking (single-call) uit voor het ver- of ontsleutelen van gegevens onder gelijktijdige berekening resp. controle van de authenticatietag.

Bij de aanroep worden de invoergegevens via dataIn en de richting via transformDirection opgegeven. De initialisatievector wordt via iv doorgegeven en optionele authenticatiegegevens kunnen via authenticatedData beschikbaar worden gesteld [SWS_CRYPT_50079]. De buffer tag dient in het geval van versleuteling als uitvoer voor de berekende tag en in het geval van ontsleuteling als invoer voor de verificatie [SWS_CRYPT_50079]. De retourwaarde ara::core::Result<std::size_t> levert bij succes het aantal in dataOut geschreven bytes op, dat kleiner kan zijn dan de buffercapaciteit [SWS_CRYPT_50079].

In het geval van een fout hebben alle foutcodes rollback-semantiek [SWS_CRYPT_50079]:

  • ara::crypto::CryptoErrc::kUninitializedContext: Vooraf is er geen sleutel geconfigureerd via SetKey [SWS_CRYPT_50079].
  • ara::crypto::CryptoErrc::kUsageViolation: De sleutel beschikt niet over de vereiste rechten kAllowDataEncrypt resp. kAllowDataDecrypt [SWS_CRYPT_50079].
  • ara::crypto::CryptoErrc::kEmptyKeySlot, ara::crypto::CryptoErrc::kBusyResource of ara::crypto::CryptoErrc::kIncompatibleObject: Een geconfigureerde KeySlot is leeg, bezet of bevat geen compatibele SymmetricKey [SWS_CRYPT_50079].
  • ara::crypto::CryptoErrc::kInvalidInputSize of ara::crypto::CryptoErrc::kInsufficientCapacity: De buffers voor invoer, tag of IV zijn ongeldig gedimensioneerd of dataOut biedt ontoereikende capaciteit [SWS_CRYPT_50079].
  • ara::crypto::CryptoErrc::kAuthTagNotValid: Bij de ontsleuteling mislukt de authenticatie [SWS_CRYPT_50079].
  • ara::crypto::CryptoErrc::kUnsupported: Single-shot-verwerking wordt niet ondersteund door de context of de context vereist het instellen resp. uitvoeren van een IV [SWS_CRYPT_50079].

De bewerking is gedefinieerd als thread-safe en exception safe [SWS_CRYPT_50079]. De toegestane lengtes voor iv kunnen dynamisch via GetMinimumInputIvSize [SWS_CRYPT_50163] en GetMaximumInputIvSize [SWS_CRYPT_50164] worden opgevraagd. In vergelijking met het zuivere blokcijfer in SymmetricCipherCtx [SWS_CRYPT_50048] combineert deze interface cryptografische transformatie en integriteitscontrole in één aanroep.

Deze tekst is gegenereerd door een AI op basis van de AUTOSAR-specificatie R25-11.

Implementer's Guide volgt (complexiteit I2)

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
dataInan input data buffer containing the plaintext/ciphertext
transformDirectionthe transformation direction, i.e., encryption or decryption
ivan Initialization Vector (IV) or "nonce" value
authenticatedDataoptional additional authenticated data

Parameter (out)

ParameterBeschreibung
dataOutan output data buffer that contains en-/decrypted data

Parameter (in/out)

ParameterBeschreibung
tagfor decryption: an input data buffer that contains the authentication tag. for encryption: an output data buffer that the authentication tag is written to.

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out.

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kEmptyKeySlotrollback_semantics if a KeySlot was configured that is currently is empty
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if single shot processing is not supported by the context
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context requires setting or returning an IV
ara::crypto::CryptoErrc::kUninitializedContextrollback_semantics if SetKey has not been successfully called before
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics if a KeySlot has been configured, but is currently busy
ara::crypto::CryptoErrc::kUsageViolationrollback_semantics if the allowed usage of the SymmetricKey deployed or contained in the provided KeySlot at the time of invocation of this interface does not include kAllowDataEncrypt for encryption, or kAllowData Decrypt for decryption, respectively
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if a KeySlot has been configured, but does not contain a Symmetric Key
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if a KeySlot has been configured, but the SymmetricKey contained is not supported by this context
ara::crypto::CryptoErrc::kInvalidInputSizerollback_semantics if the size of provided input buffer, authentication tag, or IV is invalid
ara::crypto::CryptoErrc::kInsufficientCapacityrollback_semantics if the data or IV output buffer is too small
ara::crypto::CryptoErrc::kAuthTagNotValidrollback_semantics if the transformDirection is kDecrypt and the processed data cannot be authenticated

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50079
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50079@rel:R25-11#87cb1363
Content hash
87cb1363
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50079
Status: valid/unmigrated Version: rel:R25-11#971c6b5c Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50079@rel:R25-11#971c6b5c
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie SetKey [SWS_CRYPT_23911] Upstream: RS_CRYPTO_02001, RS_CRYPTO_02003

virtual ara::core::Result< void > SetKey (SymmetricKey::Sptr key) noexcept=0;

The interface shall configure the context to use the provided SymmetricKey.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: c987f167a8b5 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De methode SetKey configureert de instantie van ara::crypto::cryp::AuthCipherCtx voor het gebruik van een doorgegeven symmetrische sleutel [SWS_CRYPT_23911]. Als parameter wordt een shared pointer key (van het type SymmetricKey::Sptr) doorgegeven, die wordt gebruikt voor de geauthenticeerde ver- of ontsleuteling [SWS_CRYPT_23911]. De aanroep vindt synchroon plaats, is gedeclareerd als noexcept en retourneert een ara::core::Result<void> [SWS_CRYPT_23911].

In geval van een fout wordt het resultaat met rollback-semantiek teruggezet en levert het specifieke foutcodes [SWS_CRYPT_23911]:

  • ara::crypto::CryptoErrc::kUnsupported: indien de context uitsluitend configuratie via een KeySlot ondersteunt [SWS_CRYPT_23911].
  • ara::crypto::CryptoErrc::kIncompatibleObject: wanneer het doorgegeven sleuteltype niet compatibel is met de huidige context [SWS_CRYPT_23911].
  • ara::crypto::CryptoErrc::kUsageViolation: wanneer de toegestane gebruiksvlaggen van de sleutel niet kAllowDataEncrypt voor versleuteling resp. kAllowDataDecrypt voor ontsleuteling bevatten [SWS_CRYPT_23911].

Volgens de specificatie is de interface geclassificeerd als thread-safe (thread-safe) en uitzonderingsveilig (exception safe) [SWS_CRYPT_23911]. In samenhang met de modulecontext kan de sleutel vermoedelijk vóór de initialisatie van een nieuwe transformatie via Start [SWS_CRYPT_24715] worden ingesteld. Vraag Q-11f7daa370f5d438 (open)

Deze gebruiksinstructie is automatisch gegenereerd op basis van de AUTOSAR-payload.

Implementer's Guide volgt (complexiteit I2)

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keysymmetric key object used for authenticated en-/decryption

Rückgabewert

TypBeschreibung
ara::core::Result< void >an empty result or an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context only supports setting a KeySlot
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if the provided SymmetricKey is incompatible with this AuthCipher Ctx
ara::crypto::CryptoErrc::kUsageViolationrollback_semantics if the allowed usage of the provided SymmetricKey does not include kAllowDataEncrypt for encryption, or kAllowDataDecrypt for decryption, respectively

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_23911
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_23911@rel:R25-11#f774e68c
Content hash
f774e68c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_23911
Status: valid/unmigrated Version: rel:R25-11#205c09dd Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_23911@rel:R25-11#205c09dd
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#7fa81c372026-09-30
  • R19-11rel:R19-11#fcb0604e2026-10-14
  • R20-11rel:R20-11#43c209ac2026-10-14
  • R21-11rel:R21-11#9babec8c2026-10-14
  • R22-11rel:R22-11#a5a2e9812026-10-14
  • R23-11rel:R23-11#1982ebed2026-10-14
  • R24-11rel:R24-11#3524b4832026-10-14
  • R25-11rel:R25-11#205c09dd2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie SetKey [SWS_CRYPT_50072] Upstream: RS_CRYPTO_02001, RS_CRYPTO_02003

virtual ara::core::Result< void > SetKey (KeySlot::Sptr keySlot) noexcept=0;

The interface shall configure the context to use the key stored in the provided KeySlot when the authenticated encrypt or decrypt operation is executed.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 44d0d6c36fa2 Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De functie SetKey in de interface ara::crypto::cryp::AuthCipherCtx configureert de context voor cryptografische operaties zodanig dat de in een ter beschikking gesteld sleutelslot opgeslagen symmetrische sleutel wordt gebruikt zodra de geauthenticeerde ver- of ontsleuteling wordt uitgevoerd [SWS_CRYPT_50072].

Gebruik: De synchrone aanroep vindt plaats via de interface uit ara/crypto/cryp/auth_cipher_ctx.h. Als parameter keySlot wordt een instantie van KeySlot::Sptr meegegeven, die een symmetrische sleutel inkapselt [SWS_CRYPT_50072]. De functie retourneert een ara::core::Result<void>, die het succes bevestigt of een foutcode bevat [SWS_CRYPT_50072].

Foutafhandeling: Voor zover de concrete implementatie van de context uitsluitend de directe configuratie via een SymmetricKey-object ondersteunt en het instellen via KeySlot niet aanbiedt, mislukt de aanroep. In dat geval wordt de fout ara::crypto::CryptoErrc::kUnsupported met rollback-semantiek geretourneerd [SWS_CRYPT_50072].

Gelijktijdigheid en beperkingen: De functie is gespecificeerd als thread-safe en exception safe [SWS_CRYPT_50072]. Deze kan gelijktijdig worden aangeroepen en waarborgt dat er bij uitzonderingssituaties geen inconsistente toestand achterblijft.

Samenspel: Als functioneel alternatief is de overbelasting SetKey met een direct SymmetricKey::Sptr beschikbaar [SWS_CRYPT_23911]. Na succesvolle sleutelbinding wordt de context via Start geïnitialiseerd met de operatierichting en de initialisatievector [SWS_CRYPT_24715]. Analoge signaturen met KeySlot::Sptr bestaan bovendien in MessageAuthnCodeCtx [SWS_CRYPT_50026] en SymmetricKeyWrapperCtx [SWS_CRYPT_50034].

Deze tekst is opgesteld door een AI en is gebaseerd op de specificatie AUTOSAR R25-11.

Implementer's Guide volgt (complexiteit I2)

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keySlota keyslot containing a symmetric key

Rückgabewert

TypBeschreibung
ara::core::Result< void >an empty result or an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context only supports setting a SymmetricKey

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50072
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50072@rel:R25-11#7bb87d3b
Content hash
7bb87d3b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50072
Status: valid/unmigrated Version: rel:R25-11#3dd5795a Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50072@rel:R25-11#3dd5795a
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Start [SWS_CRYPT_24715] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< void > Start (CryptoTransform transform Direction, ReadOnlyMemRegion iv) noexcept=0;

Initialize the context for a new encryption or decryption and set the IV used by the context.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: da3f0fb3ff33 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De methode Start initialiseert de context ara::crypto::cryp::AuthCipherCtx voor een nieuwe ver- of ontsleuteling en stelt de te gebruiken initialisatievector (IV) resp. nonce-waarde in [SWS_CRYPT_24715]. Via de parameter transformDirection wordt de transformatierichting vastgelegd, terwijl iv de vector als ReadOnlyMemRegion doorgegeven [SWS_CRYPT_24715]. De toelaatbare IV-grootte kan via GetMinimumInputIvSize() en GetMaximumInputIvSize() worden bepaald; bij een afwijkende lengte meldt de functie de fout ara::crypto::CryptoErrc::kInvalidInputSize [SWS_CRYPT_24715].

Vóór de aanroep moet SetKey succesvol zijn uitgevoerd, anders wordt ara::crypto::CryptoErrc::kUninitializedContext geretourneerd [SWS_CRYPT_24715]. Een geconfigureerde KeySlot mag noch leeg (EmptyKeySlot) noch bezet zijn (ara::crypto::CryptoErrc::kBusyResource) [SWS_CRYPT_24715]. Bovendien moet de opgeslagen sleutel een passende SymmetricKey zijn (anders ara::crypto::CryptoErrc::kIncompatibleObject) en bevoegd zijn voor de gewenste richting (kAllowDataEncrypt resp. kAllowDataDecrypt, anders ara::crypto::CryptoErrc::kUsageViolation) [SWS_CRYPT_24715]. Ontbreekt de ondersteuning voor streamingverwerking of het instellen van een IV in de gekozen richting, dan mislukt de aanroep met ara::crypto::CryptoErrc::kUnsupported [SWS_CRYPT_24715]. Alle fouten vertonen rollback-semantiek [SWS_CRYPT_24715].

De bewerking is gedeclareerd als thread-safe evenals exception-safe (noexcept) [SWS_CRYPT_24715]. In de samenhang van cryptografische processen volgt na een succesvolle initialisatie vermoedelijk typisch de overdracht van aanvullende geauthenticeerde data via UpdateAuthenticatedData [SWS_CRYPT_20313]. Vraag Q-e023e27f1cd24507 (open)

Deze gebruiksinstructie is geautomatiseerd opgesteld op basis van AUTOSAR-release R25-11.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe ara::crypto::CryptoErrc::k rollback_semantics

Parameter (in)

ParameterBeschreibung
transformDirectionthe transformation direction, i.e., encryption or decryption
ivan Initialization Vector (IV) or "nonce" value. The allowed size of the IV can be queried using the functions GetMinimumInputIvSize() and GetMaximumInputIvSize().

Rückgabewert

TypBeschreibung
ara::core::Result< void >an empty result or an error

Fehler

FehlercodeBeschreibung
EmptyKeySlotif a KeySlot was configured that is currently is empty
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if stream processing is not supported by the context
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context does not support setting an IV in the given transform Direction
ara::crypto::CryptoErrc::kUninitializedContextrollback_semantics if SetKey has not been successfully called before
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics if the configured KeySlot is currently busy
ara::crypto::CryptoErrc::kUsageViolationrollback_semantics if the allowed usage of the SymmetricKey deployed or contained in the provided KeySlot at the time of invocation of this interface does not include kAllowDataEncrypt for encryption, or kAllowData Decrypt for decryption, respectively
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if a KeySlot has been configured, but does not contain a Symmetric Key
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if a KeySlot has been configured, but the SymmetricKey contained is not supported by this context
ara::crypto::CryptoErrc::kInvalidInputSizerollback_semantics if the size of provided IV is not supported

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_24715
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_24715@rel:R25-11#320a74b3
Content hash
320a74b3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_24715
Status: valid/unmigrated Version: rel:R25-11#dacbb482 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_24715@rel:R25-11#dacbb482
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#85d3f6962026-09-30
  • R19-11rel:R19-11#ea0e49642026-10-14
  • R20-11rel:R20-11#e9fc84162026-10-14
  • R21-11rel:R21-11#a59d78ec2026-10-14
  • R22-11rel:R22-11#dca7e5782026-10-14
  • R23-11rel:R23-11#640bb79c2026-10-14
  • R24-11rel:R24-11#f389a1072026-10-14
  • R25-11rel:R25-11#dacbb4822026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Start [SWS_CRYPT_50073] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< void > Start (CryptoTransform transform Direction) noexcept=0;

Initialize the context for a new encryption or decryption. An IV is either not required for this context in this transformation direction, or set by the context itself.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: f698e30e2198 Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De puur virtuele methode Start van de klasse ara::crypto::cryp::AuthCipherCtx initialiseert de context synchroon voor een aanstaande ver- of ontsleuteling [SWS_CRYPT_50073]. Via de parameter transformDirection wordt aangegeven of de context voor versleuteling of ontsleuteling wordt voorbereid. Deze overbelasting zonder initialisatievector (IV) mag alleen worden gebruikt wanneer de cryptografische context in de gekozen transformatierichting geen IV vereist of deze zelf vastlegt [SWS_CRYPT_50073]. De retourwaarde is een lege ara::core::Result<void> in geval van succes of een bijbehorende foutcode.

Foutafhandeling en randvoorwaarden

Vóór de aanroep moet de context succesvol via SetKey met een sleutel zijn geconfigureerd; anders mislukt de functie met ara::crypto::CryptoErrc::kUninitializedContext [SWS_CRYPT_50073]. Daarnaast treden in geval van een fout de volgende retourwaarden op:

  • ara::crypto::CryptoErrc::kUnsupported, wanneer streamverwerking niet door de context wordt ondersteund of wanneer de context in de gekozen transformatierichting dwingend de expliciete opgave van een IV vereist [SWS_CRYPT_50073].
  • ara::crypto::CryptoErrc::kUsageViolation, wanneer het toegestane sleutelgebruik in het geconfigureerde KeySlot op het tijdstip van aanroepen niet de vereiste machtiging kAllowDataEncrypt voor versleuteling resp. kAllowDataDecrypt voor ontsleuteling omvat [SWS_CRYPT_50073].
  • EmptyKeySlot resp. ara::crypto::CryptoErrc::kBusyResource, indien een geconfigureerde KeySlot momenteel leeg of geblokkeerd is [SWS_CRYPT_50073].
  • ara::crypto::CryptoErrc::kIncompatibleObject, wanneer de geconfigureerde KeySlot geen SymmetricKey bevat of dit sleuteltype niet door de context wordt ondersteund [SWS_CRYPT_50073].

Als er een fout optreedt, is de gespecificeerde rollback-semantiek van toepassing (rollback_semantics) [SWS_CRYPT_50073].

Gelijktijdigheid en wisselwerking

De functie is gedeclareerd met noexcept=0, waarborgt uitzonderingsveiligheid en is ontworpen als thread-safe [SWS_CRYPT_50073]. Vereist het algoritme het extern ter beschikking stellen van een initialisatievector, dan dient in plaats daarvan de overbelasting Start(CryptoTransform, ReadOnlyMemRegion) te worden gebruikt [SWS_CRYPT_24715]. Na succesvolle initialisatie kunnen aanvullende geauthenticeerde data via UpdateAuthenticatedData worden meegenomen in de berekening van de authenticatietag [SWS_CRYPT_20313].

Deze gebruiksinstructie is automatisch gegenereerd op basis van de specificatie AUTOSAR Adaptive R25-11.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe ara::crypto::CryptoErrc::k rollback_semantics

Parameter (in)

ParameterBeschreibung
transformDirectionthe transformation direction, i.e., encryption or decryption

Rückgabewert

TypBeschreibung
ara::core::Result< void >an empty result or an error

Fehler

FehlercodeBeschreibung
EmptyKeySlotif a KeySlot was configured that is currently is empty
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if stream processing is not supported by the context
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context requires setting an IV in the given transformDirection
ara::crypto::CryptoErrc::kUninitializedContextrollback_semantics if SetKey has not been successfully called before
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics if a KeySlot has been configured, but is currently busy
ara::crypto::CryptoErrc::kUsageViolationrollback_semantics if the allowed usage of the SymmetricKey deployed or contained in the provided KeySlot at the time of invocation of this interface does not include kAllowDataEncrypt for encryption, or kAllowData Decrypt for decryption, respectively
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if a KeySlot has been configured, but does not contain a Symmetric Key
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if a KeySlot has been configured, but the SymmetricKey contained is not supported by this context

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50073
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50073@rel:R25-11#271b3a3f
Content hash
271b3a3f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50073
Status: valid/unmigrated Version: rel:R25-11#24eaa91a Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50073@rel:R25-11#24eaa91a
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie UpdateAuthenticatedData [SWS_CRYPT_20313] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< void > UpdateAuthenticatedData (ReadOnlyMem Region authenticatedData) noexcept=0;

Update the tag calculation by a new chunk of additional authenticated data.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: f3852a997444 Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De methode UpdateAuthenticatedData van de interface ara::crypto::cryp::AuthCipherCtx dient ertoe de berekening van de authenticatietag stapsgewijs bij te werken met een volgend deel van aanvullende geauthenticeerde gegevens (Additional Authenticated Data) [SWS_CRYPT_20313]. Via de parameter authenticatedData wordt de betreffende buffer als ReadOnlyMemRegion doorgegeven [SWS_CRYPT_20313].

Wat betreft de aanroepcontext en de gelijktijdigheid is de operatie gedefinieerd als thread-safe en exception safe [SWS_CRYPT_20313]. Voor de aanroep gelden strikte volgordevoorwaarden:

  • De transformatie moet vooraf zijn geïnitieerd via de methode Start(), anders wordt ara::crypto::CryptoErrc::kProcessingNotStarted gemeld [SWS_CRYPT_20313].
  • De functie mag niet meer worden aangeroepen wanneer UpdateConfidentialData al is uitgevoerd; bij niet-naleving wordt de fout ara::crypto::CryptoErrc::kInvalidUsageOrder geretourneerd [SWS_CRYPT_20313].

Als retourwaarde levert de functie een ara::core::Result<void> op, die in het geval van succes leeg is of een opgetreden foutcode inkapselt [SWS_CRYPT_20313]. Alle fouten vertonen een rollback-semantiek [SWS_CRYPT_20313]:

  • ara::crypto::CryptoErrc::kInvalidInputSize: de grootte van de meegegeven invoerbuffer is ongeldig [SWS_CRYPT_20313].
  • ara::crypto::CryptoErrc::kUnsupported: streamverwerking wordt niet ondersteund door de huidige context [SWS_CRYPT_20313].

Deze tekst is gegenereerd door een AI en dient als oriëntatiehulp. Bindend is de AUTOSAR-specificatie.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
authenticatedDataa part of the additional authenticated data

Rückgabewert

TypBeschreibung
ara::core::Result< void >an empty result or an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kProcessingNotStartedrollback_semantics if the processing was not initiated by a call of the Start() method
ara::crypto::CryptoErrc::kInvalidUsageOrderrollback_semantics if UpdateConfidentialData has already been called
ara::crypto::CryptoErrc::kInvalidInputSizerollback_semantics if the size of the input buffer is invalid
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if stream processing is not supported by the context

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_20313
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20313@rel:R25-11#e82ea0cb
Content hash
e82ea0cb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20313
Status: valid/unmigrated Version: rel:R25-11#fcb70f91 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_20313@rel:R25-11#fcb70f91
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e6b736912026-09-30
  • R19-11rel:R19-11#f75b41ea2026-10-14
  • R20-11rel:R20-11#4c46c8f42026-10-14
  • R21-11rel:R21-11#50979c0c2026-10-14
  • R22-11rel:R22-11#f4a00d3a2026-10-14
  • R23-11rel:R23-11#a528f60f2026-10-14
  • R24-11rel:R24-11#7dfc69482026-10-14
  • R25-11rel:R25-11#fcb70f912026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie UpdateConfidentialData [SWS_CRYPT_50074] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< std::size_t > UpdateConfidentialData (Read OnlyMemRegion in, ReadWriteMemRegion out) noexcept=0;

Encrypt or decrypt confidential data. When used for decryption, the plaintext is returned without verifying its authenticity. An application must not use the data before verifying its authenticity using Finish().

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 0a7976c267f4 Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De methode UpdateConfidentialData van de klasse ara::crypto::cryp::AuthCipherCtx dient voor het stapsgewijs versleutelen of ontsleutelen van vertrouwelijke payload binnen het kader van een geauthenticeerde cijfercontext [SWS_CRYPT_50074]. Hieraan worden de invoerbuffer in (type ReadOnlyMemRegion) met een deel van de leesbare tekst of cijfertekst en de uitvoerbuffer out (type ReadWriteMemRegion) meegegeven [SWS_CRYPT_50074]. Als synchrone retourwaarde levert de functie een ara::core::Result<std::size_t> op, die bij succes het daadwerkelijk geschreven aantal bytes bevat; dit kan kleiner zijn dan de capaciteit van out [SWS_CRYPT_50074].

Met betrekking tot het verloop en de gelijktijdigheid gelden de volgende voorwaarden:

  • Volgorde van uitvoering en integriteit: Vóór de verwerking moet de bewerking via Start() zijn geïnitieerd [SWS_CRYPT_50074]. Wordt de methode gebruikt voor ontsleuteling, dan wordt de leesbare tekst zonder voorafgaande authenticiteitscontrole uitgevoerd; de toepassing mag deze gegevens onder geen beding vóór de afsluitende verificatie met Finish() gebruiken [SWS_CRYPT_50074]. Aanvullende geauthenticeerde gegevens kunnen parallel via UpdateAuthenticatedData in de tagberekening worden meegenomen [SWS_CRYPT_20313].
  • Thread- en uitzonderingsveiligheid: De bewerking is als thread-safe en exception-safe gedeclareerd en werpt geen uitzonderingen op (noexcept) [SWS_CRYPT_50074].

Mislukt de verwerking, dan geldt rollback-semantiek onder teruggave van een overeenkomstige foutcode in ara::core::Result [SWS_CRYPT_50074]:

  • ara::crypto::CryptoErrc::kProcessingNotStarted: De verwerking is nog niet via Start() ingeleid [SWS_CRYPT_50074].
  • ara::crypto::CryptoErrc::kInsufficientCapacity: De uitvoerbuffer out is te klein gedimensioneerd [SWS_CRYPT_50074].
  • ara::crypto::CryptoErrc::kInvalidInputSize: De grootte van de buffer in is ongeldig [SWS_CRYPT_50074].
  • ara::crypto::CryptoErrc::kUnsupported: Streamverwerking wordt niet ondersteund door de context [SWS_CRYPT_50074].

Deze tekst is gegenereerd door een AI op basis van de AUTOSAR-specificatie R25-11.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
inan input data buffer containing a part of the ciphertext or plaintext

Parameter (out)

ParameterBeschreibung
outan output data buffer that the encrypted or decrypted data is written too

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out.

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kProcessingNotStartedrollback_semantics if data processing was not started by a call of the Start() method
ara::crypto::CryptoErrc::kInsufficientCapacityrollback_semantics if the output buffer is too small
ara::crypto::CryptoErrc::kInvalidInputSizerollback_semantics if the size of the input buffer is invalid
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if stream processing is not supported by the context

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_50074
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50074@rel:R25-11#c151b47a
Content hash
c151b47a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50074
Status: valid/unmigrated Version: rel:R25-11#342cdc85 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_50074@rel:R25-11#342cdc85
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

Documentatie van de typealiassen

typealias Sptr [SWS_CRYPT_20101] Upstream: RS_CRYPTO_02207

using Sptr = std::shared_ptr<AuthCipherCtx>;

Smart pointer of the interface.

Header-Datei#include "ara/crypto/cryp/auth_cipher_ctx.h"
Scopeclass ara::crypto::cryp::AuthCipherCtx
SymbolSptr

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CRYPT_20101
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20101@rel:R25-11#42b25a18
Content hash
42b25a18
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20101
Status: valid/unmigrated Version: rel:R25-11#56d76308 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CRYPT_20101@rel:R25-11#56d76308
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#6cded4ce2026-09-30
  • R19-11rel:R19-11#d499b7852026-10-14
  • R20-11rel:R20-11#38ae99fd2026-10-14
  • R21-11rel:R21-11#15df77a52026-10-14
  • R22-11rel:R22-11#22ad2b2d2026-10-14
  • R23-11rel:R23-11#d20afa502026-10-14
  • R24-11rel:R24-11#d20afa502026-10-14
  • R25-11rel:R25-11#56d763082026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill