EVP_CIPHER_key_length function

  1. @RecordUse.new()
  2. @Native<UnsignedInt Function(Pointer<EVP_CIPHER>)>(ffi.Pointer<EVP_CIPHER>)>(symbol: 'bssl_dart_EVP_CIPHER_key_length')
int EVP_CIPHER_key_length(
  1. Pointer<EVP_CIPHER> cipher
)

EVP_CIPHER_key_length returns the key size, in bytes, for cipher. If cipher can take a variable key length then this function returns the default key length and EVP_CIPHER_flags will return a value with EVP_CIPH_VARIABLE_LENGTH set.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.UnsignedInt Function(ffi.Pointer<EVP_CIPHER>)>(
  symbol: 'bssl_dart_EVP_CIPHER_key_length',
)
external int EVP_CIPHER_key_length(
  ffi.Pointer<EVP_CIPHER> cipher,
);