DEENESPTFRRUARHIKOZHNL
CLASSIC Modul: crypto Rolle: constitutive Konfidenz: 95%

SNIP_CLASSIC_CRYPTO_SECTION_7_4_Error_detection

Quelle: SWS_CryptoDriver.pdf (Seite 49) • Ziel-Anforderung: SWS_Crypto_00252

Wortlaut

7.4 Error detection [SWS_Crypto_00217] ⌈The crypto Driver shall check if job->cryptoKeyId and, if applicable, job->targetCryptoKeyId are in range, before it executes a job. If the check fails, the function Crypto_ProcessJob shall report CRYPTO_E_PARAM_HANDLE to DET and return E_NOT_OK.⌋ [SWS_Crypto_00195] ⌈If a Crypto Driver API is called and any buffer addressed during the operation is too small, then the operation shall not be performed. If development error detection for the Crypto Driver is enabled, then the API function shall report CRYPTO_E_SMALL_BUFFER to the DET, else return E_NOT_OK.⌋ Note: For CRYPTO_HASH, CRYPTO_MACGENERATE and CRYPTO_RANDOMGENERATE services, truncated results are allowed (see [SWS_Crypto_00065], [SWS_Crypto_00252]).

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_CryptoDriver.pdf
Dokumentseite Seite 49
Ziel-Modul crypto (classic)
Ziel-Anforderung SWS_Crypto_00252
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95