API Reference Manual  1.45.0
api/spec/crypto.h File Reference

ODP crypto. More...

#include <odp/visibility_begin.h>
#include <odp/api/crypto_types.h>
#include <odp/api/packet_types.h>
#include <odp/api/std_types.h>
#include <odp/visibility_end.h>
Include dependency graph for api/spec/crypto.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int odp_crypto_capability (odp_crypto_capability_t *capa)
 Query crypto capabilities. More...
 
int odp_crypto_cipher_capability (odp_cipher_alg_t cipher, odp_crypto_cipher_capability_t capa[], int num)
 Query supported cipher algorithm capabilities. More...
 
int odp_crypto_auth_capability (odp_auth_alg_t auth, odp_crypto_auth_capability_t capa[], int num)
 Query supported authentication algorithm capabilities. More...
 
int odp_crypto_session_create (const odp_crypto_session_param_t *param, odp_crypto_session_t *session, odp_crypto_ses_create_err_t *status)
 Crypto session creation. More...
 
int odp_crypto_session_destroy (odp_crypto_session_t session)
 Crypto session destroy. More...
 
uint64_t odp_crypto_session_to_u64 (odp_crypto_session_t hdl)
 Get printable value for an odp_crypto_session_t. More...
 
void odp_crypto_session_param_init (odp_crypto_session_param_t *param)
 Initialize crypto session parameters. More...
 
odp_packet_t odp_crypto_packet_from_event (odp_event_t ev)
 Return crypto processed packet that is associated with event. More...
 
odp_event_t odp_crypto_packet_to_event (odp_packet_t pkt)
 Convert crypto packet handle to event. More...
 
int odp_crypto_result (odp_crypto_packet_result_t *result, odp_packet_t packet)
 Get crypto operation results from a crypto processed packet. More...
 
int odp_crypto_op (const odp_packet_t pkt_in[], odp_packet_t pkt_out[], const odp_crypto_packet_op_param_t param[], int num_pkt)
 Crypto packet operation. More...
 
int odp_crypto_op_enq (const odp_packet_t pkt_in[], const odp_packet_t pkt_out[], const odp_crypto_packet_op_param_t param[], int num_pkt)
 Crypto packet operation. More...
 

Detailed Description

ODP crypto.

Definition in file api/spec/crypto.h.