From a109cc26c066e4bbd72dd69dc0a5db05be67491e Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Thu, 21 Feb 2019 16:24:05 +0100 Subject: [PATCH] README: swap ENCRDATA and TAG as introduced in previous commit --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 537e9157d7..f44352a283 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,11 @@ The format of public entries has remained unchanged, that is: Private values are used to store storage-specific information and cannot be directly accessed through the storage interface. Protected entries have the following new format: -| Data | KEY | APP | LEN | IV | ENCRDATA | TAG | -|----------------|-----|-----|-----|----|----------|-----| -| Length (bytes) | 1 | 1 | 2 | 12 | LEN - 28 | 16 | +| Data | KEY | APP | LEN | IV | TAG | ENCRDATA | +|----------------|-----|-----|-----|----|-----|----------| +| Length (bytes) | 1 | 1 | 2 | 12 | 16 | LEN - 28 | -The LEN value thus indicates the total length of IV, ENCRDATA and TAG. +The LEN value thus indicates the total length of IV, TAG and ENCRDATA. The random salt (32 bits), EDEK (256 bits), ESAK (128 bits) and PVC (64 bits) is stored in a single entry under APP=0, KEY=2: