Lines Matching refs:derivation
11 * Key generation and derivation
540 Mbed Crypto provides a key derivation API that lets you derive new keys from
541 existing ones. The key derivation API has functions to take inputs, including
545 You must first initialize and set up a key derivation context,
546 provided with a key and, optionally, other data. Then, use the key derivation context to either rea…
551 **Prerequisites to working with the key derivation APIs:**
554 * Usage flags set for key derivation (`PSA_KEY_USAGE_DERIVE`)
556 * Algorithm set to a key derivation algorithm
562 1. Set up the key derivation context using the `psa_key_derivation_setup()`
563 function, specifying the derivation algorithm `PSA_ALG_HKDF(PSA_ALG_SHA_256)`.
567 can be used for key derivation.
572 1. Clean up the key derivation context.
608 /* Import a key for use in key derivation. If such a key has already been
623 printf("Failed to begin key derivation\n");
666 /* Clean up key derivation operation */
682 * The key attributes for the key used for derivation must have the `PSA_KEY_USAGE_ENCRYPT` or `PSA_…