Lines Matching refs:derivation
500 =head2 DH key derivation function parameters
503 a private key type of B<EVP_PKEY_DHX>. When using key derivation, the output of
508 EVP_PKEY_CTX_set_dh_kdf_type() sets the key derivation function type to I<kdf>
509 for DH key derivation. Possible values are B<EVP_PKEY_DH_KDF_NONE> and
510 B<EVP_PKEY_DH_KDF_X9_42> which uses the key derivation specified in RFC2631
511 (based on the keying algorithm described in X9.42). When using key derivation,
514 EVP_PKEY_CTX_get_dh_kdf_type() gets the key derivation function type for I<ctx>
515 used for DH key derivation. Possible values are B<EVP_PKEY_DH_KDF_NONE> and
518 EVP_PKEY_CTX_set0_dh_kdf_oid() sets the key derivation function object
519 identifier to I<oid> for DH key derivation. This OID should identify the
524 EVP_PKEY_CTX_get0_dh_kdf_oid() gets the key derivation function oid for I<ctx>
525 used for DH key derivation. The resulting pointer is owned by the library and
528 EVP_PKEY_CTX_set_dh_kdf_md() sets the key derivation function message digest to
529 I<md> for DH key derivation. Note that RFC2631 specifies that this digest should
532 EVP_PKEY_CTX_get_dh_kdf_md() gets the key derivation function message digest for
533 I<ctx> used for DH key derivation.
535 EVP_PKEY_CTX_set_dh_kdf_outlen() sets the key derivation function output length
536 to I<len> for DH key derivation.
538 EVP_PKEY_CTX_get_dh_kdf_outlen() gets the key derivation function output length
539 for I<ctx> used for DH key derivation.
542 length to I<len> for DH key derivation. This parameter is optional and
581 for ECDH key derivation. Possible values are 1 to enable cofactor
582 key derivation, 0 to disable it and -1 to clear the stored cofactor mode and
586 for ECDH key derivation. Possible values are 1 when cofactor key derivation is
589 =head2 ECDH key derivation function parameters
591 EVP_PKEY_CTX_set_ecdh_kdf_type() sets the key derivation function type to
592 I<kdf> for ECDH key derivation. Possible values are B<EVP_PKEY_ECDH_KDF_NONE>
593 and B<EVP_PKEY_ECDH_KDF_X9_63> which uses the key derivation specified in X9.63.
594 When using key derivation, the I<kdf_md> and I<kdf_outlen> parameters must
597 EVP_PKEY_CTX_get_ecdh_kdf_type() returns the key derivation function type for
598 I<ctx> used for ECDH key derivation. Possible values are
601 EVP_PKEY_CTX_set_ecdh_kdf_md() sets the key derivation function message digest
602 to I<md> for ECDH key derivation. Note that X9.63 specifies that this digest
605 EVP_PKEY_CTX_get_ecdh_kdf_md() gets the key derivation function message digest
606 for I<ctx> used for ECDH key derivation.
608 EVP_PKEY_CTX_set_ecdh_kdf_outlen() sets the key derivation function output
609 length to I<len> for ECDH key derivation.
611 EVP_PKEY_CTX_get_ecdh_kdf_outlen() gets the key derivation function output
612 length for I<ctx> used for ECDH key derivation.
615 key derivation. This parameter is optional and corresponds to the shared info in