]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - USAGE.blockciphers
changed arcfour api
[avr-crypto-lib.git] / USAGE.blockciphers
index 688de9f1777b9a1dfee7df1fe0d41a70152a6603..54fb7833c7e451ddede0c86e3d30bd81eb38f2f5 100644 (file)
@@ -66,8 +66,8 @@ email:  daniel.otte@rub.de
 3.2. *_init function
  The *_init function generally takes a pointer to the key as first parameter.
  For ciphers where the keysize is not fixed the second parameter gives the 
- keysize (in bits regularly) and the last parameter points to a context variable
- to fill.
+ keysize (in bits regularly) and the last parameter points to the context
variable to fill.
  For some ciphers there are additonal parameters like the number of rounds, 
  these parameters generally occur before the context pointer.
  
@@ -208,9 +208,9 @@ email:  daniel.otte@rub.de
  used, the ciphertext does not form the entire input block for the next 
  operation but it is shifted in the input block.
  The resulting cipher is something known as self synchonising stream cipher.
- This means tha a manipulation of a single bit in the ciphertext, will result
- in this bit flipped in th corresponding plaintext but the following block will
be "destroyed" until the cipher "healths" itself, meaning the manipulated 
+ This means that a manipulation of a single bit in the ciphertext will result
+ in this bit flipped in the corresponding plaintext but the following blocks 
will be "destroyed" until the cipher "heald" itself, meaning the manipulated 
  ciphertext block gets shift out of the input block.