cbcMode is an interface for block ciphers using cipher block chaining.
| 349 | |
| 350 | // cbcMode is an interface for block ciphers using cipher block chaining. |
| 351 | type cbcMode interface { |
| 352 | cipher.BlockMode |
| 353 | SetIV([]byte) |
| 354 | } |
| 355 | |
| 356 | // decrypt authenticates and decrypts the record if protection is active at |
| 357 | // this stage. The returned plaintext might overlap with the input. |