Searched refs:crypto_uint32 (Results 1 – 7 of 7) 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 | sntrup4591761.c | 31 crypto_uint32 xi = *x; in minmax() 32 crypto_uint32 yi = *y; in minmax() 33 crypto_uint32 xy = xi ^ yi; in minmax() 34 crypto_uint32 c = yi - xi; in minmax() 601 crypto_uint32 r = small_random32(); in small_random() 664 crypto_uint32 c0, c1, c2, c3, c4, c5, c6, c7; in rq_decode() 665 crypto_uint32 f0, f1, f2, f3, f4; in rq_decode() 961 crypto_uint32 c0, c1, c2, c3; in rq_decoderounded() 962 crypto_uint32 f0, f1, f2; in rq_decoderounded()
|
D | crypto_api.h | 23 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()
|