aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lowlevel.txt
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-04-08 18:41:19 +0000
committerlloyd <[email protected]>2011-04-08 18:41:19 +0000
commitcba5b5ce28285751aa4b6cc48362dc002ae9063c (patch)
tree9bc6025338ed7db09d3e4c0918c6bfc134a689db /doc/lowlevel.txt
parent8b543e804375a788ae71d461c0f8cf5d4193fc25 (diff)
More doc updates
Diffstat (limited to 'doc/lowlevel.txt')
-rw-r--r--doc/lowlevel.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/lowlevel.txt b/doc/lowlevel.txt
index d6bf071bc..8b37345d6 100644
--- a/doc/lowlevel.txt
+++ b/doc/lowlevel.txt
@@ -122,33 +122,33 @@ Block ciphers implement the interface ``BlockCipher``, found in
Returns the block size of the cipher in bytes
-.. cpp:function:: void encrypt_n(const byte* in, byte* out, size_t blocks) const
+.. c:function:: void encrypt_n(const byte in[], byte out[], size_t blocks) const
Encrypt ``blocks`` blocks of data, taking the input from ``in`` and
placing the ciphertext in ``out``. The two pointers may be
identical, but should not overlap ranges.
-.. cpp:function:: void encrypt(const byte* in, byte* out) const
+.. c:function:: void encrypt(const byte in[], byte out[]) const
Encrypt a single block, taking the input from ``in`` and placing it
in ``out``.
-.. cpp:function:: void encrypt(byte* block) const
+.. c:function:: void encrypt(byte block[]) const
Identical to ``encrypt(block, block)``.
-.. cpp:function:: void decrypt_n(const byte* in, byte* out, size_t blocks) const
+.. c:function:: void decrypt_n(const byte in[], byte out[], size_t blocks) const
Decrypt ``blocks`` blocks of data, taking the input from ``in`` and
placing the plaintext in ``out``. The two pointers may be identical,
but should not overlap ranges.
-.. cpp:function:: void decrypt(const byte* in, byte* out) const
+.. c:function:: void decrypt(const byte in[], byte out[]) const
Decrypt a single block, taking the input from ``in`` and placing it
in ``out``.
-.. cpp:function:: void decrypt(byte* block) const
+.. c:function:: void decrypt(byte block[]) const
Identical to ``decrypt(block, block)``.