cbcMode is an interface for block ciphers using cipher block chaining.
| 338 | |
| 339 | // cbcMode is an interface for block ciphers using cipher block chaining. |
| 340 | type cbcMode interface { |
| 341 | cipher.BlockMode |
| 342 | SetIV([]byte) |
| 343 | } |
| 344 | |
| 345 | // decrypt authenticates and decrypts the record if protection is active at |
| 346 | // this stage. The returned plaintext might overlap with the input. |