crypto_cipher_blocksize
Prev | Single Block Cipher API | Next

## Name

crypto_cipher_blocksize — obtain block size for cipher

## Synopsis

`unsigned int crypto_cipher_blocksize (` | struct crypto_cipher * tfm`)`;

## Arguments

`tfm`

  cipher handle

## Description

The block size for the single block cipher referenced with the cipher handle tfm is returned. The caller may use that information to allocate appropriate memory for the data returned by the encryption or decryption operation

## Return

block size of cipher

Prev | Up | Next
crypto_has_cipher | Home | crypto_cipher_setkey