Home | History | Annotate | Download | only in libtomcrypt

Lines Matching refs:blocks

776 This mode is very weak since it allows people to swap blocks and perform replay attacks if the same key is used more
808 to encrypt whole blocks at a time. However, the library will buffer data allowing the user to encrypt or decrypt partial
809 blocks without a delay. When this mode is first setup it will initially encrypt the initial vector as required.
819 buffer the output which will allow you to encrypt or decrypt partial blocks without delay.
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
843 The more sane way to deal with partial blocks is to pad them with zeroes, and then use CBC normally.
916 To decrypt in either mode, perform the setup like before (recall you have to fetch the IV value you used), and use the decrypt routine on all of the blocks.
1072 of 16. The LRW code uses a fast tweak update such that consecutive blocks are encrypted faster than if random seeking where used.
1840 in bytes, while \textit{blocksize} is the size of blocks the hash expects to the compression function. Technically, this detail is not important
5263 The simplest precaution is to make sure you process all data in power of two blocks and handle \textit{remainder} at the end. e.g. If you are
5264 CTR'ing a long stream process it in blocks of (say) four kilobytes and handle any remaining incomplete blocks at the end of the stream.
5438 @param blocks The number of complete blocks to process
5444 unsigned long blocks,
5450 @param blocks The number of complete blocks to process
5456 unsigned long blocks,
5462 @param blocks The number of complete blocks to process
5469 unsigned long blocks,
5476 @param blocks The number of complete blocks to process
5483 unsigned long blocks,
5490 @param blocks The number of complete blocks to process
5498 unsigned long blocks,
5506 @param blocks The number of complete blocks to process
5514 unsigned long blocks,
5522 @param blocks The number of complete blocks to process
5530 unsigned long blocks,
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
5678 through the accel\_ecb\_encrypt and accel\_ecb\_decrypt pointers. The \textit{blocks} count is the number of complete blocks to process.
5682 The \textit{blocks} value is the number of complete blocks to process. The \textit{IV} is the CBC initial vector. It is an input upon calling this function and must be
5687 The \textit{blocks} value is the number of complete blocks to process. The \textit{IV} is the CTR counter vector. It is an input upon calling this function and must be
5700 The \textit{CTR pad} is empty when a multiple (including zero) blocks of text have been processed. That is, if you pass in seven bytes to AES--CTR mode you would have to
5704 The accelerator will only be used to encrypt whole blocks. Partial blocks are always handled in software.
5707 These functions are meant for accelerated LRW. They process blocks of input in lengths of multiples of 16 octets. They must accept the \textit{IV} and \textit{tweak}
5856 to be able to process multiple blocks per MAC then you will have to simply provide a process() callback and use hmac\_memory() as provided in LibTomCrypt.