The optimization we propose with S-TGDH (illustrated by the figure 2.12)helps to reduce the number of messages sent during a BK key update process, and also the number of messages sent by each node. As for TGDH, the number of messages sent during a key removal depends on the depth of the considered node. But contrary to TGDH, all the intermediate nodes are not obligatory virtual. Ideally, we have no virtual node. Thus, the average number of sent messages is
hs = E(log2(
By default, the packets maximum size is the same as for all the Ethernet protocols: 1500 bytes. If we consider a transfer that tries to use as many payloads as possible, we got a decrease of 3% of the performance (using a 256 bits length signature). But very often, the packets do not have the maximum size. Thus, the performance decreases come only from the time spent to send the packets. For the WiFi, it takes 250
Another impact of the packet's encryption is the time needed to decrypt it. Fortunately, only the recipient has to decrypt the packet, as the addresses are not encrypted. As we use a symmetric cryptographic process, the deciphering process is quite fast.
+ 1))
We also notice that the number of messages associated to a BK removal process depends on an implementation choice: either we can use a multicast process if the routing protocol allows it, or we can use unicast messages. Depending on this choice, the number of messages sent by the source and the intermediate nodes is quite variable. As it does not change the comparison between TGDH and S-TGDH, we choose to compare the number of BK keys that have to be changed and the average per node.
In order to estimate the algorithm cost of each sub-protocol, we make the assumption that an optimal messages propagation algorithm can be chosen (see previous section). The results are summed up in the tables 2.3 and 2.4.
2.6.2 Algorithms complexity
Group creation
The number of messages sent during the creation process (ie the authentication phase) is
4 . (n - 1)
For the initiator node, the complexity is linked to the problem where to insert a node in the graph.
With the implementation we propose, the complexity is minimal: the maximal cost is obtained if no virtual node is caught during the sub-tree analysis. We then have
h . single
E(log2(i + 1))
Group initiation
In this case, the number of nodes that get a BK message is maximal, since all the leaves send their BK keys. So we have
nleaf = 2Hs-1 =
((2i -2) . BKcost)
+ 1))
((2i - 1) . BKcost
The different algorithm costs are evaluated according to our implementation of S-TGDH. Moreover, the algorithm complexity in S-TGDH is quite the same as in TGDH as the additional checks on S-TGDH only happened on the copath, which makes them fast.
SC (Security_Cost) represents the cost to create the key.
Updating a key
The number of nodes that get a BK message is
(2i - 2)
2.6.3 Authentication overhead
With S-TGDH, all the messages are authenticated. The overhead is produced by the signature attached to each message, which is in fact given by the formula
signature = hash((message)key)
2.6.4 Graphical comparisons
The following graphics illustrate the different results we described in the previous sections and compare them with the one we got for TGDH. We can see that both protocols produce the same cost, but S-TGDH generates less messages and distributes equitably the cost on each node.
messages
Initiator
other nodes
TGDH
3 . (n - 1)
O(n . log2(n))
-
S-TGDH
4 . (n - 1)
O(n . log2(n))
1 challenge check
& n challenges checks
BKmessages cost
Kmessages cost
TGDH creation
BKcost . O(n . log2(n)2)
Kcost . O(n)
TGDH update
BKcost . O(log2(n)2)
Kcost . O(log2(n))
S-TGDH creation
BKcost . O(n2)
Kcost . O(n)
S-TGDH update
BKcost . O(n)
Kcost.O(log2(n))
Next: 2.7 Protocol simulations
Up: 2. Group protocols -
Previous: 2.5 Evaluation of the
Contents
Julien Thomas - http://aispirit.tuxfamily.org