qcrypto_cipher_keysize()
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Retrieve the cipher key size
Synopsis:
#include <qcrypto/qcrypto.h>
size_t qcrypto_cipher_keysize(qcrypto_ctx_t *ctx)
Arguments:
- ctx
- The algorithm context object.
Library:
libqcryptoDescription:
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.
Returns:
The key size in bytes.
Page updated: