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

EVP_KEYEXCH-X25519, EVP_KEYEXCH-X448 - X25519 and X448 Key Exchange algorithm support

Description

Key exchange support for the X25519 and X448 key types. Keyexchangeparameters "pad" (OSSL_EXCHANGE_PARAM_PAD) <unsigned integer> "fips-indicator" (OSSL_EXCHANGE_PARAM_FIPS_APPROVED_INDICATOR) <integer> X25519 and X448 are not FIPS approved in FIPS 140-3. So this getter will return 0. See "Common Key Exchange parameters" in provider-keyexch(7).

Examples

Keys for the host and peer can be generated as shown in "Examples" in EVP_PKEY-X25519(7). The code to generate a shared secret is identical to "Examples" in EVP_KEYEXCH-DH(7).

Name

EVP_KEYEXCH-X25519, EVP_KEYEXCH-X448 - X25519 and X448 Key Exchange algorithm support

See Also

EVP_PKEY-FFC(7), EVP_PKEY-DH(7) EVP_PKEY(3), provider-keyexch(7), provider-keymgmt(7), OSSL_PROVIDER-default(7), OSSL_PROVIDER-FIPS(7),

See Also