projects
/
platform
/
core
/
test
/
security-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e604a4
)
YACA: Fix, use default GCM tag length.
20/92720/1
author
Dariusz Michaluk
<d.michaluk@samsung.com>
Tue, 18 Oct 2016 09:13:46 +0000
(11:13 +0200)
committer
Dariusz Michaluk
<d.michaluk@samsung.com>
Tue, 18 Oct 2016 09:15:42 +0000
(11:15 +0200)
Change-Id: I93481b168465407987732b61ac13ae141aa2db3f
src/yaca/yaca-test-encrypt.cpp
patch
|
blob
|
history
diff --git
a/src/yaca/yaca-test-encrypt.cpp
b/src/yaca/yaca-test-encrypt.cpp
index 8160afd83ec1a32a232b4e3f5567d9b0e6353e45..749cd0d2bb4700d1e40b894f600875ed207ea001 100644
(file)
--- a/
src/yaca/yaca-test-encrypt.cpp
+++ b/
src/yaca/yaca-test-encrypt.cpp
@@
-1171,7
+1171,7
@@
RUNNER_TEST(T3180_yaca_set_get_gcm_properties_invalid_param, YacaTest)
size_t aad_len = 16;
Buffer aad = random_buffer(aad_len);
- size_t tag_len = 1
2
;
+ size_t tag_len = 1
6
;
ChrPtr tag = create_yaca_buffer(tag_len);
size_t update_len, final_len;
@@
-1374,7
+1374,7
@@
RUNNER_TEST(T3200_yaca_set_invalid_gcm_tag_aad, YacaTest)
size_t aad_len = 16;
Buffer aad = random_buffer(aad_len);
- size_t tag_len = 1
2
;
+ size_t tag_len = 1
6
;
ChrPtr tag = create_yaca_buffer(tag_len);
CtxPtr enc_ctx = encrypt_init(YACA_ENCRYPT_AES, YACA_BCM_GCM, key, iv);