Remove trailing whitespace

check-files.py doesn't like trailing whitespace.
This commit is contained in:
Gilles Peskine 2019-03-06 17:56:28 +01:00
parent f0c1d0d375
commit c3044a6a36
2 changed files with 13 additions and 13 deletions

View File

@ -381,7 +381,7 @@ typedef struct psa_drv_accel_cipher_context_s psa_drv_accel_cipher_context_t;
* Where * Where
* - `CIPHER_NAME` is the name of the underlying block cipher (i.e. AES or DES) * - `CIPHER_NAME` is the name of the underlying block cipher (i.e. AES or DES)
* - `MODE` is the block mode of the cipher operation (i.e. CBC or CTR) * - `MODE` is the block mode of the cipher operation (i.e. CBC or CTR)
* *
* For stream ciphers: * For stream ciphers:
* ~~~~~~~~~~~~~{.c} * ~~~~~~~~~~~~~{.c}
* psa_drv_accel_cipher_setup_<CIPHER_NAME> * psa_drv_accel_cipher_setup_<CIPHER_NAME>
@ -643,10 +643,10 @@ typedef psa_status_t (*psa_drv_accel_aead_decrypt_t)(const uint8_t *p_key,
* ~~~~~~~~~~~~~ * ~~~~~~~~~~~~~
* Where `ALGO` is the name of the signing algorithm * Where `ALGO` is the name of the signing algorithm
* *
* This function supports any asymmetric-key output from psa_export_key() as * This function supports any asymmetric-key output from psa_export_key() as
* the buffer in \ref p_key. Refer to the documentation of \ref * the buffer in \ref p_key. Refer to the documentation of \ref
* psa_export_key() for the formats. * psa_export_key() for the formats.
* *
* \param[in] p_key A buffer containing the private key * \param[in] p_key A buffer containing the private key
* material * material
* \param[in] key_size The size in bytes of the `p_key` data * \param[in] key_size The size in bytes of the `p_key` data
@ -686,7 +686,7 @@ typedef psa_status_t (*psa_drv_accel_asymmetric_sign_t)(const uint8_t *p_key,
* buffer in \ref p_key. Refer to the documentation of \ref * buffer in \ref p_key. Refer to the documentation of \ref
* psa_export_public_key() for the format of public keys and to the * psa_export_public_key() for the format of public keys and to the
* documentation of \ref psa_export_key() for the format for other key types. * documentation of \ref psa_export_key() for the format for other key types.
* *
* \param[in] p_key A buffer containing the public key material * \param[in] p_key A buffer containing the public key material
* \param[in] key_size The size in bytes of the `p_key` data * \param[in] key_size The size in bytes of the `p_key` data
* \param[in] alg A signature algorithm that is compatible with * \param[in] alg A signature algorithm that is compatible with
@ -719,7 +719,7 @@ typedef psa_status_t (*psa_drv_accel_asymmetric_verify_t)(const uint8_t *p_key,
* psa_drv_accel_asymmetric_<ALGO>_encrypt * psa_drv_accel_asymmetric_<ALGO>_encrypt
* ~~~~~~~~~~~~~ * ~~~~~~~~~~~~~
* Where `ALGO` is the name of the encryption algorithm * Where `ALGO` is the name of the encryption algorithm
* *
* This function supports any output from \ref psa_export_public_key() as the * This function supports any output from \ref psa_export_public_key() as the
* buffer in \ref p_key. Refer to the documentation of \ref * buffer in \ref p_key. Refer to the documentation of \ref
* psa_export_public_key() for the format of public keys and to the * psa_export_public_key() for the format of public keys and to the
@ -772,8 +772,8 @@ typedef psa_status_t (*psa_drv_accel_asymmetric_encrypt_t)(const uint8_t *p_key,
* psa_drv_accel_asymmetric_<ALGO>_decrypt * psa_drv_accel_asymmetric_<ALGO>_decrypt
* ~~~~~~~~~~~~~ * ~~~~~~~~~~~~~
* Where `ALGO` is the name of the encryption algorithm * Where `ALGO` is the name of the encryption algorithm
* *
* This function supports any asymmetric-key output from psa_export_key() as * This function supports any asymmetric-key output from psa_export_key() as
* the buffer in \ref p_key. Refer to the documentation of \ref * the buffer in \ref p_key. Refer to the documentation of \ref
* psa_export_key() for the formats. * psa_export_key() for the formats.
* *

View File

@ -766,16 +766,16 @@ typedef psa_status_t (*psa_drv_se_export_key_t)(psa_key_slot_number_t key,
/** /**
* \brief A function that generates a symmetric or asymmetric key on a secure * \brief A function that generates a symmetric or asymmetric key on a secure
* element * element
* *
* If `type` is asymmetric (`#define PSA_KEY_TYPE_IS_ASYMMETRIC(type) == 1`), * If `type` is asymmetric (`#define PSA_KEY_TYPE_IS_ASYMMETRIC(type) == 1`),
* the public component of the generated key will be placed in `p_pubkey_out`. * the public component of the generated key will be placed in `p_pubkey_out`.
* The format of the public key information will match the format specified for * The format of the public key information will match the format specified for
* the `psa_export_key()` function for the key type. * the `psa_export_key()` function for the key type.
* *
* \param[in] key_slot Slot where the generated key will be placed * \param[in] key_slot Slot where the generated key will be placed
* \param[in] type The type of the key to be generated * \param[in] type The type of the key to be generated
* \param[in] usage The prescribed usage of the generated key * \param[in] usage The prescribed usage of the generated key
* Note: Not all Secure Elements support the same * Note: Not all Secure Elements support the same
* restrictions that PSA Crypto does (and vice versa). * restrictions that PSA Crypto does (and vice versa).
* Driver developers should endeavor to match the * Driver developers should endeavor to match the
* usages as close as possible. * usages as close as possible.
@ -785,7 +785,7 @@ typedef psa_status_t (*psa_drv_se_export_key_t)(psa_key_slot_number_t key,
* interpretation in the `extra` parameter is the * interpretation in the `extra` parameter is the
* `psa_generate_key` function * `psa_generate_key` function
* \param[in] extra_size The size in bytes of the \ref extra buffer * \param[in] extra_size The size in bytes of the \ref extra buffer
* \param[out] p_pubkey_out The buffer where the public key information will * \param[out] p_pubkey_out The buffer where the public key information will
* be placed * be placed
* \param[in] pubkey_out_size The size in bytes of the `p_pubkey_out` buffer * \param[in] pubkey_out_size The size in bytes of the `p_pubkey_out` buffer
* \param[out] p_pubkey_length Upon successful completion, will contain the * \param[out] p_pubkey_length Upon successful completion, will contain the
@ -909,7 +909,7 @@ typedef psa_status_t (*psa_drv_se_key_derivation_collateral_t)(void *p_context,
/** \brief A function that performs the final secure element key derivation /** \brief A function that performs the final secure element key derivation
* step and place the generated key material in a slot * step and place the generated key material in a slot
* *
* \param[in,out] p_context A hardware-specific structure containing any * \param[in,out] p_context A hardware-specific structure containing any
* context information for the implementation * context information for the implementation
* \param[in] dest_key The slot where the generated key material * \param[in] dest_key The slot where the generated key material