From d29a4de26d0e3f31f467bcc9167b9758fad774f8 Mon Sep 17 00:00:00 2001
From: Jakob Unterwurzacher
Date: Sun, 17 Sep 2017 11:57:16 +0200
Subject: Update both forward and reverse mode crypto docs
They were written before HKDF was introduced.
Improve graphics as well
---
docs/img/reverse-derivePathIV.svg | 344 ++++++++++++++++++++++++--------------
1 file changed, 221 insertions(+), 123 deletions(-)
(limited to 'docs/img/reverse-derivePathIV.svg')
diff --git a/docs/img/reverse-derivePathIV.svg b/docs/img/reverse-derivePathIV.svg
index 622cec1..65e8e0a 100644
--- a/docs/img/reverse-derivePathIV.svg
+++ b/docs/img/reverse-derivePathIV.svg
@@ -9,12 +9,12 @@
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="144.88924mm"
- height="40.864796mm"
- viewBox="0 0 513.38705 144.79651"
+ width="146.88574mm"
+ height="61.163269mm"
+ viewBox="0 0 520.46128 216.72024"
id="svg2"
version="1.1"
- inkscape:version="0.91 r13725"
+ inkscape:version="0.92+devel unknown"
sodipodi:docname="reverse-derivePathIV.svg">
@@ -28,8 +28,8 @@
inkscape:isstock="true">
@@ -43,8 +43,8 @@
inkscape:isstock="true">
@@ -58,8 +58,8 @@
inkscape:isstock="true">
@@ -73,8 +73,8 @@
inkscape:isstock="true">
@@ -88,8 +88,8 @@
inkscape:isstock="true">
@@ -103,11 +103,43 @@
inkscape:isstock="true">
+
+
+
+
+
+
+ inkscape:snap-page="false"
+ inkscape:document-rotation="0">
+ originx="-189.45444"
+ originy="-752.75882" />
@@ -162,201 +195,189 @@
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
- transform="translate(-187.87518,-173.18251)">
-
-
-
-
+ transform="translate(-189.45445,-82.883014)">
+
+
+
+
+
+
+
+
-
+ y="272.83463"
+ style="font-size:60px;line-height:1.25">
SHA256(path + \0 + )
-
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:15.00295734px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:sans-serif;text-align:end;letter-spacing:0px;text-anchor:end">SHA256(path + \0 +
TruncateTruncateto 128 bits
derivePathIV:
- "DIRIV""DIRIV""FILEID""BLOCK0IV"
+ y="262.20465"
+ style="font-size:10px;line-height:1.25">
DirIVDirIVFileIDBlock0IV
+ id="flowPara5263"
+ style="font-size:10px;line-height:1.25"> Plaintext path
+
+ File name encryption
+
+
+
+ encryptedpath
+
+ )
+
--
cgit v1.2.3