Searched refs:scalar (Results 1 – 2 of 2) sorted by relevance
/system/core/libmincrypt/ |
D | p256_ec.c | 1047 const p256_int* scalar) { in scalar_base_mult() argument 1067 char bit0 = p256_get_bit(scalar, 31 - i + j); in scalar_base_mult() 1068 char bit1 = p256_get_bit(scalar, 95 - i + j); in scalar_base_mult() 1069 char bit2 = p256_get_bit(scalar, 159 - i + j); in scalar_base_mult() 1070 char bit3 = p256_get_bit(scalar, 223 - i + j); in scalar_base_mult() 1115 const felem y, const p256_int* scalar) { in scalar_mult() argument 1149 index = (p256_get_bit(scalar, 255 - i - 0) << 3) | in scalar_mult() 1150 (p256_get_bit(scalar, 255 - i - 1) << 2) | in scalar_mult() 1151 (p256_get_bit(scalar, 255 - i - 2) << 1) | in scalar_mult() 1152 p256_get_bit(scalar, 255 - i - 3); in scalar_mult()
|
D | p256.c | 58 int p256_get_bit(const p256_int* scalar, int bit) { in p256_get_bit() argument 59 return (P256_DIGIT(scalar, bit / P256_BITSPERDIGIT) in p256_get_bit()
|