Searched refs:sig_try (Results 1 – 1 of 1) sorted by relevance
/mbedtls-3.7.0/library/ |
D | rsa.c | 2435 unsigned char *sig_try = NULL, *verif = NULL; in mbedtls_rsa_rsassa_pkcs1_v15_sign() local 2460 sig_try = mbedtls_calloc(1, ctx->len); in mbedtls_rsa_rsassa_pkcs1_v15_sign() 2461 if (sig_try == NULL) { in mbedtls_rsa_rsassa_pkcs1_v15_sign() 2467 mbedtls_free(sig_try); in mbedtls_rsa_rsassa_pkcs1_v15_sign() 2471 MBEDTLS_MPI_CHK(mbedtls_rsa_private(ctx, f_rng, p_rng, sig, sig_try)); in mbedtls_rsa_rsassa_pkcs1_v15_sign() 2472 MBEDTLS_MPI_CHK(mbedtls_rsa_public(ctx, sig_try, verif)); in mbedtls_rsa_rsassa_pkcs1_v15_sign() 2479 memcpy(sig, sig_try, ctx->len); in mbedtls_rsa_rsassa_pkcs1_v15_sign() 2482 mbedtls_zeroize_and_free(sig_try, ctx->len); in mbedtls_rsa_rsassa_pkcs1_v15_sign()
|