tinyCrypt: Share ECDH secret calculation code-path
This commit is contained in:
parent
75f12d1eb9
commit
a3c2c1712c
3 changed files with 21 additions and 20 deletions
|
@ -3573,14 +3573,6 @@ static int ssl_out_client_key_exchange_write( mbedtls_ssl_context *ssl,
|
|||
return( MBEDTLS_ERR_SSL_HW_ACCEL_FAILED );
|
||||
}
|
||||
|
||||
if( !uECC_shared_secret( ssl->handshake->ecdh_peerkey,
|
||||
ssl->handshake->ecdh_privkey,
|
||||
ssl->handshake->premaster,
|
||||
uecc_curve ) )
|
||||
{
|
||||
return( MBEDTLS_ERR_SSL_HW_ACCEL_FAILED );
|
||||
}
|
||||
|
||||
/* TODO: Write the client share. */
|
||||
((void) p);
|
||||
((void) end);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue