Home
last modified time | relevance | path

Searched refs:IMOD (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/samples/userspace/shared_mem/src/
Denc.c63 tmpIndex = (W1[IMOD(IW1, tmpIndex)] + WHEEL_SIZE - IW1) % WHEEL_SIZE; in enig_enc()
67 tmpIndex = (W2[IMOD(IW2, tmpIndex)] + WHEEL_SIZE - IW2) % WHEEL_SIZE; in enig_enc()
71 tmpIndex = (W3[IMOD(IW3, tmpIndex)] + WHEEL_SIZE - IW3) % WHEEL_SIZE; in enig_enc()
79 tmpIndex = (W3R[IMOD(IW3, tmpIndex)] + WHEEL_SIZE - IW3) % WHEEL_SIZE; in enig_enc()
83 tmpIndex = (W2R[IMOD(IW2, tmpIndex)] + WHEEL_SIZE - IW2) % WHEEL_SIZE; in enig_enc()
87 tmpIndex = (W1R[IMOD(IW1, tmpIndex)] + WHEEL_SIZE - IW1) % WHEEL_SIZE; in enig_enc()
Denc.h14 #define IMOD(a, b) ((a + b) % WHEEL_SIZE) macro