1
Digital Signatures for Flows and Multicasts
by Chung Kei Wong and Simon S. Lam in IEEE/ACM Transactions on Networking, August 1999
1 Digital Signatures (Simon S. Lam)
3/8/2017
Digital Signatures for Flows and Multicasts by Chung Kei Wong and - - PowerPoint PPT Presentation
Digital Signatures for Flows and Multicasts by Chung Kei Wong and Simon S. Lam in IEEE/ACM Transactions on Networking , August 1999 Digital Signatures (Simon S. Lam) 1 3/8/2017 1 Digital Signature Examples: RSA, DSA Provide
1
by Chung Kei Wong and Simon S. Lam in IEEE/ACM Transactions on Networking, August 1999
1 Digital Signatures (Simon S. Lam)
3/8/2017
2
signing key ks , verification key kv , message
signature = sign(h(m), ks) verify(signature h(m) k ) = True/False verify(signature, h(m), kv) = True/False
Digital Signatures (Simon S. Lam) 2
3
message-oriented unicast,
flow-oriented e g
flow-oriented, e.g., audio, video, stock quotes multicast, e.g., teleconference, software
real-time generated flows delay-sensitive packet flows
Digital Signatures (Simon S. Lam) 3
4
a flow is sent as a sequence of packets – also, a
each packet is used as soon as it is received
Digital Signatures (Simon S. Lam) 4
5
Packet size (bytes) RSA DSA RSA DSA Signing Verification Rate (packets/sec) 512 78.8 176 2180 128 1024 78.7 175 1960 127 Update: today’s processor speed is much higher but Cisco’s recommended
Digital Signatures (Simon S. Lam) 5
Update: today s processor speed is much higher but Cisco s recommended RSA modulus size is 2048 bits to 4096 bits
6
Each packet contains authentication info for
Reliable delivery required
P1 P2 P3 P4 message digest of
Digital Signatures (Simon S. Lam) 6
digital signature message digest of following packet
7
best-effort delivery, e.g., UDP, IP multicast
different needs/capabilities, e.g., layered video
Actually, packets do not have to belong to the same
Digital Signatures (Simon S. Lam) 7
8
Sign the digest of each block instead of each
Authentication info provided by chaining
P1 P2 P3 P4 P5 P6 P7
Block signature Chaining info Block
Digital Signatures (Simon S. Lam) 8
Block signature Chaining info
9
Digital Signatures (Simon S. Lam) 9
10
verify(D'1 8 , sign(D1 8))
verify(D 1-8 , sign(D1-8))
no verification op for other packets in the
Digital Signatures (Simon S. Lam) 10
11
D1-4 D5-8
1-4 5-8
D1-2 D3-4 D5-6 D7-8
D1 D2 D3 D4 D5 D6 D7 D8
Digital Signatures (Simon S. Lam) 11
12
verify(D'1 8, sign(D1 8))
no verification op for
D'1-4 D5-8 D1-2 D'3-4 D5-6 D7-8
D1 D2 D'3 D4 D5 D6 D7 D8
Digital Signatures (Simon S. Lam) 12
13
Digital Signatures (Simon S. Lam) 13
14
Digital Signatures (Simon S. Lam) 14
15
10.00 der (ms)
tree deg 2 tree deg 4 tree deg 8
1 00 10.00 iver (ms)
tree deg 2 tree deg 4 tree deg 8
0.10 1.00 ng time at send
tree deg 8 star
0.10 1.00 ng time at rece
tree deg 8 star
0.01 2 4 8 16 32 64 128 chaini block size (no. of packets) 0.01 2 4 8 16 32 64 128 chaini block size (no. of packets)
Digital Signatures (Simon S. Lam) 15
16
200 300 erhead )
100 haining ove (bytes
2 4 8 16 32 64 128 block size (no. of packets) ch
( p )
Digital Signatures (Simon S. Lam) 16
17
6000 8000 10000
n rate /sec)
3000 4000 5000
rate /sec)
star tree deg 8 tree deg 4
2000 4000 6000
verification (packets/
1000 2000 3000
signing r (packets/
g tree deg 2 sign-each
2 4 8 16 32 64 128
block size (no. of packets)
2 4 8 16 32 64 128
block size (no. of packets)
Digital Signatures (Simon S. Lam) 17
we recommend degree 2 tree chaining
18
y g g y p delay ≤ T + Tchain + Tsign
Tchain(m1) + Tsign Tchain(m2) + Tsign period T m packets period T m packets time
T should be larger than Tchain + Tsign delay cannot be smaller than 2(T
+ T )
m1 packets m2 packets
Digital Signatures (Simon S. Lam) 18
delay cannot be smaller than 2(Tchain + Tsign )
19
In a group, receivers may have widely different
[Feige, Fiat and Shamir 1986]
Digital Signatures (Simon S. Lam) 19
20
2 = vi 1 mod n
Digital Signatures (Simon S. Lam) 20
21
2 mod n, for i = 1, …, t
bi1 x … x sk bik) mod n
Digital Signatures (Simon S. Lam) 21
22
2 x (v1 bi1 x … x vk bik) mod n
Digital Signatures (Simon S. Lam) 22
23
size of modulus n (or size of primes p and q) value of product kt
Digital Signatures (Simon S. Lam) 23
24
Digital Signatures (Simon S. Lam) 24
25
1986]
Faster signing Faster signing
Faster verification
Adjustable and incremental verification
time
Digital Signatures (Simon S. Lam) 25
time
26
bi1 x … x sk bik) mod n
bi1 x … x sk bik) mod p
bi1 x … x sk bik) mod q
–1 denotes q –1 mod p ,
multiplications in mod p and mod q faster than in
Digital Signatures (Simon S. Lam) 26
27
Digital Signatures (Simon S. Lam) 27
28
bi1 x … x sk bik) mod n
bi1 x … x sk bik)
Digital Signatures (Simon S. Lam) 28
29
basic FFS sv-key sv key crt+sv-key 4-bit+crt+sv-key 5 10 15 8-bit+crt+sv-key
Digital Signatures (Simon S. Lam) 29
30
b i FFS basic FFS sv-key 4-bit+sv-key 8-bit+sv-key 2 4 6 8 10 12
Digital Signatures (Simon S. Lam) 30
31
12
(bits)
R bi
12
bits)
Rabin
5 024
dulus size (
Rabin RSA eFFS(128,1) DSA ElGamal
51 024
ulus size (b
Rabin RSA eFFS(128,1) DSA ElGamal
5000 10000 15000 20000 10
mod signing key size (bytes)
100 200 300 400 500 10
verification key size (bytes) modu
ElGamal
signing key size (bytes)
verification key size (bytes)
private to signer
Digital Signatures (Simon S. Lam) 31
32
12
bits) Rabin
51 4
us size ( RSA eFFS(128,1) DSA
1024
modulu ElGamal
100 200 300
signature size (bytes)
Digital Signatures (Simon S. Lam) 32
33
12 bits)
51 us size (b
1024 modul
20 40 60 80 100 signing time (ms)
Digital Signatures (Simon S. Lam) 33
34
512 bits)
5 4 ulus size (
1024 modu
100 200 300 400 verification time (ms)
Digital Signatures (Simon S. Lam) 34
35
512 bits) 5 4 ulus size (b
Rabin RSA eFFS(128,1)
1024 modu
( )
0.0 0.2 0.4 0.6 0.8 1.0 1.2 verification time (ms)
Digital Signatures (Simon S. Lam) 35
36
512
ze (bits)
Rabin RSA
512
Rabin RSA FFS(128 1)
1024
modulus siz
RSA eFFS(128,1) DSA ElGamal
1024
eFFS(128,1) DSA ElGamal
1000 2000 3000 4000
m signing rate (packets/sec)
2000 4000 6000 8000
verification rate (packets/sec)
Digital Signatures (Simon S. Lam) 36
37
same kt and modulus size ~ same security level
using t > 1 with additional info in signature up to t steps
adjustable and incremental:
Digital Signatures (Simon S. Lam) 37
38
i
(1) compute zi = yi
2 x (v1 bi1 x
bik) mod n for i = 1
(1) compute zi = yi x (v1 i1 x … x vk ik) mod n for i = 1, …, l, (2) verify that the first k x t bits of h(m, z1, x2, …, xt)
j
Digital Signatures (Simon S. Lam) 38
39
2 x (v1 bi1 x … x vk bik) mod n for
Digital Signatures (Simon S. Lam) 39
40
Digital Signatures (Simon S. Lam) 40
41
Digital Signatures (Simon S. Lam) 41
42
much more efficient than sign-each small communication overhead small communication overhead can be used by a sender that signs a large
flow but if they do, verification is also more efficient; else, each receiver has to do a bit more work
most efficient signing compared to RSA, Rabin,
highly efficient verification and comparable to
Digital Signatures (Simon S. Lam) 42
adjustable and incremental verification
43
Digital Signatures (Simon S. Lam) 43