Home
last modified time | relevance | path

Searched refs:sig_try (Results 1 – 1 of 1) sorted by relevance

/net-tools-latest/mbedtls-2.4.0/library/
Drsa.c1034 unsigned char *sig_try = NULL, *verif = NULL; in mbedtls_rsa_rsassa_pkcs1_v15_sign() local
1108 sig_try = mbedtls_calloc( 1, ctx->len ); in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1109 if( sig_try == NULL ) in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1115 mbedtls_free( sig_try ); in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1119 MBEDTLS_MPI_CHK( mbedtls_rsa_private( ctx, f_rng, p_rng, sig, sig_try ) ); in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1120 MBEDTLS_MPI_CHK( mbedtls_rsa_public( ctx, sig_try, verif ) ); in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1133 memcpy( sig, sig_try, ctx->len ); in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1136 mbedtls_free( sig_try ); in mbedtls_rsa_rsassa_pkcs1_v15_sign()