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:
b5e2a62
)
Support EC keys for sign/verify operations
40/83240/2
author
Lukasz Pawelczyk
<l.pawelczyk@samsung.com>
Tue, 9 Aug 2016 15:36:24 +0000
(17:36 +0200)
committer
Lukasz Pawelczyk
<l.pawelczyk@samsung.com>
Tue, 9 Aug 2016 15:37:55 +0000
(17:37 +0200)
Change-Id: I78bf6112e31de78aacb6902d3bd5c9e978cfcd32
src/sign.c
patch
|
blob
|
history
diff --git
a/src/sign.c
b/src/sign.c
index 25765015e9dad394a8dbd88ecc6d66929529e12c..2e5fe256d7e3d695369363e0ca482caf7dbc717a 100644
(file)
--- a/
src/sign.c
+++ b/
src/sign.c
@@
-251,9
+251,8
@@
API int yaca_sign_initialize(yaca_context_h *ctx,
switch (key->type) {
case YACA_KEY_TYPE_RSA_PRIV:
case YACA_KEY_TYPE_DSA_PRIV:
- break;
case YACA_KEY_TYPE_EC_PRIV:
- //TODO NOT_IMPLEMENTED
+ break;
default:
return YACA_ERROR_INVALID_PARAMETER;
}
@@
-503,9
+502,8
@@
API int yaca_verify_initialize(yaca_context_h *ctx,
switch (key->type) {
case YACA_KEY_TYPE_RSA_PUB:
case YACA_KEY_TYPE_DSA_PUB:
- break;
case YACA_KEY_TYPE_EC_PUB:
- //TODO NOT_IMPLEMENTED
+ break;
default:
return YACA_ERROR_INVALID_PARAMETER;
}