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

SNIP_ADAPTIVE_PLATFORM_SECTION_8_API_specification

Quelle: SWS_Cryptography.pdf (Seite 208) • Ziel-Anforderung: SWS_CRYPT_23715

Wortlaut

△ Return value: ara::core::Result< ara::core::Vector< ara::core::Byte > > the output buffer containing the transformation result Exception Safety: noexcept Thread Safety: Thread-safe ara::crypto::CryptoErrc::k InvalidInputSize if the boolean parameter suppressPadding was set to TRUE and the provided input buffer does not match the block-size. Errors: ara::crypto::CryptoErrc::k UninitializedContext if the context was not initialized by calling SetKey() Description: Process (encrypt / decrypt) an input block according to the configuration. ⌋(RS_CRYPTO_02201) [SWS_CRYPT_23715]{DRAFT} Definition of API function ara::crypto::cryp::SymmetricBlockCipherCtx::ProcessBlocks ⌈ Kind: function Header file: #include "ara/crypto/cryp/symmetric_block_cipher_ctx.h" Scope: class ara::crypto::cryp::SymmetricBlockCipherCtx Symbol: ProcessBlocks(ReadOnlyMemRegion in) Syntax: virtual ara::core::Result< ara::core::Vector< ara::core::Byte > > ProcessBlocks (ReadOnlyMemRegion in) const noexcept=0; Parameters (in): in an input data buffer Return value: ara::core::Result< ara::core::Vector< ara::core::Byte > > an output data buffer Exception Safety: noexcept Thread Safety: Thread-safe ara::crypto::CryptoErrc::k UninitializedContext if the context was not initialized by a key value Errors: ara::crypto::CryptoErrc::k InvalidInputSize if size of the input buffer is not divisible by the block size (see Get BlockSize()) Description: Process (encrypt / decrypt) an input block according to the configuration. The in must have a size that is divisible by the block size (see GetBlockSize()). The pointer to the input buffer must be aligned to the block-size boundary! ⌋(RS_CRYPTO_02302) [SWS_CRYPT_23712]{DRAFT} Definition of API function ara::crypto::cryp::SymmetricBlockCipherCtx::Reset ⌈ Kind: function Header file: #include "ara/crypto/cryp/symmetric_block_cipher_ctx.h" Scope: class ara::crypto::cryp::SymmetricBlockCipherCtx Symbol: Reset() Syntax: virtual ara::core::Result< void > Reset () noexcept=0; Return value: ara::core::Result< void > true if the transformation requires the maximum size of input data and false otherwise Exception Safety: noexcept Thread Safety: Thread-safe ▽

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_Cryptography.pdf
Dokumentseite Seite 208
Ziel-Modul crypto (adaptive)
Ziel-Anforderung SWS_CRYPT_23715
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95