Hi everyone, I think you all are fine.

 

I am a beginner on mbedtls, and I wanted to set a dhm context. So, at first, I just want to set the value of the prime P, and the generator G. So to that I wrote the function below :

 

To check if it is correctly set, I wanted to print it to see. However, it is not the case. Do you know how to set and print the value ?

 

Thanks, and have a good day

 

Best regards, YS