mbedtls_psa_cipher_update() function
Encrypt or decrypt a message fragment in an active cipher operation.
Arguments
operation
Active cipher operation.
input
Buffer containing the message fragment to encrypt or decrypt.
input_length
Size of the \p input buffer in bytes.
output
Buffer where the output is to be written.
output_size
Size of the \p output buffer in bytes.
output_length
On success, the number of bytes that make up the returned output.
Return value
#PSA_SUCCESS \emptydescription #PSA_ERROR_BUFFER_TOO_SMALL The size of the \p output buffer is too small. #PSA_ERROR_INSUFFICIENT_MEMORY \emptydescription
Notes
The signature of this function is that of a PSA driver cipher_update entry point. This function behaves as a cipher_update entry point as defined in the PSA driver interface specification for transparent drivers.
![]()
status = mbedtls_psa_cipher_update(
mbedtls_psa_cipher_update() is called by 3 functions and calls 3 functions:
![]()
mbedtls_psa_cipher_update()
mbedtls_psa_cipher_update() reads 5 variables:
![]()
mbedtls_psa_cipher_update()