NX_CRYPTO_HUGE_NUMBER_COPY is only used within netxduo.
 
Symbols
loading...
Files
loading...

NX_CRYPTO_HUGE_NUMBER_COPY macro

Syntax

#define NX_CRYPTO_HUGE_NUMBER_COPY(dst, src) \     (dst) -> nx_crypto_huge_number_size = (src) -> nx_crypto_huge_number_size; \     (dst) -> nx_crypto_huge_number_is_negative = (src) -> nx_crypto_huge_number_is_negative; \     NX_CRYPTO_MEMCPY((dst) -> nx_crypto_huge_number_data, \     (src) -> nx_crypto_huge_number_data, \     (src) -> nx_crypto_huge_number_size << HN_SIZE_SHIFT);

Arguments

dst

src

References

LocationText
nx_crypto_huge_number.h:158
#define NX_CRYPTO_HUGE_NUMBER_COPY(dst, src) \
nx_crypto_ec.c:1115
NX_CRYPTO_HUGE_NUMBER_COPY(&point -> nx_crypto_ec_point_x, &temp2);
nx_crypto_ec.c:1121
NX_CRYPTO_HUGE_NUMBER_COPY(&point -> nx_crypto_ec_point_y, &temp1);
nx_crypto_ec.c:2275
NX_CRYPTO_HUGE_NUMBER_COPY(&projective_point -> nx_crypto_ec_point_x,
nx_crypto_ec.c:2277
NX_CRYPTO_HUGE_NUMBER_COPY(&projective_point -> nx_crypto_ec_point_y,
nx_crypto_ec.c:2318
NX_CRYPTO_HUGE_NUMBER_COPY(&projective_point -> nx_crypto_ec_point_z, &temp3);
nx_crypto_ec.c:2327
NX_CRYPTO_HUGE_NUMBER_COPY(&temp3, &temp2);
nx_crypto_ec.c:2332
NX_CRYPTO_HUGE_NUMBER_COPY(&projective_point -> nx_crypto_ec_point_x, &temp5);
nx_crypto_ec.c:2344
NX_CRYPTO_HUGE_NUMBER_COPY(&projective_point -> nx_crypto_ec_point_y, &temp3);
nx_crypto_ec.c:2449
NX_CRYPTO_HUGE_NUMBER_COPY(&temp4, &projective_point -> nx_crypto_ec_point_x);
nx_crypto_ec.c:2450
NX_CRYPTO_HUGE_NUMBER_COPY(&temp5, &projective_point -> nx_crypto_ec_point_x);
nx_crypto_ec.c:2460
NX_CRYPTO_HUGE_NUMBER_COPY(&projective_point -> nx_crypto_ec_point_z, &temp5);
nx_crypto_ec.c:2466
NX_CRYPTO_HUGE_NUMBER_COPY(&temp5, &temp1);
nx_crypto_ec.c:2469
NX_CRYPTO_HUGE_NUMBER_COPY(&projective_point -> nx_crypto_ec_point_x, &temp3);
nx_crypto_ec.c:2479
NX_CRYPTO_HUGE_NUMBER_COPY(&projective_point -> nx_crypto_ec_point_y, &temp3);
nx_crypto_ec.c:2552
NX_CRYPTO_HUGE_NUMBER_COPY(&left -> nx_crypto_ec_point_x,
nx_crypto_ec.c:2554
NX_CRYPTO_HUGE_NUMBER_COPY(&left -> nx_crypto_ec_point_y,
nx_crypto_ec.c:2579
NX_CRYPTO_HUGE_NUMBER_COPY(&temp3, &left -> nx_crypto_ec_point_y);
nx_crypto_ec.c:2593
NX_CRYPTO_HUGE_NUMBER_COPY(&temp1, &right -> nx_crypto_ec_point_x);
nx_crypto_ec.c:2596
NX_CRYPTO_HUGE_NUMBER_COPY(&temp1, &right -> nx_crypto_ec_point_y);
nx_crypto_ec.c:2605
NX_CRYPTO_HUGE_NUMBER_COPY(&temp2, &left -> nx_crypto_ec_point_x);
nx_crypto_ec.c:2606
NX_CRYPTO_HUGE_NUMBER_COPY(&left -> nx_crypto_ec_point_x, &temp1);
nx_crypto_ec.c:2612
NX_CRYPTO_HUGE_NUMBER_COPY(&left -> nx_crypto_ec_point_y, &temp1);
nx_crypto_ec.c:2672
NX_CRYPTO_HUGE_NUMBER_COPY(&point.nx_crypto_ec_point_x, &right -> nx_crypto_ec_point_x);
nx_crypto_ec.c:2673
NX_CRYPTO_HUGE_NUMBER_COPY(&point.nx_crypto_ec_point_y, &curve -> nx_crypto_ec_field.fp);
nx_crypto_ec.c:2894
NX_CRYPTO_HUGE_NUMBER_COPY(&negative_g.nx_crypto_ec_point_x, &g -> nx_crypto_ec_point_x);
nx_crypto_ec.c:2895
NX_CRYPTO_HUGE_NUMBER_COPY(&negative_g.nx_crypto_ec_point_y, &curve -> nx_crypto_ec_field.fp);
nx_crypto_ec.c:2938
NX_CRYPTO_HUGE_NUMBER_COPY(&r -> nx_crypto_ec_point_x,
nx_crypto_ec.c:2940
NX_CRYPTO_HUGE_NUMBER_COPY(&r -> nx_crypto_ec_point_y,
nx_crypto_ec.c:3029
NX_CRYPTO_HUGE_NUMBER_COPY(&expanded_d, d);
nx_crypto_ec.c:3082
NX_CRYPTO_HUGE_NUMBER_COPY(&r -> nx_crypto_ec_point_x,
nx_crypto_ec.c:3084
NX_CRYPTO_HUGE_NUMBER_COPY(&r -> nx_crypto_ec_point_y,
nx_crypto_ec.c:3178
NX_CRYPTO_HUGE_NUMBER_COPY(&modulus, &curve -> nx_crypto_ec_n);
nx_crypto_ec.c:3184
NX_CRYPTO_HUGE_NUMBER_COPY(private_key, &random_number);
nx_crypto_ec.c:3429
NX_CRYPTO_HUGE_NUMBER_COPY(&array[offset - 1].nx_crypto_ec_point_x,
nx_crypto_ec.c:3431
NX_CRYPTO_HUGE_NUMBER_COPY(&array[offset - 1].nx_crypto_ec_point_y,
nx_crypto_ec.c:3437
NX_CRYPTO_HUGE_NUMBER_COPY(&array[offset + j - 1].nx_crypto_ec_point_x,
nx_crypto_ec.c:3439
NX_CRYPTO_HUGE_NUMBER_COPY(&array[offset + j - 1].nx_crypto_ec_point_y,
nx_crypto_ec.c:3473
NX_CRYPTO_HUGE_NUMBER_COPY(&array[offset + j].nx_crypto_ec_point_x,
nx_crypto_ec.c:3475
NX_CRYPTO_HUGE_NUMBER_COPY(&array[offset + j].nx_crypto_ec_point_y,
nx_crypto_ecdsa.c:172
NX_CRYPTO_HUGE_NUMBER_COPY(&k, &temp);
nx_crypto_ecjpake.c:664
NX_CRYPTO_HUGE_NUMBER_COPY(&ga.nx_crypto_ec_point_x,
nx_crypto_ecjpake.c:666
NX_CRYPTO_HUGE_NUMBER_COPY(&ga.nx_crypto_ec_point_y,
nx_crypto_ecjpake.c:1147
NX_CRYPTO_HUGE_NUMBER_COPY(r, &temp1);
nx_crypto_ecjpake.c:1329
NX_CRYPTO_HUGE_NUMBER_COPY(&g -> nx_crypto_ec_point_x, &x1 -> nx_crypto_ec_point_x);
nx_crypto_ecjpake.c:1330
NX_CRYPTO_HUGE_NUMBER_COPY(&g -> nx_crypto_ec_point_y, &x1 -> nx_crypto_ec_point_y);
nx_crypto_ecjpake.c:1339
NX_CRYPTO_HUGE_NUMBER_COPY(private_key, &temp1);
nx_crypto_ecjpake.c:1425
NX_CRYPTO_HUGE_NUMBER_COPY(&temp1.nx_crypto_ec_point_x, &x4 -> nx_crypto_ec_point_x);
nx_crypto_ecjpake.c:1426
NX_CRYPTO_HUGE_NUMBER_COPY(&temp1.nx_crypto_ec_point_y, &x4 -> nx_crypto_ec_point_y);
nx_crypto_ecjpake.c:1429
NX_CRYPTO_HUGE_NUMBER_COPY(&temp2.nx_crypto_ec_point_x, &public_key -> nx_crypto_ec_point_x);
nx_crypto_ecjpake.c:1430
NX_CRYPTO_HUGE_NUMBER_COPY(&temp2.nx_crypto_ec_point_y, &public_key -> nx_crypto_ec_point_y);
nx_crypto_huge_number.c:2180
NX_CRYPTO_HUGE_NUMBER_COPY(&u, a);
nx_crypto_huge_number.c:2181
NX_CRYPTO_HUGE_NUMBER_COPY(&v, p);
nx_crypto_huge_number.c:2228
NX_CRYPTO_HUGE_NUMBER_COPY(r, &C);
nx_crypto_huge_number.c:2334
NX_CRYPTO_HUGE_NUMBER_COPY(&u, m);
nx_crypto_huge_number.c:2335
NX_CRYPTO_HUGE_NUMBER_COPY(&v, a);
nx_crypto_huge_number.c:2394
NX_CRYPTO_HUGE_NUMBER_COPY(r, &D);
nx_crypto_huge_number.c:2672
NX_CRYPTO_HUGE_NUMBER_COPY(result, &temp);
nx_crypto_huge_number.c:2718
NX_CRYPTO_HUGE_NUMBER_COPY(result, &temp);
nx_crypto_huge_number.c:2842
NX_CRYPTO_HUGE_NUMBER_COPY(ep, e);
nx_crypto_huge_number.c:2843
NX_CRYPTO_HUGE_NUMBER_COPY(&temp1, p);
nx_crypto_huge_number.c:2849
NX_CRYPTO_HUGE_NUMBER_COPY(xp, x);
nx_crypto_huge_number.c:2866
NX_CRYPTO_HUGE_NUMBER_COPY(eq, e);
nx_crypto_huge_number.c:2867
NX_CRYPTO_HUGE_NUMBER_COPY(&temp1, q);
nx_crypto_huge_number.c:2873
NX_CRYPTO_HUGE_NUMBER_COPY(xq, x);
nx_crypto_huge_number_extended.c:283
NX_CRYPTO_HUGE_NUMBER_COPY(result, &temp);
nx_crypto_huge_number_extended.c:295
NX_CRYPTO_HUGE_NUMBER_COPY(number, &temp);