Lines Matching refs:mem
2259 uint32_t *scalar, *M, *X, *Y, *Z, *mem; in Jac_scalar_multiplication() local
2289 mem = &CASPER_MEM[(20U * N_wordlen + 80U)]; in Jac_scalar_multiplication()
2302 #define FSL_CASPER_LUT(P, x) (mem + (3U * ((P)-1U) / 2U + (x)) * (N_wordlen + 4U)) in Jac_scalar_multiplication()
2430 uint32_t *Q2x, *Q2y, *Q2z, *P2x, *P2y, *P2z, *Z, *mem; in precompute_double_scalar_LUT16() local
2455 mem = &CASPER_MEM[(20U * N_wordlen + 80U)]; in precompute_double_scalar_LUT16()
2461 CASPER_MEMCPY(&mem[index], Q2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2463 CASPER_MEMCPY(&mem[index], Q2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2465 CASPER_MEMCPY(&mem[index], Q2z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2470 CASPER_MEMCPY(&mem[index], P2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2472 CASPER_MEMCPY(&mem[index], P2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2474 CASPER_MEMCPY(&mem[index], P2z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2479 CASPER_MEMCPY(&mem[index], P2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2481 CASPER_MEMCPY(&mem[index], P2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2483 CASPER_MEMCPY(&mem[index], P2z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2488 CASPER_MEMCPY(&mem[index], P2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2490 CASPER_MEMCPY(&mem[index], P2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2492 CASPER_MEMCPY(&mem[index], P2z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2497 CASPER_MEMCPY(&mem[index], P2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2499 CASPER_MEMCPY(&mem[index], P2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2501 CASPER_MEMCPY(&mem[index], P2z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2506 CASPER_MEMCPY(&mem[index], Q2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2508 CASPER_MEMCPY(&mem[index], Q2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2510 CASPER_MEMCPY(&mem[index], Q2z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2515 CASPER_MEMCPY(&mem[index], Q2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2517 CASPER_MEMCPY(&mem[index], Q2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2519 CASPER_MEMCPY(&mem[index], Q2z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2524 CASPER_MEMCPY(&mem[index], Q2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2526 CASPER_MEMCPY(&mem[index], Q2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2528 CASPER_MEMCPY(&mem[index], Q2z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2533 CASPER_MEMCPY(&mem[index], P2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2535 CASPER_MEMCPY(&mem[index], P2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2537 CASPER_MEMCPY(&mem[index], P2z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2542 CASPER_MEMCPY(&mem[index], Q2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2544 CASPER_MEMCPY(&mem[index], Q2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2546 CASPER_MEMCPY(&mem[index], Q2z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2551 CASPER_MEMCPY(&mem[index], Q2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2553 CASPER_MEMCPY(&mem[index], Q2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2555 CASPER_MEMCPY(&mem[index], Q2z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2560 CASPER_MEMCPY(&mem[index], Q2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2562 CASPER_MEMCPY(&mem[index], Q2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2564 CASPER_MEMCPY(&mem[index], Q2z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16()
2585 uint32_t *Z, *mem, *ONE; in precompute_double_scalar_LUT4() local
2593 mem = &CASPER_MEM[(20U * N_wordlen + 80U)]; in precompute_double_scalar_LUT4()
2598 CASPER_MEMCPY(&mem[index], Qx, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT4()
2600 CASPER_MEMCPY(&mem[index], Qy, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT4()
2602 CASPER_MEMCPY(&mem[index], Z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT4()
2606 CASPER_MEMCPY(&mem[index], Px, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT4()
2608 CASPER_MEMCPY(&mem[index], Py, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT4()
2610 CASPER_MEMCPY(&mem[index], Z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT4()
2614 …Jac_add_affine(&mem[index], &mem[index + N_wordlen], &mem[index + 2U * N_wordlen], Px, Py, Z, Qx, … in precompute_double_scalar_LUT4()