|
static uint32_t | F (mbedtls_blowfish_context *ctx, uint32_t x) |
|
static void | blowfish_enc (mbedtls_blowfish_context *ctx, uint32_t *xl, uint32_t *xr) |
|
static void | blowfish_dec (mbedtls_blowfish_context *ctx, uint32_t *xl, uint32_t *xr) |
|
void | mbedtls_blowfish_init (mbedtls_blowfish_context *ctx) |
| Initialize Blowfish context. More...
|
|
void | mbedtls_blowfish_free (mbedtls_blowfish_context *ctx) |
| Clear Blowfish context. More...
|
|
int | mbedtls_blowfish_setkey (mbedtls_blowfish_context *ctx, const unsigned char *key, unsigned int keybits) |
| Blowfish key schedule. More...
|
|
int | mbedtls_blowfish_crypt_ecb (mbedtls_blowfish_context *ctx, int mode, const unsigned char input[MBEDTLS_BLOWFISH_BLOCKSIZE], unsigned char output[MBEDTLS_BLOWFISH_BLOCKSIZE]) |
| Blowfish-ECB block encryption/decryption. More...
|
|
int | mbedtls_blowfish_crypt_cbc (mbedtls_blowfish_context *ctx, int mode, size_t length, unsigned char iv[MBEDTLS_BLOWFISH_BLOCKSIZE], const unsigned char *input, unsigned char *output) |
| Blowfish-CBC buffer encryption/decryption Length should be a multiple of the block size (8 bytes) More...
|
|
int | mbedtls_blowfish_crypt_cfb64 (mbedtls_blowfish_context *ctx, int mode, size_t length, size_t *iv_off, unsigned char iv[MBEDTLS_BLOWFISH_BLOCKSIZE], const unsigned char *input, unsigned char *output) |
| Blowfish CFB buffer encryption/decryption. More...
|
|
int | mbedtls_blowfish_crypt_ctr (mbedtls_blowfish_context *ctx, size_t length, size_t *nc_off, unsigned char nonce_counter[MBEDTLS_BLOWFISH_BLOCKSIZE], unsigned char stream_block[MBEDTLS_BLOWFISH_BLOCKSIZE], const unsigned char *input, unsigned char *output) |
| Blowfish-CTR buffer encryption/decryption. More...
|
|