Rizin
unix-like reverse engineering framework and cli tools
rz_crypto_plugin_t Struct Reference

#include <rz_crypto.h>

Public Attributes

const char * name
 
const char * license
 
const char * author
 
int(* get_key_size )(RzCrypto *cry)
 
bool(* set_iv )(RzCrypto *cry, const ut8 *iv, int ivlen)
 
bool(* set_key )(RzCrypto *cry, const ut8 *key, int keylen, int mode, int direction)
 
bool(* update )(RzCrypto *cry, const ut8 *buf, int len)
 
bool(* final )(RzCrypto *cry, const ut8 *buf, int len)
 
bool(* use )(const char *algo)
 
bool(* init )(RzCrypto *cry)
 
bool(* fini )(RzCrypto *cry)
 

Detailed Description

Definition at line 40 of file rz_crypto.h.

Member Data Documentation

◆ author

const char* rz_crypto_plugin_t::author

Definition at line 43 of file rz_crypto.h.

Referenced by rz_hash_show_algorithms().

◆ final

bool(* rz_crypto_plugin_t::final) (RzCrypto *cry, const ut8 *buf, int len)

Definition at line 48 of file rz_crypto.h.

Referenced by rz_crypto_final().

◆ fini

bool(* rz_crypto_plugin_t::fini) (RzCrypto *cry)

Definition at line 51 of file rz_crypto.h.

Referenced by rz_crypto_free(), and rz_crypto_use().

◆ get_key_size

int(* rz_crypto_plugin_t::get_key_size) (RzCrypto *cry)

Definition at line 44 of file rz_crypto.h.

◆ init

bool(* rz_crypto_plugin_t::init) (RzCrypto *cry)

Definition at line 50 of file rz_crypto.h.

◆ license

const char* rz_crypto_plugin_t::license

Definition at line 42 of file rz_crypto.h.

Referenced by rz_hash_show_algorithms().

◆ name

◆ set_iv

bool(* rz_crypto_plugin_t::set_iv) (RzCrypto *cry, const ut8 *iv, int ivlen)

Definition at line 45 of file rz_crypto.h.

Referenced by rz_crypto_set_iv().

◆ set_key

bool(* rz_crypto_plugin_t::set_key) (RzCrypto *cry, const ut8 *key, int keylen, int mode, int direction)

Definition at line 46 of file rz_crypto.h.

Referenced by rz_crypto_set_key().

◆ update

bool(* rz_crypto_plugin_t::update) (RzCrypto *cry, const ut8 *buf, int len)

Definition at line 47 of file rz_crypto.h.

Referenced by rz_crypto_update().

◆ use

bool(* rz_crypto_plugin_t::use) (const char *algo)

Definition at line 49 of file rz_crypto.h.


The documentation for this struct was generated from the following file: