Updated: October 28, 2024 |
Retrieve the cipher key size
#include <qcrypto/qcrypto.h>
size_t qcrypto_cipher_keysize(qcrypto_ctx_t *ctx)
The value returned is the default size that the algorithm supports. Although some cipher modes may support alternative values, in almost all cases, the default size is recommended. See the documentation for each cipher mode for additional details.
The key size in bytes.