Searched refs:phi_binary (Results 1 – 1 of 1) sorted by relevance
330 uint8_t *phi_binary = NULL; in rsa_pka_modexp() local370 phi_binary = mbedtls_calloc( 1, philen ); in rsa_pka_modexp()371 MBEDTLS_MPI_CHK( ( phi_binary == NULL ) ? MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED : 0 ); in rsa_pka_modexp()372 … MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &ctx->MBEDTLS_PRIVATE(Phi) , phi_binary, philen ) ); in rsa_pka_modexp()379 in_protected.pPhi = phi_binary; /* Euler tolient function */ in rsa_pka_modexp()450 if (phi_binary != NULL) in rsa_pka_modexp()452 mbedtls_platform_zeroize( phi_binary, philen ); in rsa_pka_modexp()453 mbedtls_free( phi_binary ); in rsa_pka_modexp()