comp.lang.ada
 help / color / mirror / Atom feed
From: Dirk Heinrichs <dirk.heinrichs@altum.de>
Subject: Re: Should Ada runtime provide special primitives for cryptography?
Date: Wed, 01 Oct 2014 11:16:52 +0200
Date: 2014-10-01T11:16:52+02:00	[thread overview]
Message-ID: <m0ggq2$lgd$1@online.de> (raw)
In-Reply-To: slrnm2nfj4.nrc.lithiumcat@nat.rebma.instinctive.eu

Natasha Kerensikova wrote:

> However, when actually implementing cryptographic stuff, cleverness from
> compiler and optimizer are often enemies. For example, overwriting a
> buffer with zeroes might be optimized out when the buffer is not
> accessed again.

I know this is OT, but shouldn't the buffer be filled with random data 
instead of zeros if it's used for storing encrypted data (to make it harder 
to determine the real length of the encrypted data in case it doesn't fill 
the buffer completely)?

Bye...

	Dirk
-- 
Dirk Heinrichs <dirk.heinrichs@altum.de>
Tel: +49 (0)2471 209385 | Mobil: +49 (0)176 34473913
GPG Public Key CB614542 | Jabber: dirk.heinrichs@altum.de
Tox: heini@toxme.se
Sichere Internetkommunikation: http://www.retroshare.org
Privacy Handbuch: https://www.privacy-handbuch.de



  reply	other threads:[~2014-10-01  9:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-01  8:42 Should Ada runtime provide special primitives for cryptography? Natasha Kerensikova
2014-10-01  9:16 ` Dirk Heinrichs [this message]
2014-10-01  9:24 ` Georg Bauhaus
2014-10-09  3:12   ` Randy Brukardt
2014-10-01 13:22 ` Dennis Lee Bieber
2014-10-01 15:15   ` Brad Moore
2014-10-02  2:13     ` Dennis Lee Bieber
2014-10-01 21:07 ` Florian Weimer
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox