net/tls: fix ECDSA signature authentication failure
authorJunyeon LEE <junyeon2.lee@samsung.com>
Wed, 10 May 2017 15:38:43 +0000 (00:38 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 23 May 2017 12:39:59 +0000 (21:39 +0900)
commit86ba2db41123fe4c75041eac7630f9c0af902db8
tree2399563aa785a0718ac3b1e8e38b0800abdf66cb
parent9cf9ddd2d0205df80cf3eaf3cdadd5a12f99beb4
net/tls: fix ECDSA signature authentication failure

This commit fixes misuse of ECDSA signature function in security api.
If we use see_get_ecdsa_signature() function with mbedTLS library,
it will do hash two times and make wrong signature.

Change-Id: Idc5471255c94bfc91cbe7febb46a0e38deb1094a
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
os/net/tls/see_api.c