search for: zeroize

Displaying 20 results from an estimated 27 matches for "zeroize".

Did you mean: zerosize
2014 Jan 30
2
[PATCH 04/05] utils/mkdiskimage.in: New option -S to sync zeroizing after each cylinder and to issue pacifier messages
...| print STDERR " -4 use partition entry 4 (standard for zipdisks)\n"; print STDERR " -i specify the MBR ID\n"; print STDERR " -s output a sparse file (don't allocate all blocks)\n"; + print STDERR " -S sync after each zeroized cylinder and show count\n"; exit 1; } @@ -218,12 +219,24 @@ if ($opt{'s'}) { } else { $track = "\0" x (512*$s); + $show_pacifier = $opt{'S'}; + # Print fractional track print OUTPUT "\0" x (512 * ($s-1)); for ( $i = 1 ; $...
2014 Jan 30
2
[PATCH 02/05] utils/mkdiskimage.in: With option -s: Avoid zeroizing the partition even if truncate() failed
utils/mkdiskimage.in: With option -s: Avoid zeroizing the partition even if truncate() failed. --- utils/mkdiskimage_patched_01.in 2014-01-30 20:43:02.000000000 +0100 +++ utils/mkdiskimage.in 2014-01-30 20:45:09.000000000 +0100 @@ -217,8 +217,11 @@ print OUTPUT "\x55\xaa"; $totalsize = $c*$h*$s; $tracks = $c*$h; -# If -s is given, try to simply use truncate... -unless
2014 Jan 30
1
[PATCH] Mending proposals for mkdiskimage
...| print STDERR " -4 use partition entry 4 (standard for zipdisks)\n"; print STDERR " -i specify the MBR ID\n"; print STDERR " -s output a sparse file (don't allocate all blocks)\n"; + print STDERR " -S sync after each zeroized cylinder and show count\n"; exit 1; } @@ -217,16 +216,41 @@ print OUTPUT "\x55\xaa"; $totalsize = $c*$h*$s; $tracks = $c*$h; -# If -s is given, try to simply use truncate... -unless ($opt{'s'} && truncate(OUTPUT, $totalsize)) { +# If -s is given, simpl...
2014 Jan 23
4
[PATCH] Proposal for a pacifier option with mkdiskimage
Hi, i too played with mkdiskimage in order to get more Linux examples. When i applied it to a real 2 GB stick with write speed 4 MB/s i had enough time to add some pacifier code to the big zeroizer loop. (-s does not prevent zeroizing on block device. Probably because truncate() fails.) My pacifier is combined with what Perl advised me when i tried "fsync(OUTPUT);". Of course this slows down operation on regular files substantially. But otherwise there is on USB sticks a super fas...
2014 Jul 10
4
[PATCH 1/5] utils/mkdiskimage.in: Option -s caused freshly created image files to be too small by a factor of 512.
--- utils/mkdiskimage.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/mkdiskimage.in b/utils/mkdiskimage.in index 533193a..a95a077 100644 --- a/utils/mkdiskimage.in +++ b/utils/mkdiskimage.in @@ -218,7 +218,7 @@ $totalsize = $c*$h*$s; $tracks = $c*$h; # If -s is given, try to simply use truncate... -unless ($opt{'s'} && truncate(OUTPUT,
2014 Jan 30
5
[PATCH 00/05] Mending for mkdiskimage
...te state is tested for its designated purpose only. The final state after applying all patches is tested with various options, suitable and unsuitable file types of various sizes. ---------------------------------------------------------------- I will think about another patch for an option which zeroizes the whole device even if the partition size is given explicitely and matches a cylinder end. (mkdiskimage_05.patch only zeroizes a known incomplete cylinder after the partition end.) Although mkdiskimage should be suitable now for USB sticks on unix-like systems beyond Linux, i still have no clue...
2014 Jul 10
2
[PATCH 00/05] Mending for mkdiskimage
On 07/10/2014 12:18 PM, Geert Stappers wrote: >> >> following is a series of patches derived from my proposed diff. >> Based on syslinux-6.03-pre1, but should also apply down to 4.xx. >> >> I hope to have imitated the changelog style sufficiently. >> Mine are a bit longer than usual with patches in the archive, i fear. > > Yes, they are long. > There
2013 Mar 13
6
Syslinux 5.10pre1 - Failed to load COM32 file .c32
Hello everyone, Since I have some some adventures in UEFI PXE booting ahead I tried to go with the latest syslinux development snapshot in this case 5.10pre1. But I already fail when booting from CD with Failed to load COM32 file .c32 I am a bit perplex since no name of COM32 files is given. I am trying to trace down the issue as good as I can. COM32 files present are:
2013 Jun 17
3
[LLVMdev] [cfe-dev] [RFC] add Function Attribute to disable optimization
On Mon, Jun 17, 2013 at 10:29 AM, Jeffrey Walton <noloader at gmail.com> wrote: > > > First is to ensure dead-writes are not removed. For example, a > function that zeroizes or wipes memory is subject to removal during > optimization. I often have to look at program's disassembly to ensure > the memset is not removed by the optimizer. > Appropriate use of `volatile` is probably sufficient for this use case. -- Sean Silva -------------- next part -------...
2014 Jul 11
0
[PATCH 00/05] Mending for mkdiskimage
Hi, me: > >> I hope to have imitated the changelog style sufficiently. > >> Mine are a bit longer than usual with patches in the archive, i fear. Geert Stappers: > > Yes, they are long. H. Peter Anvin: > There seems to be no patch descriptions at all, which would really help > long-term maintainability. It is a mid-term while ago since i proposed these patches.
2013 Jun 17
0
[LLVMdev] [cfe-dev] [RFC] add Function Attribute to disable optimization
On Mon, Jun 17, 2013 at 6:23 PM, Sean Silva <silvas at purdue.edu> wrote: > On Mon, Jun 17, 2013 at 10:29 AM, Jeffrey Walton <noloader at gmail.com> wrote: >> First is to ensure dead-writes are not removed. For example, a >> function that zeroizes or wipes memory is subject to removal during >> optimization. I often have to look at program's disassembly to ensure >> the memset is not removed by the optimizer. > > Appropriate use of `volatile` is probably sufficient for this use case. That brings up a good point. As I u...
2013 Jun 17
0
[LLVMdev] [cfe-dev] [RFC] add Function Attribute to disable optimization
...ses our users' primary use-case without introducing the > complexity of full per-function optimization level control at this time. Unlike the cited use case, I encounter two others in the field during code reviews. First is to ensure dead-writes are not removed. For example, a function that zeroizes or wipes memory is subject to removal during optimization. I often have to look at program's disassembly to ensure the memset is not removed by the optimizer. Second is to ensure that questionable code (undefined behavior) is not removed. I see this most often in overflow checks when the prog...
2014 Jan 27
0
[PATCH] Proposal for a pacifier option with mkdiskimage
On 01/23/2014 08:47 AM, Thomas Schmitt wrote: > Hi, > > i too played with mkdiskimage in order to get more Linux examples. > > When i applied it to a real 2 GB stick with write speed 4 MB/s > i had enough time to add some pacifier code to the big zeroizer > loop. (-s does not prevent zeroizing on block device. Probably > because truncate() fails.) > Yes, we should probably fix that. The tool was originally designed for images, not for hardware devices, and it doesn't make much sense to zero the whole hardware device like that. -hp...
2014 Jul 10
0
[PATCH 00/05] Mending for mkdiskimage
...ignated purpose only. > The final state after applying all patches is tested with various > options, suitable and unsuitable file types of various sizes. > > ---------------------------------------------------------------- > > I will think about another patch for an option which zeroizes > the whole device even if the partition size is given explicitely > and matches a cylinder end. (mkdiskimage_05.patch only zeroizes > a known incomplete cylinder after the partition end.) > > Although mkdiskimage should be suitable now for USB sticks > on unix-like systems beyo...
2014 Jan 28
3
[PATCH] Proposal for a pacifier option with mkdiskimage
Hi, me: > > [mkdiskimage] -s does not prevent zeroizing on block device. Probably > > because truncate() fails. hpa: > Yes, we should probably fix that. The tool was originally designed for > images, not for hardware devices, and it doesn't make much sense to zero > the whole hardware device like that. Maybe for privacy reasons ? But indeed: -s should skip zeroizing,
2016 Dec 01
1
[PATCH v4 1/1] crypto: add virtio-crypto driver
...; > > > > Are there any rules on handling key material in the kernel? This buffer > > is just kfreed later. Do you need to zero it out before freeing it? > > > Good questions. For kernel crypto core, each cipher request should be freed > by skcipher_request_free(): zeroize and free request data structure. > > I need to use kzfree() for key as well. I'll also check other stuffs. Thanks. > > > > + > > > + spin_lock(&vcrypto->ctrl_lock); > > > > The QAT accelerator driver doesn't spin while talking to the device...
2016 Dec 01
1
[PATCH v4 1/1] crypto: add virtio-crypto driver
...; > > > > Are there any rules on handling key material in the kernel? This buffer > > is just kfreed later. Do you need to zero it out before freeing it? > > > Good questions. For kernel crypto core, each cipher request should be freed > by skcipher_request_free(): zeroize and free request data structure. > > I need to use kzfree() for key as well. I'll also check other stuffs. Thanks. > > > > + > > > + spin_lock(&vcrypto->ctrl_lock); > > > > The QAT accelerator driver doesn't spin while talking to the device...
2009 Aug 16
3
llcon software using CELT
Hi all, I am the developer of the llcon software (llcon.sf.net) which is a software making it possible for musicians to play in real-time over the internet. Up to now I have used ADPCM or no audio coding. Gregory Maxwell was pointing me to the great CELT project. Using CELT has the advantage to be able to use higher sample rates, getting lower code rate and better error concealment. I have
2006 Jul 09
2
filters
...is good, until i want to reset the session to zero; i want to reset the session when a certain params variable is equal to zero - - i have a params[:question_number] in the action ( the uri looks like www.localhost:3000/polls/questioniere/1?question_number=0) so i decided to run a before_filter :zeroize_point_if_start_questioniere where i defined it def.. if params[:question_number] == 0 @session[:aquired_points] = 0 end end it didn''t work. i checked to see if the before_filter was running, and it was(i put a false in there, and the page wasn''t rendered) and i also check...
2016 Nov 30
3
[PATCH v4 1/1] crypto: add virtio-crypto driver
On Tue, Nov 29, 2016 at 08:48:14PM +0800, Gonglei wrote: > diff --git a/drivers/crypto/virtio/virtio_crypto_algs.c b/drivers/crypto/virtio/virtio_crypto_algs.c > new file mode 100644 > index 0000000..08b077f > --- /dev/null > +++ b/drivers/crypto/virtio/virtio_crypto_algs.c > @@ -0,0 +1,518 @@ > + /* Algorithms supported by virtio crypto device > + * > + * Authors: