projects
/
platform
/
core
/
security
/
yaca.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1e172e
)
Lower the key bit_len in sign/verify example
85/69985/2
author
Lukasz Pawelczyk
<l.pawelczyk@samsung.com>
Tue, 17 May 2016 12:19:11 +0000
(14:19 +0200)
committer
Dariusz Michaluk
<d.michaluk@samsung.com>
Wed, 18 May 2016 07:16:51 +0000
(
00:16
-0700)
It takes too long to run the example with 4k key for our purposes.
Change-Id: I331782d9cf90f621cf2b009ad4751a952157341f
examples/sign.c
patch
|
blob
|
history
diff --git
a/examples/sign.c
b/examples/sign.c
index
dab16bd
..
4874131
100644
(file)
--- a/
examples/sign.c
+++ b/
examples/sign.c
@@
-46,7
+46,7
@@
void sign_verify_asym(yaca_key_type_e type, const char *algo)
#endif
// GENERATE
- if (yaca_key_gen(&prv, type, YACA_KEY_
4096
BIT) != 0)
+ if (yaca_key_gen(&prv, type, YACA_KEY_
1024
BIT) != 0)
return;
if (yaca_key_extract_public(prv, &pub) != 0)