Ir al código fuente de este archivo.
'defines' |
#define | PQ_64BIT_IS_INTEGER 1 |
#define | PQ_64BIT_IS_BIGNUM 0 |
#define | PQ_64BIT_CTX void |
#define | pq_64bit_init(x) |
#define | pq_64bit_free(x) |
#define | pq_64bit_ctx_new(ctx) (ctx) |
#define | pq_64bit_ctx_free(x) |
#define | pq_64bit_assign(x, y) (*(x) = *(y)) |
#define | pq_64bit_assign_word(x, y) (*(x) = y) |
#define | pq_64bit_gt(x, y) (*(x) > *(y)) |
#define | pq_64bit_eq(x, y) (*(x) == *(y)) |
#define | pq_64bit_add_word(x, w) (*(x) = (*(x) + (w))) |
#define | pq_64bit_sub(r, x, y) (*(r) = (*(x) - *(y))) |
#define | pq_64bit_sub_word(x, w) (*(x) = (*(x) - (w))) |
#define | pq_64bit_mod(r, x, n, ctx) |
#define | pq_64bit_bin2num(num, bytes, len) bytes_to_long_long(bytes, num) |
#define | pq_64bit_num2bin(num, bytes) long_long_to_bytes(num, bytes) |
#define | pq_64bit_get_word(x) *(x) |
#define | pq_64bit_lshift(r, x, shift) (*(r) = (*(x) << (shift))) |
#define | pq_64bit_set_bit(x, num) |
Documentación de los 'defines'
#define pq_64bit_add_word |
( |
|
x, |
|
|
|
w |
|
) |
| (*(x) = (*(x) + (w))) |
#define pq_64bit_assign |
( |
|
x, |
|
|
|
y |
|
) |
| (*(x) = *(y)) |
#define pq_64bit_assign_word |
( |
|
x, |
|
|
|
y |
|
) |
| (*(x) = y) |
#define PQ_64BIT_CTX void |
#define pq_64bit_ctx_free |
( |
|
x | ) |
|
#define pq_64bit_ctx_new |
( |
|
ctx | ) |
(ctx) |
#define pq_64bit_eq |
( |
|
x, |
|
|
|
y |
|
) |
| (*(x) == *(y)) |
#define pq_64bit_free |
( |
|
x | ) |
|
#define pq_64bit_get_word |
( |
|
x | ) |
*(x) |
#define pq_64bit_gt |
( |
|
x, |
|
|
|
y |
|
) |
| (*(x) > *(y)) |
#define pq_64bit_init |
( |
|
x | ) |
|
#define PQ_64BIT_IS_BIGNUM 0 |
#define PQ_64BIT_IS_INTEGER 1 |
#define pq_64bit_lshift |
( |
|
r, |
|
|
|
x, |
|
|
|
shift |
|
) |
| (*(r) = (*(x) << (shift))) |
#define pq_64bit_mod |
( |
|
r, |
|
|
|
x, |
|
|
|
n, |
|
|
|
ctx |
|
) |
| |
#define pq_64bit_set_bit |
( |
|
x, |
|
|
|
num |
|
) |
| |
Valor:do { \
PQ_64BIT mask = 1; \
mask = mask << (num); \
*(x) |= mask; \
} while(0)
#define pq_64bit_sub |
( |
|
r, |
|
|
|
x, |
|
|
|
y |
|
) |
| (*(r) = (*(x) - *(y))) |
#define pq_64bit_sub_word |
( |
|
x, |
|
|
|
w |
|
) |
| (*(x) = (*(x) - (w))) |