mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-16 22:20:56 +00:00
Fix indentation in test_suite_gcm.function
Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
This commit is contained in:
parent
b070eb6c52
commit
2e2036c84b
@ -628,7 +628,7 @@ void gcm_encrypt_input_output_buffer_overlap(int cipher_id, data_t *key_str,
|
||||
*/
|
||||
buffer_len = src_str->len;
|
||||
if (buffer_len % 16 != 0) {
|
||||
buffer_len += (16 - (buffer_len % 16));
|
||||
buffer_len += (16 - (buffer_len % 16));
|
||||
}
|
||||
buffer = malloc(buffer_len);
|
||||
if (buffer == NULL) {
|
||||
@ -693,7 +693,7 @@ void gcm_decrypt_input_output_buffer_overlap(int cipher_id, data_t *key_str,
|
||||
*/
|
||||
buffer_len = src_str->len;
|
||||
if (buffer_len % 16 != 0) {
|
||||
buffer_len += (16 - (buffer_len % 16));
|
||||
buffer_len += (16 - (buffer_len % 16));
|
||||
}
|
||||
buffer = malloc(buffer_len);
|
||||
if (buffer == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user