From 9b93a54777343893407e170456e56ec3a5324288 Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Sat, 16 Sep 2017 22:52:27 +0100 Subject: [PATCH] . --- Technology | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Technology b/Technology index 3acaa6b..7441665 100644 --- a/Technology +++ b/Technology @@ -91,6 +91,18 @@ virtual machine, since only the required libraries are linked into the virtual machine image. By avoiding superfluous code we decrease the attack surface immensly. +As example, the lines of code of the [Bitcoin PiƱata](/Projects/Pinata) compared +to a Linux and OpenSSL based one: + + | Linux | MirageOS +-- | -- | -- +Kernel | 1600 | 48 +Runtime | 689 | 25 +Crypto | 230 | 23 +TLS | 41 | 6 +-- | -- | -- +Total | 2560 | 102 + TODO: Example: lines of code / binary size fuer zb dns server / dhcp server The choice of programming language avoids several attack vectors. Immutable data