fixup 2
This commit is contained in:
@@ -227,35 +227,28 @@ The unencrypted data in the AES block contains the following:
|
|||||||
{% highlight lang='dataspec' %}
|
{% highlight lang='dataspec' %}
|
||||||
tag count:
|
tag count:
|
||||||
2-byte `Integer`, 0-200
|
2-byte `Integer`, 0-200
|
||||||
{%- endtrans %}
|
|
||||||
|
|
||||||
Session Tags:
|
Session Tags:
|
||||||
That many 32-byte `SessionTag`s
|
That many 32-byte `SessionTag`s
|
||||||
{%- endtrans %}
|
|
||||||
|
|
||||||
payload size:
|
payload size:
|
||||||
4-byte `Integer`
|
4-byte `Integer`
|
||||||
{%- endtrans %}
|
|
||||||
|
|
||||||
Payload Hash:
|
Payload Hash:
|
||||||
The 32-byte SHA256 `Hash` of the payload
|
The 32-byte SHA256 `Hash` of the payload
|
||||||
{%- endtrans %}
|
|
||||||
|
|
||||||
flag: {% trans -%}
|
flag:
|
||||||
A one-byte value. Normally == 0. If == 0x01, a Session Key follows
|
A one-byte value. Normally == 0. If == 0x01, a Session Key follows
|
||||||
{%- endtrans %}
|
|
||||||
|
|
||||||
New Session Key:
|
New Session Key:
|
||||||
A 32-byte `SessionKey`,
|
A 32-byte `SessionKey`,
|
||||||
to replace the old key, and is only present if preceding flag is 0x01
|
to replace the old key, and is only present if preceding flag is 0x01
|
||||||
{%- endtrans %}
|
|
||||||
|
|
||||||
Payload: {% trans %}the data{% endtrans %}
|
Payload: the data
|
||||||
|
|
||||||
Padding: {% trans -%}
|
Padding:
|
||||||
Random data to a multiple of 16 bytes for the total length.
|
Random data to a multiple of 16 bytes for the total length.
|
||||||
May contain more than the minimum required padding.
|
May contain more than the minimum required padding.
|
||||||
{%- endtrans %}
|
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
{% trans %}Minimum length: 48 bytes{% endtrans %}
|
{% trans %}Minimum length: 48 bytes{% endtrans %}
|
||||||
@@ -317,9 +310,8 @@ as follows:
|
|||||||
Session Tag:
|
Session Tag:
|
||||||
A 32-byte `SessionTag`
|
A 32-byte `SessionTag`
|
||||||
previously delivered in an AES block
|
previously delivered in an AES block
|
||||||
{%- endtrans %}
|
|
||||||
|
|
||||||
AES Encrypyted Block: {% trans %}As specified <a href="#aes">above</a>.{% endtrans %}
|
AES Encrypyted Block: As specified above.
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user