#include "beecrypt/beecrypt.h"

Go to the source code of this file.
Functions | |
| BEECRYPTAPI int | blockEncryptECB (const blockCipher *bc, blockCipherParam *bp, uint32_t *dst, const uint32_t *src, unsigned int nblocks) |
| This function encrypts a number of data blocks in Electronic Code Book mode. | |
| BEECRYPTAPI int | blockDecryptECB (const blockCipher *bc, blockCipherParam *bp, uint32_t *dst, const uint32_t *src, unsigned int nblocks) |
| This function decrypts a number of data blocks in Electronic Code Book mode. | |
| BEECRYPTAPI int | blockEncryptCBC (const blockCipher *bc, blockCipherParam *bp, uint32_t *dst, const uint32_t *src, unsigned int nblocks) |
| This function encrypts a number of data blocks in Cipher Block Chaining mode. | |
| BEECRYPTAPI int | blockDecryptCBC (const blockCipher *bc, blockCipherParam *bp, uint32_t *dst, const uint32_t *src, unsigned int nblocks) |
| This function decrypts a number of data blocks in Cipher Block Chaining mode. | |
| BEECRYPTAPI int | blockEncryptCTR (const blockCipher *bc, blockCipherParam *bp, uint32_t *dst, const uint32_t *src, unsigned int nblocks) |
| BEECRYPTAPI int | blockDecryptCTR (const blockCipher *bc, blockCipherParam *bp, uint32_t *dst, const uint32_t *src, unsigned int nblocks) |
| int blockDecryptCBC | ( | const blockCipher * | bc, | |
| blockCipherParam * | bp, | |||
| uint32_t * | dst, | |||
| const uint32_t * | src, | |||
| unsigned int | nblocks | |||
| ) |
This function decrypts a number of data blocks in Cipher Block Chaining mode.
| bc | The blockcipher. | |
| bp | The cipher's parameter block. | |
| dst | The cleartext data; should be aligned on a 32-bit boundary. | |
| src | The ciphertext data; should be aligned on a 32-bit boundary. | |
| nblocks | The number of blocks to be decrypted. |
| 0 | on success. |
| BEECRYPTAPI int blockDecryptCTR | ( | const blockCipher * | bc, | |
| blockCipherParam * | bp, | |||
| uint32_t * | dst, | |||
| const uint32_t * | src, | |||
| unsigned int | nblocks | |||
| ) |
| int blockDecryptECB | ( | const blockCipher * | bc, | |
| blockCipherParam * | bp, | |||
| uint32_t * | dst, | |||
| const uint32_t * | src, | |||
| unsigned int | nblocks | |||
| ) |
This function decrypts a number of data blocks in Electronic Code Book mode.
| bc | The blockcipher. | |
| bp | The cipher's parameter block. | |
| dst | The cleartext data; should be aligned on a 32-bit boundary. | |
| src | The ciphertext data; should be aligned on a 32-bit boundary. | |
| nblocks | The number of blocks to be decrypted. |
| 0 | on success. |
| int blockEncryptCBC | ( | const blockCipher * | bc, | |
| blockCipherParam * | bp, | |||
| uint32_t * | dst, | |||
| const uint32_t * | src, | |||
| unsigned int | nblocks | |||
| ) |
This function encrypts a number of data blocks in Cipher Block Chaining mode.
| bc | The blockcipher. | |
| bp | The cipher's parameter block. | |
| dst | The ciphertext data; should be aligned on a 32-bit boundary. | |
| src | The cleartext data; should be aligned on a 32-bit boundary. | |
| nblocks | The number of blocks to be encrypted. |
| 0 | on success. |
| BEECRYPTAPI int blockEncryptCTR | ( | const blockCipher * | bc, | |
| blockCipherParam * | bp, | |||
| uint32_t * | dst, | |||
| const uint32_t * | src, | |||
| unsigned int | nblocks | |||
| ) |
| int blockEncryptECB | ( | const blockCipher * | bc, | |
| blockCipherParam * | bp, | |||
| uint32_t * | dst, | |||
| const uint32_t * | src, | |||
| unsigned int | nblocks | |||
| ) |
This function encrypts a number of data blocks in Electronic Code Book mode.
| bc | The blockcipher. | |
| bp | The cipher's parameter block. | |
| dst | The ciphertext data; should be aligned on a 32-bit boundary. | |
| src | The cleartext data; should be aligned on a 32-bit boundary. | |
| nblocks | The number of blocks to be encrypted. |
| 0 | on success. |
1.5.8