Remove assertion on local nonce buffer size

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
diff --git a/library/psa_crypto.c b/library/psa_crypto.c
index d3a2865..c2b4e48 100644
--- a/library/psa_crypto.c
+++ b/library/psa_crypto.c
@@ -3893,10 +3893,6 @@
         goto exit;
     }
 
-#if defined(assert)
-    assert( required_nonce_size <= sizeof( local_nonce ) );
-#endif
-
     status = psa_generate_random( local_nonce, required_nonce_size );
     if( status != PSA_SUCCESS )
         goto exit;