Mercurial > dropbear
comparison libtommath/bn_mp_unsigned_bin_size.c @ 1511:5916af64acd4 fuzz
merge from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 17 Feb 2018 19:29:51 +0800 |
parents | 8bba51a55704 |
children | f52919ffd3b1 |
comparison
equal
deleted
inserted
replaced
1457:32f990cc96b1 | 1511:5916af64acd4 |
---|---|
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$ */ |