@@ -294,22 +294,22 @@ static void Tls_client()
294294
295295 /* TSIP specific ECC private key */
296296 if (ret == 0 ){
297- ret = tsip_use_PrivateKey_buffer (ssl ,
297+ ret = tsip_use_PrivateKey_buffer_TLS (ssl ,
298298 (const char * )g_key_block_data .encrypted_user_ecc256_private_key ,
299299 sizeof (g_key_block_data .encrypted_user_ecc256_private_key ),
300300 TSIP_ECCP256 );
301301 if (ret != 0 ) {
302- printf ("ERROR tsip_use_PrivateKey_buffer \n" );
302+ printf ("ERROR tsip_use_PrivateKey_buffer_TLS \n" );
303303 }
304304 }
305305 # if defined(WOLFSSL_CHECK_SIG_FAULTS )
306306 if (ret == 0 ){
307- ret = tsip_use_PublicKey_buffer (ssl ,
307+ ret = tsip_use_PublicKey_buffer_TLS (ssl ,
308308 (const char * )g_key_block_data .encrypted_user_ecc256_public_key ,
309309 sizeof (g_key_block_data .encrypted_user_ecc256_public_key ),
310310 TSIP_ECCP256 );
311311 if (ret != 0 ) {
312- printf ("ERROR tsip_use_PublicKey_buffer \n" );
312+ printf ("ERROR tsip_use_PublicKey_buffer_TLS \n" );
313313 }
314314 }
315315 #endif /* WOLFSSL_CHECK_SIG_FAULTS */
@@ -339,21 +339,21 @@ static void Tls_client()
339339
340340 /* TSIP specific RSA private key */
341341 if (ret == 0 ) {
342- ret = tsip_use_PrivateKey_buffer (ssl ,
342+ ret = tsip_use_PrivateKey_buffer_TLS (ssl ,
343343 (const char * )g_key_block_data .encrypted_user_rsa2048_private_key ,
344344 sizeof (g_key_block_data .encrypted_user_rsa2048_private_key ),
345345 TSIP_RSA2048 );
346346 if (ret != 0 ) {
347- printf ("ERROR tsip_use_PrivateKey_buffer :%d\n" , ret );
347+ printf ("ERROR tsip_use_PrivateKey_buffer_TLS :%d\n" , ret );
348348 }
349349 }
350350 if (ret == 0 ) {
351- ret = tsip_use_PublicKey_buffer (ssl ,
351+ ret = tsip_use_PublicKey_buffer_TLS (ssl ,
352352 (const char * )g_key_block_data .encrypted_user_rsa2048_public_key ,
353353 sizeof (g_key_block_data .encrypted_user_rsa2048_public_key ),
354354 TSIP_RSA2048 );
355355 if (ret != 0 ) {
356- printf ("ERROR tsip_use_PublicKey_buffer : %d\n" , ret );
356+ printf ("ERROR tsip_use_PublicKey_buffer_TLS : %d\n" , ret );
357357 }
358358 }
359359
0 commit comments