Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PER ObjectIdentifier, correct Alignment for Choice index encoding #202

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

Nicceboy
Copy link
Contributor

Fixes #201

PER implementation for ObjectIdentifier is now the same than in asn1tools PER and in OER here, it should include only content objects of DER encoding and not the tag or length.

There are also some wild macros to get tag information for choice before encoding.

@XAMPPRocky
Copy link
Collaborator

Thank you for your PR!

@XAMPPRocky XAMPPRocky merged commit 0854bce into librasn:main Nov 14, 2023
@github-actions github-actions bot mentioned this pull request Nov 14, 2023
@Nicceboy Nicceboy deleted the per-aper-fixes branch November 14, 2023 16:34
This was referenced Nov 23, 2023
This was referenced Dec 4, 2023
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.

Unable to round-trip with APER
2 participants