Searched refs:crypto_uint32 (Results 1 – 6 of 6) sorted by relevance
/external/openssh/ |
D | sc25519.c | 15 static const crypto_uint32 m[32] = {0xED, 0xD3, 0xF5, 0x5C, 0x1A, 0x63, 0x12, 0x58, 0xD6, 0x9C, 0xF… 18 static const crypto_uint32 mu[33] = {0x1B, 0x13, 0x2C, 0x0A, 0xA3, 0xE5, 0x9C, 0xED, 0xA7, 0x29, 0x… 21 static crypto_uint32 lt(crypto_uint32 a,crypto_uint32 b) /* 16-bit inputs */ in lt() 32 crypto_uint32 pb = 0; in reduce_add_sub() 33 crypto_uint32 b; in reduce_add_sub() 34 crypto_uint32 mask; in reduce_add_sub() 51 static void barrett_reduce(sc25519 *r, const crypto_uint32 x[64]) in barrett_reduce() 55 crypto_uint32 q2[66]; in barrett_reduce() 56 crypto_uint32 *q3 = q2 + 33; in barrett_reduce() 57 crypto_uint32 r1[33]; in barrett_reduce() [all …]
|
D | fe25519.c | 16 static crypto_uint32 equal(crypto_uint32 a,crypto_uint32 b) /* 16-bit inputs */ in equal() 18 crypto_uint32 x = a ^ b; /* 0: yes; 1..65535: no */ in equal() 24 static crypto_uint32 ge(crypto_uint32 a,crypto_uint32 b) /* 16-bit inputs */ in ge() 33 static crypto_uint32 times19(crypto_uint32 a) in times19() 38 static crypto_uint32 times38(crypto_uint32 a) in times38() 45 crypto_uint32 t; in reduce_add_sub() 65 crypto_uint32 t; in reduce_mul() 87 crypto_uint32 m = equal(r->v[31],127); in fe25519_freeze() 144 crypto_uint32 mask = b; in fe25519_cmov() 188 crypto_uint32 t[32]; in fe25519_sub() [all …]
|
D | sc25519.h | 34 crypto_uint32 v[32]; 40 crypto_uint32 v[16];
|
D | crypto_api.h | 17 typedef uint32_t crypto_uint32; typedef
|
D | fe25519.h | 34 crypto_uint32 v[32];
|
D | ge25519.c | 157 crypto_uint32 y = x; /* 0: yes; 1..255: no */ in equal()
|