logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_crypto_ecdh_op_param

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                     rte_crypto_ecdh_op_param(3)

Detailed Description

       Elliptic Curve Diffie-Hellman Operations params.

       Definition at line 508 of file rte_crypto_asym.h.

Field Documentation

enumrte_crypto_asym_ke_typeke_type
       Key exchange operation type

       Definition at line 509 of file rte_crypto_asym.h.

   rte_crypto_uintpriv_key
       Output - generated private key when ke_type is RTE_CRYPTO_ASYM_KE_PRIVATE_KEY_GENERATE.

       Input - private key when ke_type is one of: RTE_CRYPTO_ASYM_KE_PUBLIC_KEY_GENERATE,
       RTE_CRYPTO_ASYM_KE_SHARED_SECRET_COMPUTE.

       In case priv_key.length is 0 and ke_type is set with RTE_CRYPTO_ASYM_KE_PUBLIC_KEY_GENERATE, CSRNG
       capable device will generate private key and use it for public key generation.

       Definition at line 511 of file rte_crypto_asym.h.

   structrte_crypto_ec_pointpub_key
       Output - generated public key when ke_type is RTE_CRYPTO_ASYM_KE_PUBLIC_KEY_GENERATE.

       Input - peer's public key, when ke_type is one of: RTE_CRYPTO_ASYM_KE_SHARED_SECRET_COMPUTE,
       RTE_CRYPTO_ASYM_KE_EC_PUBLIC_KEY_VERIFY.

       Definition at line 525 of file rte_crypto_asym.h.

   structrte_crypto_ec_pointshared_secret
       Output - calculated shared secret when ke_type is RTE_CRYPTO_ASYM_KE_SHARED_SECRET_COMPUTE.

       Definition at line 534 of file rte_crypto_asym.h.

Name

       rte_crypto_ecdh_op_param

Synopsis

       #include <rte_crypto_asym.h>

   DataFields
       enum rte_crypto_asym_ke_typeke_typerte_crypto_uintpriv_key
       struct rte_crypto_ec_pointpub_key
       struct rte_crypto_ec_pointshared_secret

See Also