Searched refs:n0inv (Results 1 - 9 of 9) sorted by relevance

/u-boot/lib/libavb/
H A Davb_crypto.h118 * values, |n0inv| (fits in 32 bits) and |rr| and can always be
121 * The value |n0inv| is the value -1/n[0] (mod 2^32). The value |rr|
141 uint32_t n0inv; member in struct:AvbRSAPublicKeyHeader
H A Davb_rsa.c19 uint32_t n0inv; /* -1 / n[0] mod 2^32 */ member in struct:IAvbKey
62 key->n0inv = h.n0inv;
119 uint32_t d0 = (uint32_t)A * key->n0inv;
H A Davb_crypto.c350 dest->n0inv = avb_be32toh(dest->n0inv);
/u-boot/include/u-boot/
H A Drsa-mod-exp.h26 uint32_t n0inv; /* -1 / modulus[0] mod 2^32 */ member in struct:key_prop
61 * @node: Node with RSA key elements like modulus, exponent, R^2, n0inv
91 * R^2, n0inv
H A Drsa.h26 uint32_t n0inv; /* -1 / modulus[0] mod 2^32 */ member in struct:rsa_public_key
/u-boot/lib/rsa/
H A Drsa-mod-exp.c81 * Operation: montgomery result[] += a * b[] / n0inv % modulus
96 d0 = (uint32_t)acc_a * key->n0inv;
116 * Operation: montgomery result[] = a[] * b[] / n0inv % modulus
267 key.n0inv = prop->n0inv;
H A Drsa-verify.c460 prop.n0inv = fdtdec_get_int(blob, node, "rsa,n0-inverse", 0);
H A Drsa-keyprop.c701 (*prop)->n0inv = br_i32_ninv32(n[1]);
/u-boot/board/xilinx/zynq/
H A Dcmds.c51 u32 n0inv; /* -1 / modulus[0] mod 2^32 */ member in struct:zynq_rsa_public_key
229 public_key.n0inv = zynq_calc_inv();
246 public_key.n0inv = zynq_calc_inv();

Completed in 65 milliseconds