mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Grammar in comments
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@ -5672,7 +5672,7 @@ static psa_status_t psa_key_derivation_start_hmac(
|
||||
* It isn't enough to require the caller to initialize operation to
|
||||
* PSA_MAC_OPERATION_INIT, since one field is a union and initializing
|
||||
* a union does not necessarily initialize all of its members.
|
||||
* psa_mac_setup() would could handle PSA_MAC_OPERATION_INIT, but here we
|
||||
* psa_mac_setup() would handle PSA_MAC_OPERATION_INIT, but here we
|
||||
* bypass it and call lower-level functions directly. */
|
||||
memset(operation, 0, sizeof(*operation));
|
||||
|
||||
|
@ -465,7 +465,7 @@ psa_status_t mbedtls_psa_mac_compute(
|
||||
{
|
||||
psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED;
|
||||
mbedtls_psa_mac_operation_t operation = MBEDTLS_PSA_MAC_OPERATION_INIT;
|
||||
/* Make sure the whole the operation is zeroed.
|
||||
/* Make sure the whole operation is zeroed.
|
||||
* PSA_MAC_OPERATION_INIT does not necessarily do it fully,
|
||||
* since one field is a union and initializing a union does not
|
||||
* necessarily initialize all of its members.
|
||||
|
Reference in New Issue
Block a user