Lines Matching refs:ECB
183 the key setup, ECB decrypt and encrypt and test vector routines. After that all five chaining mode routines
403 LibTomCrypt provides several block ciphers with an ECB block mode interface. It is important to first note that you
404 should never use the ECB modes directly to encrypt data. Instead you should use the ECB functions to make a chaining mode,
405 or use one of the provided chaining modes. All of the ciphers are written as ECB interfaces since it allows the rest of
431 \subsection{ECB Encryption and Decryption}
432 To encrypt or decrypt a block in ECB mode there are these two functions per cipher:
496 An example snippet that encodes a block with Blowfish in ECB mode.
770 \subsubsection{ECB Mode}
771 \index{ECB mode}
772 ECB or Electronic Codebook Mode is the simplest method to use. It is given as:
834 The ECB and CBC modes process blocks of the same size as the cipher at a time. Therefore, they are less flexible than the
840 by encrypting the last ciphertext block in ECB mode, and XOR'ing the output against the last partial block of plaintext. LibTomCrypt does not
841 support this mode directly but it is fairly easy to emulate with a call to the cipher's ecb\_encrypt() callback function.
848 The library provides simple support routines for handling CBC, CTR, CFB, OFB and ECB encoded messages. Assuming the mode
850 use that mode. They have identical setup routines (except CTR and ECB mode):
851 \index{ecb\_start()} \index{cfb\_start()} \index{cbc\_start()} \index{ofb\_start()} \index{ctr\_start()}
872 symmetric_ECB *ecb);
893 \index{ecb\_encrypt()} \index{ecb\_decrypt()} \index{cfb\_encrypt()} \index{cfb\_decrypt()}
906 Where \textit{XXX} is one of $\lbrace ecb, cbc, ctr, cfb, ofb \rbrace$.
913 In the ECB and CBC cases, \textit{len} must be a multiple of the ciphers block size. In the CBC case, you must manually pad the end of your message (either with
947 \index{ecb\_done()} \index{cbc\_done()}\index{cfb\_done()}\index{ofb\_done()} \index{ctr\_done()}
1034 security problems of ECB mode while not increasing the storage requirements. It is used much like any other chaining mode except with two key differences.
5435 /** Accelerated ECB encryption
5447 /** Accelerated ECB decryption
5651 To initialize a cipher (for ECB mode) the function setup() was provided. It accepts an array of key octets \textit{key} of length \textit{keylen} octets. The user
5658 \subsection{Single block ECB}
5659 To process a single block in ECB mode the ecb\_encrypt() and ecb\_decrypt() functions were provided. The plaintext and ciphertext buffers are allowed to overlap so you
5674 it is not supported. In those cases the software defaults are used (using the single ECB block routines).
5676 \subsubsection{Accelerated ECB}
5677 These two functions are meant for cases where a user wants to encrypt (in ECB mode no less) an array of blocks. These functions are accessed