| 622 | } |
| 623 | |
| 624 | void buffer::ptr::zero(bool crc_reset) |
| 625 | { |
| 626 | if (crc_reset) |
| 627 | _raw->invalidate_crc(); |
| 628 | // FIPS zeroization audit 20191115: this memset is not security related. |
| 629 | memset(c_str(), 0, _len); |
| 630 | } |
| 631 | |
| 632 | void buffer::ptr::zero(unsigned o, unsigned l, bool crc_reset) |
| 633 | { |
no test coverage detected