Package Cryptodome :: Package Util :: Module _raw_api

Module _raw_api

Classes
  VoidPointer
Model a newly allocated pointer to void
  SmartPointer
Class to hold a non-managed piece of memory
Functions
 
load_lib(name, cdecl)
 
get_c_string(c_string)
 
get_raw_buffer(buf)
 
load_pycryptodome_raw_lib(name, cdecl)
Load a shared library and return a handle to it.
 
expect_byte_string(data)
Variables
  ffi = FFI()
  null_pointer = None
  backend = 'ctypes'
  __package__ = 'Cryptodome.Util'
Function Details

load_pycryptodome_raw_lib(name, cdecl)

 

Load a shared library and return a handle to it.

@name, the name of the library expressed as a PyCryptodome module,
for instance Cryptodome.Cipher._raw_cbc.

@cdecl, the C function declarations.