In: Computer Science
For CBC mode with DES, if there is an error in C_1, are any blocks beyond P_2 affected when decryption occurs? If instead there is a source error in P_1, how many ciphertext output blocks are affected?
1) For CBC mode with DES, if there is an error in C_1, are any blocks beyond P_2 affected when decryption occurs?
No it will not spread beyond P2 as C1 or any of its part is used beyond P2 as can be seen from the diagram below.(This is in decryption)
Red part indicates where error part travels.
2)
If instead there is a source error in P_1, how many ciphertext output blocks are affected?
Yes all ciphertext blocks will be affected if P1 has some error.As can be seen in the below figure. Red part displays the spread of error.(This is in encryption)