12 #ifndef ODP_API_SPEC_CRYPTO_H_
13 #define ODP_API_SPEC_CRYPTO_H_
14 #include <odp/visibility_begin.h>
336 #include <odp/visibility_end.h>
Standard C language types and definitions for ODP.
int odp_crypto_cipher_capability(odp_cipher_alg_t cipher, odp_crypto_cipher_capability_t capa[], int num)
Query supported cipher algorithm capabilities.
odp_cipher_alg_t
Crypto API cipher algorithm.
int odp_crypto_capability(odp_crypto_capability_t *capa)
Query crypto capabilities.
void odp_crypto_session_param_init(odp_crypto_session_param_t *param)
Initialize crypto session parameters.
uint64_t odp_crypto_session_t
Crypto API opaque session handle.
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.
odp_event_t odp_crypto_packet_to_event(odp_packet_t pkt)
Convert crypto packet handle to event.
int odp_crypto_result(odp_crypto_packet_result_t *result, odp_packet_t packet)
Get crypto operation results from a crypto processed packet.
int odp_crypto_session_destroy(odp_crypto_session_t session)
Crypto session destroy.
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.
odp_auth_alg_t
Crypto API authentication algorithm.
odp_crypto_ses_create_err_t
Crypto API session creation return code.
odp_packet_t odp_crypto_packet_from_event(odp_event_t ev)
Return crypto processed packet that is associated with event.
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.
uint64_t odp_crypto_session_to_u64(odp_crypto_session_t hdl)
Get printable value for an odp_crypto_session_t.
int odp_crypto_auth_capability(odp_auth_alg_t auth, odp_crypto_auth_capability_t capa[], int num)
Query supported authentication algorithm capabilities.
Authentication algorithm capabilities.
Cipher algorithm capabilities.
Crypto packet API per packet operation parameters.
Crypto packet API operation result.
Crypto API session creation parameters.