Mercurial > dropbear
comparison libtomcrypt/src/misc/zeromem.c @ 1506:b7cd40b0730a coverity
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 10 Feb 2018 08:27:30 +0800 |
parents | 6e09cb3d1230 |
children |
comparison
equal
deleted
inserted
replaced
1480:546d7dabdf99 | 1506:b7cd40b0730a |
---|---|
19 @param out The destination of the area to zero | 19 @param out The destination of the area to zero |
20 @param outlen The length of the area to zero (octets) | 20 @param outlen The length of the area to zero (octets) |
21 */ | 21 */ |
22 void zeromem(volatile void *out, size_t outlen) | 22 void zeromem(volatile void *out, size_t outlen) |
23 { | 23 { |
24 m_burn(out, outlen); | 24 m_burn((void*)out, outlen); |
25 } | 25 } |
26 | 26 |
27 /* ref: $Format:%D$ */ | 27 /* ref: $Format:%D$ */ |
28 /* git commit: $Format:%H$ */ | 28 /* git commit: $Format:%H$ */ |
29 /* commit time: $Format:%ai$ */ | 29 /* commit time: $Format:%ai$ */ |