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

The length of APDU-AR-DO must not be zero #2

Open
wants to merge 1 commit into
base: android-5.0.0_r3-scapi
Choose a base branch
from
Open

The length of APDU-AR-DO must not be zero #2

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented May 27, 2016

If APDU-AR-DO contains a generic access rule indicator, the length of
APDU-AR-DO must be 1. If it contains APDU filter(s), the length must be
the number of APDU filter * 8 according to Global Platform Secure
Element Access Control specification.

If APDU-AR-DO contains a generic access rule indicator, the length of
APDU-AR-DO must be 1. If it contains APDU filter(s), the length must be
the number of APDU filter * 8 according to Global Platform Secure
Element Access Control specification.
@ghost
Copy link
Author

ghost commented Jun 13, 2016

Please refer to the table 6-8 "APDU-AR-DO" of Secure Element Access Control.

The specification says that the length of APDU-AR-DO is (n * 8) if it contains one or more APDU filter(s). That means that the minimum number of n must be 1, so the length value 0 shall be treated as an invalid data.

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.

0 participants