CLASSIC
Modul: csm
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_CSM_SECTION_8_4_Callback_notifications
Wortlaut
8.4 Callback notifications
This is a list of functions provided for other modules.
[SWS_Csm_00970] Definition of API function Csm_CallbackNotification
Upstream requirements: SRS_BSW_00359, SRS_BSW_00360
⌈
Service Name
Csm_CallbackNotification
Syntax
void Csm_CallbackNotification (
Crypto_JobType* job,
Crypto_ResultType result
)
Service ID [hex]
0x70
Sync/Async
Synchronous
Reentrancy
Reentrant
job
Holds a pointer to the job, which has finished.
Parameters (in)
result
Contains the result of the cryptographic operation.
Parameters (inout)
None
Parameters (out)
None
Return value
None
Description
Notifies the CSM that a job has finished. This function is used by the underlying layer (CRYIF).
Available via
Csm.h
⌋
[SWS_Csm_01044] ⌈If the CRYPTO_OPERATIONMODE_FINISH bit is set in job-
>jobPrimitiveInputOutput.mode, the Csm_CallbackNotification shall call
the configured callback function.⌋
[SWS_Csm_91017]
⌈If
the
CRYPTO_OPERATIONMODE_FINISH
bit
is
set
in
job->jobPrimitiveInputOutput.mode and CsmProcessingMode is set to
CRYPTO_PROCESSING_ASYNC and CsmJobInterfaceUsePort is set to CRYPTO_USE_PORT_OPTIMIZED, the CSM shall trigger CallbackNotification service.⌋
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_CryptoServiceManager.pdf |
|---|---|
| Dokumentseite | Seite 82 |
| Ziel-Modul | csm (classic) |
| Ziel-Anforderung | SWS_Csm_91017 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |