EVP_CIPHER_CTX_block_size function

  1. @RecordUse.new()
  2. @Native<UnsignedInt Function(Pointer<EVP_CIPHER_CTX>)>(ffi.Pointer<EVP_CIPHER_CTX>)>(symbol: 'bssl_dart_EVP_CIPHER_CTX_block_size')
int EVP_CIPHER_CTX_block_size(
  1. Pointer<EVP_CIPHER_CTX> ctx
)

EVP_CIPHER_CTX_block_size returns the block size, in bytes, of the cipher underlying ctx, or one if the cipher is a stream cipher. It will crash if no cipher has been configured.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.UnsignedInt Function(ffi.Pointer<EVP_CIPHER_CTX>)>(
  symbol: 'bssl_dart_EVP_CIPHER_CTX_block_size',
)
external int EVP_CIPHER_CTX_block_size(
  ffi.Pointer<EVP_CIPHER_CTX> ctx,
);