Home
last modified time | relevance | path

Searched refs:P256_BITSPERDIGIT (Results 1 – 2 of 2) sorted by relevance

/system/core/libmincrypt/
Dp256.c59 return (P256_DIGIT(scalar, bit / P256_BITSPERDIGIT) in p256_get_bit()
60 >> (bit & (P256_BITSPERDIGIT - 1))) & 1; in p256_get_bit()
82 carry >>= P256_BITSPERDIGIT; in mulAdd()
99 borrow >>= P256_BITSPERDIGIT; in subTop()
104 assert((borrow >> P256_BITSPERDIGIT) == 0); in subTop()
120 borrow >>= P256_BITSPERDIGIT; in subM()
137 carry >>= P256_BITSPERDIGIT; in addM()
198 n %= P256_BITSPERDIGIT; in p256_shl()
201 accu |= (P256_DIGIT(a, i - 1) >> (P256_BITSPERDIGIT - n)); in p256_shl()
206 top = (p256_digit)((((p256_ddigit)top) << n) >> P256_BITSPERDIGIT); in p256_shl()
[all …]
/system/core/include/mincrypt/
Dp256.h39 #define P256_BITSPERDIGIT 32 macro