Lines Matching refs:b1
231 #define NX_CRYPTO_EC_SECP256R1_DATA_SETUP_LS1(s, b1, b2, c0, c1, c2, c3, c4, c5, c6, c7) \ argument
232 NX_CRYPTO_EC_ASSIGN_REV(b1, c0); \
233 (s) -> nx_crypto_huge_number_data[8] = (b1) >> 31; \
234 (s) -> nx_crypto_huge_number_size = 8 + ((b1) >> 31); \
236 (s) -> nx_crypto_huge_number_data[7] = ((b1) << 1) | ((b2) >> 31); \
237 NX_CRYPTO_EC_ASSIGN_REV(b1, c2); \
238 (s) -> nx_crypto_huge_number_data[6] = ((b2) << 1) | ((b1) >> 31); \
240 (s) -> nx_crypto_huge_number_data[5] = ((b1) << 1) | ((b2) >> 31); \
241 NX_CRYPTO_EC_ASSIGN_REV(b1, c4); \
242 (s) -> nx_crypto_huge_number_data[4] = ((b2) << 1) | ((b1) >> 31); \
244 (s) -> nx_crypto_huge_number_data[3] = ((b1) << 1) | ((b2) >> 31); \
245 NX_CRYPTO_EC_ASSIGN_REV(b1, c6); \
246 (s) -> nx_crypto_huge_number_data[2] = ((b2) << 1) | ((b1) >> 31); \
248 (s) -> nx_crypto_huge_number_data[1] = ((b1) << 1) | ((b2) >> 31); \
268 #define NX_CRYPTO_EC_SECP384R1_DATA_SETUP_LS1(s, b1, b2, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, c1… argument
269 …NX_CRYPTO_EC_ASSIGN_REV(b1, c0); …
270 …(s) -> nx_crypto_huge_number_data[12] = (b1) >> 31; …
271 …(s) -> nx_crypto_huge_number_size = 12 + ((b1) >> 31); …
273 …(s) -> nx_crypto_huge_number_data[11] = ((b1) << 1) | ((b2) >> 31); …
274 …NX_CRYPTO_EC_ASSIGN_REV(b1, c2); …
275 …(s) -> nx_crypto_huge_number_data[10] = ((b2) << 1) | ((b1) >> 31); …
277 …(s) -> nx_crypto_huge_number_data[9] = ((b1) << 1) | ((b2) >> 31); …
278 …NX_CRYPTO_EC_ASSIGN_REV(b1, c4); …
279 …(s) -> nx_crypto_huge_number_data[8] = ((b2) << 1) | ((b1) >> 31); …
281 …(s) -> nx_crypto_huge_number_data[7] = ((b1) << 1) | ((b2) >> 31); …
282 …NX_CRYPTO_EC_ASSIGN_REV(b1, c6); …
283 …(s) -> nx_crypto_huge_number_data[6] = ((b2) << 1) | ((b1) >> 31); …
285 …(s) -> nx_crypto_huge_number_data[5] = ((b1) << 1) | ((b2) >> 31); …
286 …NX_CRYPTO_EC_ASSIGN_REV(b1, c8); …
287 …(s) -> nx_crypto_huge_number_data[4] = ((b2) << 1) | ((b1) >> 31); …
289 …(s) -> nx_crypto_huge_number_data[3] = ((b1) << 1) | ((b2) >> 31); …
290 …NX_CRYPTO_EC_ASSIGN_REV(b1, c10); …
291 …(s) -> nx_crypto_huge_number_data[2] = ((b2) << 1) | ((b1) >> 31); …
293 …(s) -> nx_crypto_huge_number_data[1] = ((b1) << 1) | ((b2) >> 31); …
356 #define NX_CRYPTO_EC_SECP256R1_DATA_SETUP_LS1(s, b1, b2, c0, c1, c2, c3, c4, c5, c6, c7) \ argument
357 NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c0)); \
358 (s) -> nx_crypto_huge_number_data[16] = (HN_UBASE)((b1) >> 15); \
359 (s) -> nx_crypto_huge_number_size = (UINT)(16 + (HN_UBASE)((b1) >> 15)); \
361 (s) -> nx_crypto_huge_number_data[15] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); \
362 NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c1)); \
363 (s) -> nx_crypto_huge_number_data[14] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); \
365 (s) -> nx_crypto_huge_number_data[13] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); \
366 NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c2)); \
367 (s) -> nx_crypto_huge_number_data[12] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); \
369 (s) -> nx_crypto_huge_number_data[11] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); \
370 NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c3)); \
371 (s) -> nx_crypto_huge_number_data[10] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); \
373 (s) -> nx_crypto_huge_number_data[9] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); \
374 NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c4)); \
375 (s) -> nx_crypto_huge_number_data[8] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); \
377 (s) -> nx_crypto_huge_number_data[7] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); \
378 NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c5)); \
379 (s) -> nx_crypto_huge_number_data[6] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); \
381 (s) -> nx_crypto_huge_number_data[5] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); \
382 NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c6)); \
383 (s) -> nx_crypto_huge_number_data[4] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); \
385 (s) -> nx_crypto_huge_number_data[3] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); \
386 NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c7)); \
387 (s) -> nx_crypto_huge_number_data[2] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); \
389 (s) -> nx_crypto_huge_number_data[1] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); \
421 #define NX_CRYPTO_EC_SECP384R1_DATA_SETUP_LS1(s, b1, b2, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, c1… argument
422 …NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c0)); …
423 …(s) -> nx_crypto_huge_number_data[24] = (HN_UBASE)((b1) >> 15); …
424 …(s) -> nx_crypto_huge_number_size = (UINT)(24 + (HN_UBASE)((b1) >> 15)); …
426 …(s) -> nx_crypto_huge_number_data[23] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); …
427 …NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c1)); …
428 …(s) -> nx_crypto_huge_number_data[22] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); …
430 …(s) -> nx_crypto_huge_number_data[21] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); …
431 …NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c2)); …
432 …(s) -> nx_crypto_huge_number_data[20] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); …
434 …(s) -> nx_crypto_huge_number_data[19] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); …
435 …NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c3)); …
436 …(s) -> nx_crypto_huge_number_data[18] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); …
438 …(s) -> nx_crypto_huge_number_data[17] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); …
439 …NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c4)); …
440 …(s) -> nx_crypto_huge_number_data[16] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); …
442 …(s) -> nx_crypto_huge_number_data[15] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); …
443 …NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c5)); …
444 …(s) -> nx_crypto_huge_number_data[14] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); …
446 …(s) -> nx_crypto_huge_number_data[13] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); …
447 …NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c6)); …
448 …(s) -> nx_crypto_huge_number_data[12] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); …
450 …(s) -> nx_crypto_huge_number_data[11] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); …
451 …NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c7)); …
452 …(s) -> nx_crypto_huge_number_data[10] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); …
454 …(s) -> nx_crypto_huge_number_data[9] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); …
455 …NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c8)); …
456 …(s) -> nx_crypto_huge_number_data[8] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); …
458 …(s) -> nx_crypto_huge_number_data[7] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); …
459 …NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c9)); …
460 …(s) -> nx_crypto_huge_number_data[6] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); …
462 …(s) -> nx_crypto_huge_number_data[5] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); …
463 …NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c10)); …
464 …(s) -> nx_crypto_huge_number_data[4] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); …
466 …(s) -> nx_crypto_huge_number_data[3] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); …
467 …NX_CRYPTO_EC_ASSIGN_REV(b1, (HN_UBASE)(c11)); …
468 …(s) -> nx_crypto_huge_number_data[2] = (HN_UBASE)(((b2) << 1) | ((b1) >> 15)); …
470 …(s) -> nx_crypto_huge_number_data[1] = (HN_UBASE)(((b1) << 1) | ((b2) >> 15)); …