From fd094081e1fe702dbfdbe84cc8a63c0bd27f72a8 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 20 Jan 2023 20:24:17 +0100 Subject: [PATCH] Pass attributes alongside key buffer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the generic way of going adapting a psa_key_id_t argument in the application interface to the driver interface. Thanks Hannes Lindström. Signed-off-by: Gilles Peskine --- docs/proposed/psa-driver-interface.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/proposed/psa-driver-interface.md b/docs/proposed/psa-driver-interface.md index d4b5542c4..faa0ec369 100644 --- a/docs/proposed/psa-driver-interface.md +++ b/docs/proposed/psa-driver-interface.md @@ -379,6 +379,7 @@ psa_status_t psa_crypto_driver_key_derivation_get_input_bytes( psa_status_t psa_crypto_driver_key_derivation_get_input_key( const psa_crypto_driver_key_derivation_inputs_t *inputs, psa_key_derivation_step_t step, + const psa_key_attributes_t *attributes, uint8_t** p_key_buffer, size_t *key_buffer_size); psa_status_t psa_crypto_driver_key_derivation_get_input_integer( const psa_crypto_driver_key_derivation_inputs_t *inputs,