Thread (16 messages) flat view 16 messages, 2 authors, 2016-06-08

Re: [RFC] DRBG: which shall be default?

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2016-06-02 09:42:19

On Thu, Jun 02, 2016 at 11:31:22AM +0200, Stephan Mueller wrote:
The skcipher API, however, wants to encrypt an entire input data stream. That 
means the skcipher API requires the length of the input data stream to 
generate an equally sized output data stream. But that is not what we have 
here -- there is no input data. I.e. the skcipher API invokes the CTR mode for 
the stream cipher and performs the final XOR of the CTR stream with the input 
data.
Just use an input stream of zeros.

Cheers,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help