libgcrypt mpi to binary conversion padding
When calling gcry_mpi_print()
, we should check the size of the returned buffer, and pad it when it's not 20, ie when the higher significant byte should be zero.
When calling gcry_mpi_print()
, we should check the size of the returned buffer, and pad it when it's not 20, ie when the higher significant byte should be zero.
VideoLAN code repository instance