CLASSIC
Modul: cryif
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_CRYIF_SECTION_8_3_4_2_Key_Status_Interface
Wortlaut
8.3.4.2 Key Status Interface
[SWS_CryIf_91012] Definition of API function CryIf_KeyGetStatus ⌈
Service Name
CryIf_KeyGetStatus
Syntax
Std_ReturnType CryIf_KeyGetStatus (
uint32 cryIfKeyId,
Crypto_KeyStatusType* keyStatusPtr
)
Service ID [hex]
0x13
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
cryIfKeyId
Holds the identifier of the key for which the key state shall be
returned.
Parameters (inout)
None
Parameters (out)
keyStatusPtr
Contains the pointer to the data where the status of the key shall
be stored.
Return value
Std_ReturnType
E_OK: Request successful
E_NOT_OK: Request failed
Description
Returns the key state of the key identified by cryIfKeyId.
Available via
CryIf.h
⌋
[SWS_CryIf_00146] CryIf_KeyGetStatus API: Report CRYIF_E_UNINIT error
Upstream requirements: SRS_CryptoStack_00034, SRS_BSW_00369, SRS_BSW_00406
⌈If development error detection for the CryIf module is enabled, the function CryIf_
KeyGetStatus shall report CRYIF_E_UNINIT to the DET if the module is not yet
initialized.⌋
[SWS_CryIf_00147] CryIf_KeyGetStatus API: Report CRYIF_E_PARAM_HANDLE
error
Upstream requirements: SRS_CryptoStack_00034
⌈If development error detection for the CryIf module is enabled, the function CryIf_
KeyGetStatus shall report CRYIF_E_PARAM_HANDLE to the DET if the parameter
cryIfKeyId is out of range.⌋
[SWS_CryIf_00148] CryIf_KeyGetStatus API: Report CRYIF_E_PARAM_POINTER
error
Upstream requirements: SRS_CryptoStack_00034
⌈If development error detection for the CryIf module is enabled, the function CryIf_
KeyGetStatus shall report CRYIF_E_PARAM_POINTER to the DET if the parameter
keyStatusPtr is a null pointer.⌋
[SWS_CryIf_00149] CryIf_KeyGetStatus API: Forward key job to the mapped
driver
Upstream requirements: SRS_CryptoStack_00104
⌈If no errors are detected by CryIf, the service CryIf_KeyGetStatus shall call
Crypto_<vi>_<ai>_KeyGetStatus for the driver configuration mapped to the service
and pass on the return value⌋
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_CryptoInterface.pdf |
|---|---|
| Dokumentseite | Seite 29 |
| Ziel-Modul | cryif (classic) |
| Ziel-Anforderung | SWS_Std_00005 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |