EVP_CIPHER_CTX_max_next_update function

  1. @RecordUse.new()
  2. @Native<Size Function(Pointer<EVP_CIPHER_CTX>, Size)>(ffi.Pointer<EVP_CIPHER_CTX>, ffi.Size)>(symbol: 'bssl_dart_EVP_CIPHER_CTX_max_next_update')
int EVP_CIPHER_CTX_max_next_update(
  1. Pointer<EVP_CIPHER_CTX> ctx,
  2. int in_len
)

EVP_CIPHER_CTX_max_next_update returns the maximum number of bytes that may be output from ctx by a call to EVP_CipherUpdate_ex with in_len bytes of input. This takes the current state of ctx into account, so the output will change as bytes are passed in and out.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Size Function(ffi.Pointer<EVP_CIPHER_CTX>, ffi.Size)>(
  symbol: 'bssl_dart_EVP_CIPHER_CTX_max_next_update',
)
external int EVP_CIPHER_CTX_max_next_update(
  ffi.Pointer<EVP_CIPHER_CTX> ctx,
  int in_len,
);