6 research outputs found

    Recursive double-size fixed precision arithmetic

    Get PDF
    International audienceThis work is a part of the SHIVA (Secured Hardware Immune Versatile Architecture) project whose purpose is to provide a programmable and reconfigurable hardware module with high level of security. We propose a recursive double-size fixed precision arithmetic called RecInt. Our work can be split in two parts. First we developped a C++ software library with performances comparable to GMP ones. Secondly our simple representation of the integers allows an implementation on FPGA. Our idea is to consider sizes that are a power of 2 and to apply doubling techniques to implement them efficiently: we design a recursive data structure where integers of size 2^k, for k>k0 can be stored as two integers of size 2^{k-1}. Obviously for k<=k0 we use machine arithmetic instead (k0 depending on the architecture)

    On Newton-Raphson iteration for multiplicative inverses modulo prime powers

    No full text
    International audienceWe study algorithms for the fast computation of modular inverses. Newton-Raphson iteration over pp-adic numbers gives a recurrence relation computing modular inverse modulo pmp^m, that is logarithmic in mm. We solve the recurrence to obtain an explicit formula for the inverse. Then we study different implementation variants of this iteration and show that our explicit formula is interesting for small exponent values but slower or large exponent, say of more than 700700 bits. Overall we thus propose a hybrid combination of our explicit formula and the best asymptotic variants. This hybrid combination yields then a constant factor improvement, also for large exponents

    On Newton–Raphson Iteration for Multiplicative Inverses Modulo Prime Powers

    No full text
    corecore