lib/hcrypto: dh-ltm update use of libtommath
commit5c7a4436e35272cf8e484e7dc175c563668d40b5
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 18 Jan 2022 01:41:54 +0000 (17 20:41 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 18 Jan 2022 02:11:54 +0000 (17 21:11 -0500)
tree8b32f3362cdd5b5ed8f6c74a3a1a954bc01cd150
parent00dd104b96cbb491e75f52dc996594dc49c88c60
lib/hcrypto: dh-ltm update use of libtommath

warning: 'mp_read_unsigned_bin' is deprecated
(declared at ./libtommath/tommath.h:732): replaced by mp_from_ubin
[-Wdeprecated-declarations]

warning: 'mp_unsigned_bin_size' is deprecated
(declared at ./libtommath/tommath.h:731): replaced by mp_ubin_size
[-Wdeprecated-declarations]

warning: 'mp_to_unsigned_bin' is deprecated
(declared at ./libtommath/tommath.h:733): replaced by mp_to_ubin
[-Wdeprecated-declarations]

warning: 'mp_unsigned_bin_size' is deprecated
(declared at ./libtommath/tommath.h:731): replaced by mp_ubin_size
[-Wdeprecated-declarations]

warning: ignoring return value of 'mp_init_multi',
declared with attribute warn_unused_result [-Wunused-result]

warning: ignoring return value of 'mp_to_unsigned_bin',
declared with attribute warn_unused_result [-Wunused-result]

warning: ignoring return value of 'mp_read_unsigned_bin',
declared with attribute warn_unused_result [-Wunused-result]

Change-Id: I510fd7a57c9cd52b59086a85d13aa6204ebb9fd9
lib/hcrypto/dh-ltm.c