DEENESPTFRRUARHIKOZHNL

클래스 ara::crypto::cryp::KeyDerivationFunctionCtx

[SWS_CRYPT_21500] Upstream: RS_CRYPTO_02103

class KeyDerivationFunctionCtx :               public CryptoContext {...};

Key Derivation Function interface.

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

사용자 가이드AI 생성

기본 키 및 구성 가능한 컨텍스트 파라미터로부터 대칭 키를 안전하게 유도합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 0339805a1afd 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

기본 키 및 구성 가능한 컨텍스트 파라미터로부터 대칭 키를 안전하게 유도합니다.

인터페이스 ara::crypto::cryp::KeyDerivationFunctionCtx은(는) 기존 키 자료와 솔트 또는 카운터와 같은 구성 가능한 컨텍스트 파라미터로부터 새로운 대칭 키를 유도하는 데 사용됩니다 [SWS_CRYPT_21515]. DeriveKey을(를) 통한 키 생성 전에 컨텍스트는 SetKey을(를) 통해 키 또는 KeySlot으로 초기화되어야 하며, 선택적으로 SetParameter을(를) 통해 구성될 수 있습니다 [SWS_CRYPT_21525]. 핵심적인 보안 조건으로서, 유도는 소스 키 자료가 KDF 작업에 대해 명시적으로 권한을 부여받았고 대상 키의 필수 사용 플래그가 호환되는 경우에만 수행되어야 합니다.

컨텍스트

ara::crypto::cryp::KeyDerivationFunctionCtx 클래스는 AUTOSAR Adaptive의 암호화 모듈에서 키 유도 함수(Key Derivation Functions, KDF)를 위한 인터페이스를 제공합니다. 주요 임무는 지정된 키 자료와 구성 가능한 컨텍스트 파라미터로부터 새로운 대칭 키를 유도하는 것입니다 [SWS_CRYPT_21515].

전형적인 상호작용 파트너는 호출하는 애플리케이션 서비스, SymmetricKey [SWS_CRYPT_21525] 또는 KeySlot [SWS_CRYPT_50010] 형태의 기본 소스 자료, 그리고 새로운 SymmetricKey::Sptr [SWS_CRYPT_21515] 형태의 유도 결과입니다. 추가 암호화 파라미터는 메모리 영역, 정수 또는 보조 키로 전달될 수 있습니다 [SWS_CRYPT_50007] [SWS_CRYPT_50008] [SWS_CRYPT_50009].

수명 주기

인스턴스의 수명과 소유권은 타입이 지정된 스마트 포인터 ara::crypto::cryp::KeyDerivationFunctionCtx::Sptr을(를) 통해 제어됩니다 [SWS_CRYPT_21501]. 클래스가 순수 가상 인터페이스를 정의하므로 구체적인 구현 인스턴스의 생성은 특수화된 팩토리 또는 담당 CryptoProvider를 통해 이루어질 것으로 추정됩니다. 질문 Q-8ba3d498c9921ab1 (열림)

새로 생성된 컨텍스트는 처음에 불완전한 상태에 있습니다. SetKey [SWS_CRYPT_21525] [SWS_CRYPT_50010]을(를) 통한 성공적인 키 할당 및 SetParameter [SWS_CRYPT_50007] [SWS_CRYPT_50008] [SWS_CRYPT_50009]을(를) 통한 필수 KDF 파라미터 설정 후에야 컨텍스트가 계산 준비를 마칩니다. 동시성과 관련하여 인터페이스 메서드는 thread-safe 및 예외 안전으로 선언되어 있습니다([SWS_CRYPT_21515], [SWS_CRYPT_21525], [SWS_CRYPT_50007]).

사용 경로

키 유도를 위한 일반적인 호출 순서는 세 가지 연속적인 단계로 구성됩니다:

  1. 기본 키 할당: SetKey을(를) 통해 소스 키 자료가 구성됩니다. 이때 기존 키 객체(SymmetricKey::Sptr) [SWS_CRYPT_21525] 또는 영구 키 저장 공간(KeySlot::Sptr) [SWS_CRYPT_50010]을(를) 전달할 수 있습니다.
  2. 컨텍스트 파라미터 구성: 솔트, 초기화 벡터 또는 반복 카운터와 같은 KDF 특정 값이 SetParameter을(를) 통해 정의됩니다. 메모리 버퍼(ReadOnlyMemRegion) [SWS_CRYPT_50007], 64비트 정수(std::uint64_t) [SWS_CRYPT_50008] 및 추가 대칭 키(SymmetricKey::Sptr) [SWS_CRYPT_50009]이(가) 지원됩니다.
  3. 대상 키 유도: DeriveKey의 호출은 암호화 계산을 실행합니다 [SWS_CRYPT_21515]. 이 메서드는 대상 알고리즘 식별자(AlgId) 및 허용된 사용 플래그(AllowedUsageFlags)를 기대하며, 성공 시 SymmetricKey::Sptr을(를) 반환합니다.
KeyDerivationFunctionCtx를 사용한 키 파생 시퀀스애플리케이션KeyDerivationFunctionCtxSymmetricKeySetKey(key)Result<void>SetParameter("salt", saltValue)Result<void>DeriveKey(targetAlgId, allowedUsage)파생 키 생성Result<SymmetricKey::Sptr>

시퀀스 다이어그램: KeyDerivationFunctionCtx를 통한 대칭 키 유도를 위한 일반적인 호출 순서. 출처: [SWS_CRYPT_21525], [SWS_CRYPT_50007], [SWS_CRYPT_21515].

오류 시나리오

인터페이스 메서드는 정의된 오류 코드를 사용하여 ara::core::Result을(를) 통해 오류 상황을 알립니다:

  • 불완전한 초기화: 충분한 구성 없이 DeriveKey이(가) 호출되면 ara::crypto::CryptoErrc::kUninitializedContext(으)로 호출이 실패합니다 [SWS_CRYPT_21515]. 할당된 KeySlot이(가) 실행 시점에 비어 있으면 ara::crypto::CryptoErrc::kEmptyKeySlot이(가) 보고됩니다 [SWS_CRYPT_21515].
  • 사용 권한 위반: 소스 키는 kAllowKeyDerivation 작업을 허용해야 하며, 그렇지 않으면 ara::crypto::CryptoErrc::kUsageViolation이(가) 발생합니다([SWS_CRYPT_21525], [SWS_CRYPT_21515], [SWS_CRYPT_50009]). 대상에 kAllowPlaintextExport이(가) 포함된 경우 소스 키에는 추가로 kAllowDerivedPlaintextExport이(가) 있어야 하며, 그렇지 않으면 마찬가지로 kUsageViolation이(가) 발생합니다 [SWS_CRYPT_21515].
  • 비호환성 및 유효하지 않은 인수: 지원되지 않는 대상 알고리즘은 UnknownIdentifier을(를) 반환하고, 상호 비호환적인 사용 플래그는 ara::crypto::CryptoErrc::kIncompatibleArguments을(를) 생성합니다 [SWS_CRYPT_21515]. 컨텍스트에 맞지 않는 키 객체 또는 KeySlot에 대해 SetKey은(는) ara::crypto::CryptoErrc::kIncompatibleObject(으)로 응답합니다([SWS_CRYPT_21525], [SWS_CRYPT_50010]). 유효하지 않은 파라미터 값은 ara::crypto::CryptoErrc::kInvalidArgument(으)로 이어집니다([SWS_CRYPT_50007], [SWS_CRYPT_50008]).
  • 지원되지 않는 인터페이스 기능: 구체적인 구현이 KeySlot만을 지원하거나 SymmetricKey만을 지원하는 경우, 다른 하나의 SetKey 호출은 ara::crypto::CryptoErrc::kUnsupported(으)로 이어집니다([SWS_CRYPT_21525], [SWS_CRYPT_50010]). SetParameter에서 알 수 없는 파라미터 이름 또한 kUnsupported을(를) 생성합니다([SWS_CRYPT_50007], [SWS_CRYPT_50008], [SWS_CRYPT_50009]).
  • 리소스 충돌: 계산에 필요한 암호화 리소스가 차단된 경우, DeriveKey은(는) 오류 코드 ara::crypto::CryptoErrc::kBusyResource을(를) 알립니다 [SWS_CRYPT_21515].

이 가이드는 AI에 의해 큐레이션되었습니다. 모든 기술적 진술은 AUTOSAR Adaptive 사양(릴리스 R25-11)만을 기반으로 합니다.

멤버 맵

타입 별칭

1

클래스 다이어그램

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

G nara__crypto__cryp__KeyDerivationFunctionCtx485 KeyDerivationFunctionCtx + DeriveKey() + SetKey() + SetParameter() nara__crypto__cryp__CryptoContext85 CryptoContext nara__crypto__cryp__KeyDerivationFunctionCtx485->nara__crypto__cryp__CryptoContext85

상세 보기

개요에서 항목을 선택하세요.

메서드

DeriveKey 함수

Derive a symmetric key from the provided key material and provided context configuration, e.g., salt, context, IV, iteration count.

virtual ara::core::Result< SymmetricKey::Sptr > DeriveKey (AlgId targetAlgId, AllowedUsageFlags allowedUsage) const noexcept=0;
SetKey 함수 2

Configure the context to use the provided key.

오버로드 SetKey 2
virtual ara::core::Result< void > SetKey (SymmetricKey::Sptr key) noexcept=0; SWS_CRYPT_21525
virtual ara::core::Result< void > SetKey (KeySlot::Sptr keySlot) noexcept=0; SWS_CRYPT_50010
SetParameter 함수 3

Set a parameter of the KDF identified by parameterName.

오버로드 SetParameter 3
virtual ara::core::Result< void > SetParameter (ara::core::StringView parameterName, ReadOnlyMemRegion value) noexcept=0; SWS_CRYPT_50007
virtual ara::core::Result< void > SetParameter (ara::core::StringView parameterName, std::uint64_t value) noexcept=0; SWS_CRYPT_50008
virtual ara::core::Result< void > SetParameter (ara::core::StringView parameterName, SymmetricKey::Sptr value) noexcept=0; SWS_CRYPT_50009

타입 별칭

Sptr 타입 별칭

Smart pointer of the interface.

메서드 문서

함수 DeriveKey [SWS_CRYPT_21515] Upstream: RS_CRYPTO_02102, RS_CRYPTO_02107, RS_CRYPTO_02108, RS_CRYPTO_02111, RS_CRYPTO_02115

virtual ara::core::Result< SymmetricKey::Sptr > DeriveKey (AlgId targetAlgId, AllowedUsageFlags allowedUsage) const noexcept=0;

Derive a symmetric key from the provided key material and provided context configuration, e.g., salt, context, IV, iteration count.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: ad7de7f8f0b6 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

클래스 ara::crypto::cryp::KeyDerivationFunctionCtx의 메서드 DeriveKey은(는) 기존 키 자료와 솔트(Salt), 초기화 벡터(IV) 또는 반복 횟수 카운터 등 컨텍스트에 저장된 매개변수로부터 새 대칭 키를 동기적으로 파생합니다 [SWS_CRYPT_21515].

사용

호출 시 targetAlgId을(를) 통해 원하는 암호화 알고리즘의 식별자가 전달되고, allowedUsage을(를) 통해 허용된 사용 플래그가 전달됩니다 [SWS_CRYPT_21515]. 반환값으로 함수는 동기적으로 ara::core::Result<SymmetricKey::Sptr>을(를) 반환하며, 성공적으로 실행되면 생성된 대칭 키 객체를 가리키는 스마트 포인터를 제공합니다 [SWS_CRYPT_21515].

오류 처리

키 생성에 실패하면 함수는 롤백 시맨틱을 보장하고 ara::core::Result에 해당 오류 코드를 반환합니다 [SWS_CRYPT_21515]:

  • UnknownIdentifier: targetAlgId에 전달된 값이 지원되지 않는 경우 보고됩니다 [SWS_CRYPT_21515].
  • ara::crypto::CryptoErrc::kIncompatibleArguments: allowedUsage에 지정된 사용 플래그가 대상 알고리즘과 호환되지 않는 경우 발생합니다 [SWS_CRYPT_21515].
  • ara::crypto::CryptoErrc::kUninitializedContext: 키 파생 전에 컨텍스트가 충분히 초기화되지 않았습니다 [SWS_CRYPT_21515].
  • ara::crypto::CryptoErrc::kBusyResource: 키 유도에 필요한 리소스가 사용 중입니다 [SWS_CRYPT_21515].
  • ara::crypto::CryptoErrc::kEmptyKeySlot: 작업에 대해 구성된 KeySlot이 현재 비어 있습니다 [SWS_CRYPT_21515].
  • ara::crypto::CryptoErrc::kUsageViolation: 원본 키의 사용 권한에 kAllowKeyDerivation이(가) 포함되지 않거나 대상이 kAllowPlaintextExport을(를) 요구하지만 원본이 kAllowDerivedPlaintextExport을(를) 허용하지 않는 경우에 발생합니다 [SWS_CRYPT_21515].

동시성 및 실행 컨텍스트

이 메서드는 noexcept(으)로 명시되어 있으며, 예외 안전성(exception safe)을 제공하고 동시 호출에 대해 thread-safe하도록 설계되었습니다 [SWS_CRYPT_21515].

이 사용 지침은 자동으로 생성되었으며 전적으로 AUTOSAR R25-11의 사양 데이터에 기반합니다.

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

Parameter (in)

ParameterBeschreibung
targetAlgIdthe identifier of the target symmetric crypto algorithm
allowedUsagethe flags that define a list of allowed usages in which the target key can be used.

Rückgabewert

TypBeschreibung
ara::core::Result<SymmetricKey::Sptr >result containing a shared pointer to the created symmetric key object or an error

Fehler

FehlercodeBeschreibung
UnknownIdentifierif targetAlgId has an unsupported value
ara::crypto::CryptoErrc::kIncompatibleArgumentsrollback_semantics if the allowedUsage of the derived key is incompatible with the targetAlgId.
ara::crypto::CryptoErrc::kUninitializedContextrollback_semantics if the context has not been sufficiently initialized
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics a required resource is busy
ara::crypto::CryptoErrc::kEmptyKeySlotrollback_semantics if a KeySlot was configured that is currently is empty
ara::crypto::CryptoErrc::kUsageViolationrollback_semantics if the allowed usage of the source key does not include kAllowKey Derivation
ara::crypto::CryptoErrc::kUsageViolationrollback_semantics if the allowedUsage of the target key includes kAllowPlaintext Export but the allowed usage of the source key does not include k AllowDerivedPlaintextExport

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

Record
AUTOSAR/AP/record/SWS_CRYPT_21515
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_21515@rel:R25-11#0978eb1c
Content hash
0978eb1c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_21515
Status: valid/unmigrated Version: rel:R25-11#9b38f620 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_21515@rel:R25-11#9b38f620
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4792442a2026-09-30
  • R19-11rel:R19-11#d747dcdf2026-10-14
  • R20-11rel:R20-11#20ca9f5b2026-10-14
  • R21-11rel:R21-11#4e7c875e2026-10-14
  • R22-11rel:R22-11#1edafd582026-10-14
  • R23-11rel:R23-11#09e184cc2026-10-14
  • R24-11rel:R24-11#f4962bb42026-10-14
  • R25-11rel:R25-11#9b38f6202026-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

함수 SetKey [SWS_CRYPT_21525] Upstream: RS_CRYPTO_02001, RS_CRYPTO_02003

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

Configure the context to use the provided key.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 3738ec7c9403 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

SetKey 메서드는 key(으)로 제공된 대칭 키 자료를 사용하여 KeyDerivationFunctionCtx을(를) 구성하는 데 사용됩니다 [SWS_CRYPT_21525]. 이 함수는 동기식으로 실행되며 반환 유형 ara::core::Result<void>을(를) 통해 작업 결과를 알립니다 [SWS_CRYPT_21525].

동시성 및 실행 안전성

이 인터페이스는 지정자 noexcept이(가) 부여되어 있으며 exception-safe로 분류됩니다 [SWS_CRYPT_21525]. 또한 실행이 thread-safe로 명시되어 있으므로 동시 환경에서도 안전하게 호출할 수 있습니다 [SWS_CRYPT_21525].

오류 처리

오류 발생 시 비어 있는 성공 상태 대신 해당 오류 코드가 반환되며, 모든 오류 사례에 대해 롤백 시맨틱이 정의되어 있습니다 [SWS_CRYPT_21525]:

  • ara::crypto::CryptoErrc::kIncompatibleObject: 전달된 키 객체가 대칭 컨텍스트와 호환되지 않습니다 [SWS_CRYPT_21525].
  • ara::crypto::CryptoErrc::kUsageViolation: 키에 허용된 용도에 kAllowKey Derivation 권한이 포함되어 있지 않습니다 [SWS_CRYPT_21525].
  • ara::crypto::CryptoErrc::kUnsupported: 해당 구체적 컨텍스트는 KeySlot을(를) 통한 할당만 지원합니다 [SWS_CRYPT_21525].

상호 작용

기본 컨텍스트 구현이 SymmetricKey::Sptr의 직접 할당을 지원하지 않거나, 대신 키 파생 시점에 저장 위치에서 키를 가져와야 하는 경우, KeySlot::Sptr을(를) 사용하는 SetKey의 대체 오버로드를 사용할 수 있습니다 [SWS_CRYPT_50010].

이 사용 지침은 AUTOSAR 사양 R25-11을 바탕으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I2)

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

Parameter (in)

ParameterBeschreibung
keythe source key-material

Rückgabewert

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

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if the provided key object is incompatible with this symmetric key context
ara::crypto::CryptoErrc::kUsageViolationrollback_semantics if the allowed usage of the key does not include kAllowKey Derivation
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context only supports setting a KeySlot

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

Record
AUTOSAR/AP/record/SWS_CRYPT_21525
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_21525@rel:R25-11#0ed6ac9a
Content hash
0ed6ac9a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_21525
Status: valid/unmigrated Version: rel:R25-11#eca8e8d8 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_21525@rel:R25-11#eca8e8d8
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#a05f5b632026-09-30
  • R20-11rel:R20-11#33ea902d2026-10-14
  • R21-11rel:R21-11#46a880c32026-10-14
  • R22-11rel:R22-11#fed116fd2026-10-14
  • R23-11rel:R23-11#3143ac902026-10-14
  • R24-11rel:R24-11#db6fdd502026-10-14
  • R25-11rel:R25-11#eca8e8d82026-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

함수 SetKey [SWS_CRYPT_50010] Upstream: RS_CRYPTO_02001, RS_CRYPTO_02003

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

Configure the context to use the key stored in the provided KeySlot at the time the key derivation is performed.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: aa74de7c29b5 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

가상 메서드 SetKey은 키 유도가 수행될 때 전달된 KeySlot에 저장된 키를 사용하도록 컨텍스트 KeyDerivationFunctionCtx을 구성합니다 [SWS_CRYPT_50010]. 매개변수로 이 함수는 대칭 키가 있는 슬롯을 참조하는 스마트 포인터 KeySlot::Sptr를 전달받습니다 [SWS_CRYPT_50010].

호출은 동기적으로 이루어지며 예외 안전(exception safe) 및 예외를 던지지 않음(noexcept)으로 명시되어 있습니다 [SWS_CRYPT_50010]. 이 함수는 성공 시 비어 있거나 실패 시 해당 오류 코드를 캡슐화하는 ara::core::Result<void>을 반환합니다 [SWS_CRYPT_50010]. 오류가 발생하면 롤백 시맨틱을 통해 이전 상태가 유지됩니다 [SWS_CRYPT_50010]:

  • ara::crypto::CryptoErrc::kIncompatibleObject: 제공된 keySlot이 현재 컨텍스트와 호환되지 않는 경우 반환됩니다 [SWS_CRYPT_50010].
  • ara::crypto::CryptoErrc::kUnsupported: 구체적 컨텍스트가 SymmetricKey 설정만을 지원하는 경우 발생합니다 [SWS_CRYPT_50010].

여러 스레드로부터의 동시 접근에 대해 이 메서드는 스레드 안전(thread-safe)으로 지정되어 있습니다 [SWS_CRYPT_50010]. 상호 작용 측면에서 이 연산은 슬롯 참조 대신 키 자료를 직접 전달받는 SymmetricKey::Sptr을 사용하는 SetKey 오버로드의 대안 역할을 합니다 [SWS_CRYPT_21525].

이 사용 지침은 AUTOSAR 사양을 바탕으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I2)

Header-Datei#include "ara/crypto/cryp/key_derivation_function_ctx.h"
Scopeclass ara::crypto::cryp::KeyDerivationFunctionCtx
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::kIncompatibleObjectrollback_semantics if the provided keySlot is incompatible with this context
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_50010
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50010@rel:R25-11#bbf10d68
Content hash
bbf10d68
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50010
Status: valid/unmigrated Version: rel:R25-11#8eb8c6c4 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_50010@rel:R25-11#8eb8c6c4
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

함수 SetParameter [SWS_CRYPT_50007] Upstream: RS_CRYPTO_02102, RS_CRYPTO_02107, RS_CRYPTO_02108, RS_CRYPTO_02111

virtual ara::core::Result< void > SetParameter (ara::core::StringView parameterName, ReadOnlyMemRegion value) noexcept=0;

Set a parameter of the KDF identified by parameterName.

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

Parameter (in)

ParameterBeschreibung
parameterNamean identifier of the parameter
valuean input buffer containing the value of the parameter

Rückgabewert

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

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context does not support the parameter
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if the provided parameter value is invalid

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50007
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50007@rel:R25-11#a3ba02a5
Content hash
a3ba02a5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50007
Status: valid/unmigrated Version: rel:R25-11#4c314faf 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_50007@rel:R25-11#4c314faf
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

함수 SetParameter [SWS_CRYPT_50008] Upstream: RS_CRYPTO_02102, RS_CRYPTO_02107, RS_CRYPTO_02108, RS_CRYPTO_02111

virtual ara::core::Result< void > SetParameter (ara::core::StringView parameterName, std::uint64_t value) noexcept=0;

Set a parameter of the KDF identified by parameterName.

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

Parameter (in)

ParameterBeschreibung
parameterNamean identifier of the parameter
valuean unsigned integer containing the value of the parameter

Rückgabewert

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

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context does not support the parameter
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if the provided parameter value is invalid

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50008
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50008@rel:R25-11#ace36dcd
Content hash
ace36dcd
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50008
Status: valid/unmigrated Version: rel:R25-11#26b90c19 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_50008@rel:R25-11#26b90c19
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

함수 SetParameter [SWS_CRYPT_50009] Upstream: RS_CRYPTO_02102, RS_CRYPTO_02107, RS_CRYPTO_02108, RS_CRYPTO_02111

virtual ara::core::Result< void > SetParameter (ara::core::StringView parameterName, SymmetricKey::Sptr value) noexcept=0;

Set a parameter of the KDF identified by parameterName.

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

Parameter (in)

ParameterBeschreibung
parameterNamean identifier of the parameter
valueSymmetricKey being used as the input parameter

Rückgabewert

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

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context does not support the parameter
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if the provided key is incompatible with this context
ara::crypto::CryptoErrc::kUsageViolationrollback_semantics if the allowed usage of the key does not include kAllowKey Derivation

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50009
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50009@rel:R25-11#d963de32
Content hash
d963de32
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50009
Status: valid/unmigrated Version: rel:R25-11#92b1f35c 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_50009@rel:R25-11#92b1f35c
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

타입 별칭 문서

타입 별칭 Sptr [SWS_CRYPT_21501] Upstream: RS_CRYPTO_02103

using Sptr = std::shared_ptr<KeyDerivationFunctionCtx>;

Smart pointer of the interface.

Header-Datei#include "ara/crypto/cryp/key_derivation_function_ctx.h"
Scopeclass ara::crypto::cryp::KeyDerivationFunctionCtx
SymbolSptr

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

Record
AUTOSAR/AP/record/SWS_CRYPT_21501
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_21501@rel:R25-11#ff17f2f8
Content hash
ff17f2f8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_21501
Status: valid/unmigrated Version: rel:R25-11#6ebb94e3 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_21501@rel:R25-11#6ebb94e3
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4fb24cfc2026-09-30
  • R19-11rel:R19-11#e5d0fc6d2026-10-14
  • R20-11rel:R20-11#c13472492026-10-14
  • R21-11rel:R21-11#c13472492026-10-14
  • R22-11rel:R22-11#461242d92026-10-14
  • R23-11rel:R23-11#aa4dc94a2026-10-14
  • R24-11rel:R24-11#aa4dc94a2026-10-14
  • R25-11rel:R25-11#6ebb94e32026-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