remove usless cast

This commit is contained in:
mohammad1603 2018-06-03 15:06:17 +03:00 committed by itayzafrir
parent f08a550e68
commit 95893f834d

View File

@ -1521,7 +1521,7 @@ psa_status_t psa_aead_encrypt( psa_key_slot_t key,
mbedtls_gcm_context gcm;
mbedtls_gcm_init( &gcm );
ret = mbedtls_gcm_setkey( &gcm, cipher_id,
( const unsigned char * )slot->data.raw.data,
slot->data.raw.data,
key_bits );
if( ret != 0 )
{