Skip to content

Add AODS opaque data parsing. - #3531

Open
Li-Aaron wants to merge 1 commit into
DMTF:mainfrom
Li-Aaron:fix-2936
Open

Add AODS opaque data parsing.#3531
Li-Aaron wants to merge 1 commit into
DMTF:mainfrom
Li-Aaron:fix-2936

Conversation

@Li-Aaron

Copy link
Copy Markdown
Contributor

fix #2936

@Li-Aaron
Li-Aaron force-pushed the fix-2936 branch 2 times, most recently from 3585563 to 4aac6f6 Compare February 25, 2026 05:57
@Li-Aaron Li-Aaron changed the title add AODS opaque data parsing. [WIP] add AODS opaque data parsing. Feb 25, 2026
@Li-Aaron
Li-Aaron force-pushed the fix-2936 branch 3 times, most recently from e445113 to c358c96 Compare February 26, 2026 02:58
@Li-Aaron Li-Aaron changed the title [WIP] add AODS opaque data parsing. Add AODS opaque data parsing. Mar 2, 2026
@Li-Aaron
Li-Aaron marked this pull request as ready for review March 2, 2026 01:51
@jyao1

jyao1 commented Mar 3, 2026

Copy link
Copy Markdown
Member

I recommend to split the commit to 2:

  1. change the existing one, without any AODS - no need to introduce DSP0249.
  2. Add AODS - introduce DSP0249.

Signed-off-by: Aaron Li <aaron.li@intel.com>
@Li-Aaron

Copy link
Copy Markdown
Contributor Author

rebased after #3541 merged.

@ayj ayj left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor typo, see comment for details.

@ayj ayj left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor typo: credetial_id should be credential_id

typedef struct {
    uint8_t aods_id;
    uint8_t presence_extension;
-   uint16_t credetial_id;
+   uint16_t credential_id;
} aods_general_opaque_element_invoke_seap_t;

While this field is a binary uint16_t on the wire and does not impact protocol serialization, fixing the spelling aligns with the DMTF DSP0289 specification terminology (credential_id) and improves maintainability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add new function for opaque data parsing.

3 participants