CLASSIC
Modul: keym
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_KEYM_SECTION_8_7_3_2_KeyM_KH_Prepare
Wortlaut
8.7.3.2 KeyM_KH_Prepare
[SWS_KeyM_00068] Definition of configurable interface KeyM_KH_Prepare
Upstream requirements: SRS_CryptoStack_00115,
SRS_CryptoStack_00100,
SRS_BSW_
00310, SRS_BSW_00357
⌈
Service Name
KeyM_KH_Prepare
Syntax
Std_ReturnType KeyM_KH_Prepare (
const uint8* RequestData,
uint16 RequestDataLength,
uint8* ResponseDataPtr,
uint16* ResponseDataLength
)
Sync/Async
Synchronous
Reentrancy
Non Reentrant
RequestData
Information that comes along with the request
Parameters (in)
RequestDataLength
Length of data in the RequestData array
Parameters (inout)
ResponseDataLength
In: Max number of bytes available in ResponseData Out: Actual
number of bytes in ResponseData.
Parameters (out)
ResponseDataPtr
Data returned by the function.
Return value
Std_ReturnType
E_OK: Service has been accepted and will be processed
internally. Results will be provided through a callback
E_NOT_OK: Service not accepted due to an internal error.
KEYM_E_PARAMETER_MISMATCH: Parameter do not match with
expected value.
KEYM_E_KEY_CERT_SIZE_MISMATCH: Parameter size doesn’t
match
Description
If the configuration parameters KeyMCryptoKeyPrepareFunctionEnabled and KeyMCryptoKey
HandlerPrepareEnabled are both set to TRUE, then this function will be called immediately
when KeyM_Prepare gets called. The function takes over the task to prepare a key
management operation. The response data will be passed on as is to the caller of Key_Prepare.
Available via
KeyM_Externals.h
⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Cited verbatim in the snippet (deterministic citation).
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_KeyManager.pdf |
|---|---|
| Dokumentseite | Seite 82 |
| Ziel-Modul | keym (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |