Searched refs:bi_multiply (Results 1 – 3 of 3) sorted by relevance
/external/syslinux/gpxe/src/crypto/axtls/ |
D | bigint.h | 52 bigint *bi_multiply(BI_CTX *ctx, bigint *bia, bigint *bib); 88 #define bi_square(A, B) bi_multiply(A, bi_copy(B), B)
|
D | bigint.c | 855 p0 = bi_multiply(ctx, bi_copy(x0), bi_copy(y0)); in karatsuba() 856 p2 = bi_multiply(ctx, bi_copy(x1), bi_copy(y1)); in karatsuba() 857 p1 = bi_multiply(ctx, bi_add(ctx, x0, x1), bi_add(ctx, y0, y1)); in karatsuba() 876 bigint *bi_multiply(BI_CTX *ctx, bigint *bia, bigint *bib) in bi_multiply() function 1352 ctx->g[i] = bi_residue(ctx, bi_multiply(ctx, ctx->g[i-1], bi_copy(g2))); in precompute_slide_window() 1382 bi_multiply(ctx, bi, ctx->bi_RR_mod_m[mod_offset])); /* x' */ in bi_mod_power() 1433 biR = bi_residue(ctx, bi_multiply(ctx, biR, ctx->g[part_exp])); in bi_mod_power()
|
D | rsa.c | 214 h = bi_multiply(ctx, h, rsa->qInv); in bi_crt() 220 return bi_add(ctx, m2, bi_multiply(ctx, rsa->q, h)); in bi_crt()
|