mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-29 12:32:48 +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;
|
buffer_len = src_str->len;
|
||||||
if (buffer_len % 16 != 0) {
|
if (buffer_len % 16 != 0) {
|
||||||
buffer_len += (16 - (buffer_len % 16));
|
buffer_len += (16 - (buffer_len % 16));
|
||||||
}
|
}
|
||||||
buffer = malloc(buffer_len);
|
buffer = malloc(buffer_len);
|
||||||
if (buffer == NULL) {
|
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;
|
buffer_len = src_str->len;
|
||||||
if (buffer_len % 16 != 0) {
|
if (buffer_len % 16 != 0) {
|
||||||
buffer_len += (16 - (buffer_len % 16));
|
buffer_len += (16 - (buffer_len % 16));
|
||||||
}
|
}
|
||||||
buffer = malloc(buffer_len);
|
buffer = malloc(buffer_len);
|
||||||
if (buffer == NULL) {
|
if (buffer == NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user