Lines Matching refs:from
285 # define bn_cp_64(to, n, from, m) (to)[n] = (m>=0)?((from)[m]):0; argument
291 # define bn_cp_32_naked(to, n, from, m) (((n)&1)?(to[(n)/2]|=((m)&1)?(from[(m)/2]&BN_MASK2h):(from… argument
292 … :(to[(n)/2] =((m)&1)?(from[(m)/2]>>32):(from[(m)/2]&BN_MASK2l)))
294 # define bn_cp_32(to,n,from,m) ((m)>=0)?bn_cp_32_naked(to,n,from,m):bn_32_set_0(to,n) argument
303 # define bn_cp_64(to, n, from, m) \ argument
305 bn_cp_32(to, (n)*2, from, (m)*2); \
306 bn_cp_32(to, (n)*2+1, from, (m)*2+1); \
313 # define bn_cp_32(to, n, from, m) (to)[n] = (m>=0)?((from)[m]):0; argument
344 #define nist_set_192(to, from, a1, a2, a3) \ argument
346 bn_cp_64(to, 0, from, (a3) - 3) \
347 bn_cp_64(to, 1, from, (a2) - 3) \
348 bn_cp_64(to, 2, from, (a1) - 3) \
476 #define nist_set_224(to, from, a1, a2, a3, a4, a5, a6, a7) \ argument
478 bn_cp_32(to, 0, from, (a7) - 7) \
479 bn_cp_32(to, 1, from, (a6) - 7) \
480 bn_cp_32(to, 2, from, (a5) - 7) \
481 bn_cp_32(to, 3, from, (a4) - 7) \
482 bn_cp_32(to, 4, from, (a3) - 7) \
483 bn_cp_32(to, 5, from, (a2) - 7) \
484 bn_cp_32(to, 6, from, (a1) - 7) \
647 #define nist_set_256(to, from, a1, a2, a3, a4, a5, a6, a7, a8) \ argument
649 bn_cp_32(to, 0, from, (a8) - 8) \
650 bn_cp_32(to, 1, from, (a7) - 8) \
651 bn_cp_32(to, 2, from, (a6) - 8) \
652 bn_cp_32(to, 3, from, (a5) - 8) \
653 bn_cp_32(to, 4, from, (a4) - 8) \
654 bn_cp_32(to, 5, from, (a3) - 8) \
655 bn_cp_32(to, 6, from, (a2) - 8) \
656 bn_cp_32(to, 7, from, (a1) - 8) \
880 #define nist_set_384(to,from,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12) \ argument
882 bn_cp_32(to, 0, from, (a12) - 12) \
883 bn_cp_32(to, 1, from, (a11) - 12) \
884 bn_cp_32(to, 2, from, (a10) - 12) \
885 bn_cp_32(to, 3, from, (a9) - 12) \
886 bn_cp_32(to, 4, from, (a8) - 12) \
887 bn_cp_32(to, 5, from, (a7) - 12) \
888 bn_cp_32(to, 6, from, (a6) - 12) \
889 bn_cp_32(to, 7, from, (a5) - 12) \
890 bn_cp_32(to, 8, from, (a4) - 12) \
891 bn_cp_32(to, 9, from, (a3) - 12) \
892 bn_cp_32(to, 10, from, (a2) - 12) \
893 bn_cp_32(to, 11, from, (a1) - 12) \