qcrypto_cipher_blocksize()

Retrieve the cipher blocksize

Synopsis:

#include <qcrypto/qcrypto.h>
size_t qcrypto_cipher_blocksize(qcrypto_ctx_t *ctx)

Arguments:

ctx
The algorithm context object.

Library:

libqcrypto

Description:

Use the value that this function returns to determine if the desired cipher algorithm requires the input data to be padded.

Returns:

The cipher blocksize in bytes.