Mercurial > dropbear
comparison libtommath/bn_mp_unsigned_bin_size.c @ 1470:8bba51a55704
Update to libtommath v1.0.1
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 08 Feb 2018 23:11:40 +0800 |
parents | 60fc6476e044 |
children | f52919ffd3b1 |
comparison
equal
deleted
inserted
replaced
1469:51043e868f55 | 1470:8bba51a55704 |
---|---|
21 int size = mp_count_bits (a); | 21 int size = mp_count_bits (a); |
22 return (size / 8) + (((size & 7) != 0) ? 1 : 0); | 22 return (size / 8) + (((size & 7) != 0) ? 1 : 0); |
23 } | 23 } |
24 #endif | 24 #endif |
25 | 25 |
26 /* $Source$ */ | 26 /* ref: $Format:%D$ */ |
27 /* $Revision$ */ | 27 /* git commit: $Format:%H$ */ |
28 /* $Date$ */ | 28 /* commit time: $Format:%ai$ */ |