diff options
author | David Zeuthen <zeuthen@google.com> | 2020-02-13 15:24:09 -0500 |
---|---|---|
committer | David Zeuthen <zeuthen@google.com> | 2020-02-13 15:24:09 -0500 |
commit | e8a6bffec0c965393ad414aec02854102de7d13c (patch) | |
tree | 07c7255ed00d5f4ebb78abba6376db70847fed90 /opengl/java/javax | |
parent | ea8483c0f5fa619d1aaa54957f1bc3b7fa9caa89 (diff) |
Update counters for session encryption to start at 1.
The DIS version of 18013-5 now specifically says
The first encryption with a key shall use a counter value of 1. For each
following encryption the counter value shall be increased by 1.
in section '9.2.1.4 Mechanism". The previous version said
The counter value is an unsigned integer, which starts at 0 for both
the mDL and the mDL Reader. For each encryption the counter value shall
be increased by 1.
which for some strange reason was interpreted by someone to mean that
counters should start at 1.
Update our implementation to use 1 as now called for by the standard.
Bug: 111446262
Test: atest android.security.identity.cts
Change-Id: I09d1216713d57b54036e4f9aa6677dfa5713133c
Diffstat (limited to 'opengl/java/javax')
0 files changed, 0 insertions, 0 deletions