devcrypto_cipher_ops_t

Cipher algorithm functions

Synopsis:

#include <dev/crypto/devcrypto_plugin.h>
typedef struct _devcrypto_cipher_ops {
    devcrypto_cipher_op_init init;
    devcrypto_cipher_op_encrypt encrypt;
    devcrypto_cipher_op_decrypt decrypt;
} devcrypto_cipher_ops_t;

Data:

devcrypto_cipher_op_init init

The cipher initialization function.

devcrypto_cipher_op_encrypt encrypt

The cipher encryption function.

devcrypto_cipher_op_decrypt decrypt

The cipher decryption function.

Library:

devcr