Searched refs:sig_try (Results 1 – 1 of 1) sorted by relevance
/third_party/mbedtls/library/ |
D | rsa.c | 1851 unsigned char *sig_try = NULL, *verif = NULL; in mbedtls_rsa_rsassa_pkcs1_v15_sign() local 1876 sig_try = mbedtls_calloc( 1, ctx->len ); in mbedtls_rsa_rsassa_pkcs1_v15_sign() 1877 if( sig_try == NULL ) in mbedtls_rsa_rsassa_pkcs1_v15_sign() 1883 mbedtls_free( sig_try ); in mbedtls_rsa_rsassa_pkcs1_v15_sign() 1887 MBEDTLS_MPI_CHK( mbedtls_rsa_private( ctx, f_rng, p_rng, sig, sig_try ) ); in mbedtls_rsa_rsassa_pkcs1_v15_sign() 1888 MBEDTLS_MPI_CHK( mbedtls_rsa_public( ctx, sig_try, verif ) ); in mbedtls_rsa_rsassa_pkcs1_v15_sign() 1896 memcpy( sig, sig_try, ctx->len ); in mbedtls_rsa_rsassa_pkcs1_v15_sign() 1899 mbedtls_platform_zeroize( sig_try, ctx->len ); in mbedtls_rsa_rsassa_pkcs1_v15_sign() 1901 mbedtls_free( sig_try ); in mbedtls_rsa_rsassa_pkcs1_v15_sign()
|