方法文档
virtual ara::core::Result < void > Cancel () noexcept=0;
Cancel the ongoing streaming operation that has been initiated by Start() and has not yet been finished.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 0bea3f0e1d0d
来源
未决问题(1)
此文本由 AI 策划,并基于 AUTOSAR Adaptive R25-11 规范。
实现者指南即将推出(复杂度 I1)
Rückgabewert
Typ Beschreibung ara::core::Result < void >an empty result if the ongoing streaming operation was cancelled successfully, or a result containing an error
Fehler
Status: valid/unmigrated
Version: rel:R25-11#f0ef0c54
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50046@rel:R25-11#f0ef0c54
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < std::size_t > EncryptSingleCallWithOutputIv (ReadOnlyMemRegion in, ReadWriteMemRegion out, ReadWriteMemRegion iv Out) noexcept=0;
Perform encryption in a single-call and return an IV generated by the context.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 9c4059afbb11
来源
未决问题(1)
本使用说明由人工智能基于 AUTOSAR Adaptive 规范生成。
实现者指南即将推出(复杂度 I2)
Parameter (in)
Parameter Beschreibung in an input data buffer containing the ciphertext or plaintext
Parameter (out)
Parameter Beschreibung out an output data buffer that the encrypted or decrypted data is written to ivOut an output data buffer that the initialization vector (IV) generated by the context will be written to. If the algorithm does not use an IV, no data will be written into the buffer.
Rückgabewert
Typ Beschreibung ara::core::Result <std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out.
Fehler
Status: valid/unmigrated
Version: rel:R25-11#f2ba22b4
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50049@rel:R25-11#f2ba22b4
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < std::size_t > Finish (ReadOnlyMemRegion in, ReadWriteMemRegion out) noexcept=0;
Finalize the encryption/decryption without returning an IV.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 041cbaba2731
来源
未决问题(1)
本文由 AI 基于 AUTOSAR 规范 R25-11 生成。
Parameter (in)
Parameter Beschreibung in an input data buffer containing a part of the ciphertext or plaintext
Parameter (out)
Parameter Beschreibung out an output data buffer that contains encrypted or decrypted data. The required size of this buffer can be queried using GetRequired OutputBufferSize()
Rückgabewert
Typ Beschreibung ara::core::Result <std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out.
Fehler
Status: valid/unmigrated
Version: rel:R25-11#b9951f15
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50045@rel:R25-11#b9951f15
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < std::size_t > FinishEncrypt (ReadOnlyMem Region in, ReadWriteMemRegion out, ReadWriteMemRegion ivOut) noexcept=0;
Finalize the encryption and return the IV generated by the context.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: c0e4f2ad1bdc
来源
本使用说明基于 AUTOSAR 有效负载自动生成。
实现者指南即将推出(复杂度 I2)
Parameter (in)
Parameter Beschreibung in an input data buffer containing a part of the ciphertext or plaintext
Parameter (out)
Parameter Beschreibung out an output data buffer that contains encrypted or decrypted data ivOut an output data buffer that contains the IV
Rückgabewert
Typ Beschreibung ara::core::Result <std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out.
Fehler
Status: valid/unmigrated
Version: rel:R25-11#dcc35b13
Versionshistorie & Revisions (1 transition, 8 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_23618@rel:R25-11#dcc35b13
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#c50d30f82026-09-30 Inspect R19-11 rel:R19-11#c41ea37b2026-10-14 Inspect R20-11 rel:R20-11#06f18fb12026-10-14 Inspect R21-11 rel:R21-11#3725bc5a2026-10-14 Inspect R22-11 rel:R22-11#724878ec2026-10-14 Inspect R23-11 rel:R23-11#8e98bdf02026-10-14 Inspect R24-11 rel:R24-11#1d9181d92026-10-14 Inspect R25-11 rel:R25-11#dcc35b132026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < std::size_t > GetMaximumChunkSize () const noexcept=0;
Get the maximum input buffer size supported for processing in single calls to Update(), Finish(), FinishEncrypt(), or ProcessSingleCall() by this context.
Rückgabewert
Fehler
Fehlercode Beschreibung This function does not specify any standardized errors.
Status: valid/unmigrated
Version: rel:R25-11#439b3c69
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50050@rel:R25-11#439b3c69
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < std::size_t > GetMaximumInputIvSize (Crypto Transform transformDirection) const noexcept=0;
Get the maximum IV size required to be passed to the context in the functions Start() and ProcessSingleCallWithInputIv() for the given transformDirection.
Parameter (in)
Parameter Beschreibung transformDirection the transformation direction, i.e., encryption or decryption
Rückgabewert
Fehler
Fehlercode Beschreibung This function does not specify any standardized errors.
Status: valid/unmigrated
Version: rel:R25-11#2fd32b15
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50142@rel:R25-11#2fd32b15
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < std::size_t > GetMinimumChunkSize () const noexcept=0;
Get the minimum input buffer size supported for processing in single calls to Update(), Finish(), FinishEncrypt(), or ProcessSingleCall() by this context.
Rückgabewert
Fehler
Fehlercode Beschreibung This function does not specify any standardized errors.
Status: valid/unmigrated
Version: rel:R25-11#8dfc91ab
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50144@rel:R25-11#8dfc91ab
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < std::size_t > GetMinimumInputIvSize (Crypto Transform transformDirection) const noexcept=0;
Get the minimum IV size required to be passed to the context in the functions Start() and ProcessSingleCallWithInputIv() for the given transformDirection.
Parameter (in)
Parameter Beschreibung transformDirection the transformation direction, i.e., encryption or decryption
Rückgabewert
Fehler
Fehlercode Beschreibung This function does not specify any standardized errors.
Status: valid/unmigrated
Version: rel:R25-11#a69e1387
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50141@rel:R25-11#a69e1387
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < std::size_t > GetOutputIvSize () const noexcept=0;
Get the output IV size that will be returned by the functions FinishEncrypt() (in case no IV has been provided by the application during the call to Start()), and EncryptSingleCallWithOutputIv().
Rückgabewert
Fehler
Fehlercode Beschreibung This function does not specify any standardized errors.
Status: valid/unmigrated
Version: rel:R25-11#11f7dfe6
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50143@rel:R25-11#11f7dfe6
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < std::size_t > GetRequiredOutputBufferSize (std::size_t inputSize, bool isFinal) const noexcept;
Calculate the maximum required size of the output buffer depending on the input size in the current state of the context.
Parameter (in)
Parameter Beschreibung inputSize size of input data isFinal if true, calculate maximum required output buffer size for Finish(), FinishEncrypt(), ProcessSingleCallWithInputIv(), and Encrypt SingleCallWithOutputIv(), otherwise for Update()
Rückgabewert
Typ Beschreibung ara::core::Result <std::size_t >a result containing the required capacity of the output buffer (in bytes) or an error
Fehler
Status: valid/unmigrated
Version: rel:R25-11#3cd4a32f
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50140@rel:R25-11#3cd4a32f
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < std::size_t > ProcessSingleCall (ReadOnly MemRegion in, ReadWriteMemRegion out, CryptoTransform transform Direction) noexcept=0;
Perform en-/decryption in a single-call without setting or returning an IV.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 4a1fdc95f521
来源
方法 ProcessSingleCall 在单个同步调用中执行不带初始化向量 (IV) 的加密或解密 ([SWS_CRYPT_50047] )。数据缓冲区 in (ReadOnlyMemRegion) 和变换方向 transformDirection (CryptoTransform) 用作输入参数,而结果则写入缓冲区 out (ReadWriteMemRegion)。成功执行时,该函数返回一个 ara::core::Result<std::size_t>,其中包含写入的字节数;该值可以小于输出缓冲区的总容量。
关于并发性与安全性,该方法被指定为 thread-safe 和 exception safe ([SWS_CRYPT_50047] )。in 可处理的输入大小受上下文所定义的限制约束,这些限制可通过 [SWS_CRYPT_50144] (GetMinimumChunkSize) 和 [SWS_CRYPT_50050] (GetMaximumChunkSize) 查询。
所有错误情况均遵循回滚语义 ([SWS_CRYPT_50047] ):
ara::crypto::CryptoErrc::kUninitializedContext:上下文事先未通过分配密钥进行初始化。
ara::crypto::CryptoErrc::kUnsupported:不支持单次调用(Single-Call)处理,或者变换需要设置或读取 IV。
ara::crypto::CryptoErrc::kInsufficientCapacity:输出缓冲区 out 容量不足。
ara::crypto::CryptoErrc::kInvalidInputSize:上下文无法处理输入大小。
ara::crypto::CryptoErrc::kUsageViolation:密钥用途未涵盖所请求的操作(kAllowDataEncryption 或 kAllowDataDecryption)。
ara::crypto::CryptoErrc::kIncompatibleObject、kEmptyKeySlot、kInvalidArgument 或 kBusyResource:密钥不兼容、密钥槽为空、输入数据无效或所需资源被占用。
在与其他接口的协作中,该调用需要一个完整配置的上下文;对于带有额外 Tag 处理的认证加密,在 AuthCipherCtx 中提供了替代接口 [SWS_CRYPT_50078] 。
本使用说明基于 AUTOSAR 规范自动生成。
实现者指南即将推出(复杂度 I2)
Parameter (in)
Parameter Beschreibung in an input data buffer containing the ciphertext or plaintext transformDirection the transformation direction, i.e., encryption or decryption
Parameter (out)
Parameter Beschreibung out an output data buffer that the encrypted or decrypted data is written to
Rückgabewert
Typ Beschreibung ara::core::Result <std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out.
Fehler
Status: valid/unmigrated
Version: rel:R25-11#c5198454
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50047@rel:R25-11#c5198454
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < std::size_t > ProcessSingleCallWithInputIv (ReadOnlyMemRegion in, ReadWriteMemRegion out, CryptoTransform transformDirection, ReadOnlyMemRegion iv) noexcept=0;
Perform en-/decryption in a single-call, providing an IV to be used during en-/decryption.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: f491c775eb62
来源
ara::crypto::cryp::SymmetricCipherCtx 上的方法 ProcessSingleCallWithInputIv 在单个同步调用(Single-Call)中执行数据的对称加密或解密 [SWS_CRYPT_50048] 。在此过程中,用于变换的初始化向量通过输入缓冲区 iv 显式传递。
使用与交互
通过 transformDirection 控制是对来自 in 的数据进行加密还是解密。结果将写入缓冲区 out。返回的 ara::core::Result<std::size_t> 包含写入的实际字节数,该数量可能小于 out 的总容量 [SWS_CRYPT_50048] 。
为了确定缓冲区的大小,提供了辅助函数:
错误处理与并发
该操作被定义为 thread-safe 和 exception safe [SWS_CRYPT_50048] 。所有错误均具有回滚语义:
本文字由人工智能生成,用于支持该规范元素的使用。
实现者指南即将推出(复杂度 I2)
Parameter (in)
Parameter Beschreibung in an input data buffer containing the ciphertext or plaintext transformDirection the transformation direction, i.e., encryption or decryption iv an input data buffer containing the initialization vector (IV) to be used by the context
Parameter (out)
Parameter Beschreibung out an output data buffer that the encrypted or decrypted data is written to
Rückgabewert
Typ Beschreibung ara::core::Result <std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out.
Fehler
Status: valid/unmigrated
Version: rel:R25-11#06bfc8c8
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50048@rel:R25-11#06bfc8c8
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < void > Seek (std::int64_t offset, bool from Begin) noexcept=0;
Set the position of the next byte within the data stream.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 2287fbd40f75
来源
未决问题(1)
本文本由人工智能生成。
Parameter (in)
Parameter Beschreibung offset the offset value in bytes, relative to begin or current position in the data stream fromBegin the starting point for positioning within the stream: from begin (if true) or from current position (if false)
Rückgabewert
Fehler
Status: valid/unmigrated
Version: rel:R25-11#383a800f
Versionshistorie & Revisions (1 transition, 8 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_23613@rel:R25-11#383a800f
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#6a4153822026-09-30 Inspect R19-11 rel:R19-11#9c63158a2026-10-14 Inspect R20-11 rel:R20-11#36a48d2b2026-10-14 Inspect R21-11 rel:R21-11#f3b5692c2026-10-14 Inspect R22-11 rel:R22-11#a11f983a2026-10-14 Inspect R23-11 rel:R23-11#10ff1b922026-10-14 Inspect R24-11 rel:R24-11#23dbf8e42026-10-14 Inspect R25-11 rel:R25-11#383a800f2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < void > SetKey (KeySlot ::Sptr keySlot) noexcept=0;
Configure the context to use the key stored in the provided KeySlot at the time the en-/decryption is started.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 72406ca015ea
来源
未决问题(1)
本文由 AI 基于 AUTOSAR Adaptive R25-11 规范生成。
实现者指南即将推出(复杂度 I2)
Parameter (in)
Parameter Beschreibung keySlot a keyslot containing a SymmetricKey.
Rückgabewert
Fehler
Status: valid/unmigrated
Version: rel:R25-11#e7e7c9ab
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50043@rel:R25-11#e7e7c9ab
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < void > SetKey (SymmetricKey ::Sptr key) noexcept=0;
Configure the context to use the provided symmetric key.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 7e5086bb8751
来源
使用
方法 SetKey 用于配置 ara::crypto::cryp::SymmetricCipherCtx 的实例以使用传入的对称密钥 [SWS_CRYPT_50138] 。作为输入参数,该函数接收类型为 SymmetricKey::Sptr 的智能指针 key 作为要使用的密钥。调用同步进行并返回一个 ara::core::Result<void>,该返回值在分配成功时为空,或在错误情况下提供错误代码 [SWS_CRYPT_50138] 。声明通过头文件 ara/crypto/cryp/symmetric_cipher_ctx.h 包含。
错误处理
错误处理保证了回滚语义,因此在分配失败时,上下文保持在其先前的状态 [SWS_CRYPT_50138] 。定义了两个特定错误:
并发性与交互
虚函数定义为 noexcept,被视为 Exception-safe,并且按照规范要求执行为 thread-safe [SWS_CRYPT_50138] 。用于分配 SymmetricKey::Sptr 的类似接口也存在于相关的加密上下文中,例如 AuthCipherCtx [SWS_CRYPT_23911] 以及 SymmetricKeyWrapperCtx [SWS_CRYPT_24018] 。与密钥容器的交互还通过备选接受 KeySlot::Sptr 的上下文类得到说明 [SWS_CRYPT_50034] 。
此使用说明基于 AUTOSAR 规范 R25-11 自动生成。
实现者指南即将推出(复杂度 I2)
Parameter (in)
Parameter Beschreibung key the SymmetricKey to be used.
Rückgabewert
Fehler
Status: valid/unmigrated
Version: rel:R25-11#aa2f4130
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50138@rel:R25-11#aa2f4130
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < void > Start (CryptoTransform transform Direction, ReadOnlyMemRegion iv) noexcept=0;
Initialize the context for a new encryption or decryption and set the IV used by the context.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 33beff56357b
来源
本文字由 AI 系统基于 AUTOSAR 规范 R25-11 生成。
实现者指南即将推出(复杂度 I1)
Parameter (in)
Parameter Beschreibung transformDirection the transformation direction, i.e., encryption or decryption iv an Initialization Vector (IV) or "nonce" value. The allowed size of the IV can be queried using the functions GetMinimumInputIvSize() and GetMaximumInputIvSize().
Rückgabewert
Fehler
Status: valid/unmigrated
Version: rel:R25-11#608e87fd
Versionshistorie & Revisions (1 transition, 7 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_23625@rel:R25-11#608e87fd
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R21-11 R22-11 R23-11 R24-11 R19-11
View Snapshot
Recorded Revisions (7):
R25-11 rel:R25-11#a536a6ca2026-09-30 Inspect R20-11 rel:R20-11#6996665a2026-10-14 Inspect R21-11 rel:R21-11#c2b5cf1e2026-10-14 Inspect R22-11 rel:R22-11#25b4dab42026-10-14 Inspect R23-11 rel:R23-11#e01d837d2026-10-14 Inspect R24-11 rel:R24-11#26e85c6c2026-10-14 Inspect R25-11 rel:R25-11#608e87fd2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < void > Start (CryptoTransform transform Direction) noexcept=0;
Initialize the context for a new encryption or decryption. An IV is either not required for this context in this transformation direction, or set by the context itself.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 09affb4844e4
来源
本使用说明基于 AUTOSAR 规范 R25-11 自动创建。
实现者指南即将推出(复杂度 I1)
Parameter (in)
Parameter Beschreibung transformDirection the transformation direction, i.e., encryption or decryption
Rückgabewert
Fehler
Status: valid/unmigrated
Version: rel:R25-11#842f896d
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50044@rel:R25-11#842f896d
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < std::size_t > Update (ReadOnlyMemRegion in, ReadWriteMemRegion out) noexcept=0;
Encrypt or decrypt a data buffer.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 5cb4a9bba31d
来源
同步方法 Update() 在 ara::crypto::cryp::SymmetricCipherCtx 中用于逐步加密或解密部分数据流 [SWS_CRYPT_50139] 。它处理包含明文或密文的输入缓冲区 in(类型 ReadOnlyMemRegion),并将变换后的数据写入输出缓冲区 out(类型 ReadWriteMemRegion)[SWS_CRYPT_50139] 。返回值 ara::core::Result<std::size_t> 在成功情况下提供实际写入 out 的确切字节数,该字节数可能小于目标缓冲区的总容量 [SWS_CRYPT_50139] 。
调用适用已确定的前提条件和缓冲区规则:
该接口被指定为 thread-safe 以及 exception safe,并在发生任何错误时保证回滚语义 [SWS_CRYPT_50139] 。在处理周期中,它与 GetMaximumChunkSize() 以及 Finish() 或 FinishEncrypt() 等收尾操作协同工作 [SWS_CRYPT_50050] 。
本使用说明基于 AUTOSAR 规范 R25-11 自动生成。
Parameter (in)
Parameter Beschreibung in an input data buffer containing a part of the ciphertext or plaintext
Parameter (out)
Parameter Beschreibung out an output data buffer that the encrypted or decrypted data will be written into. The required size of this buffer can be queried using GetRequiredOutputBufferSize()
Rückgabewert
Typ Beschreibung ara::core::Result <std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out.
Fehler
Status: valid/unmigrated
Version: rel:R25-11#50161066
Versionshistorie & Revisions (1 transition)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CRYPT_50139@rel:R25-11#50161066
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
gemini-3.8-flash-low· 2026-10-13 · 德文原文