Home
last modified time | relevance | path

Searched refs:n0inv (Results 1 – 19 of 19) sorted by relevance

/external/avb/libavb/
Davb_crypto.c370 dest->n0inv = avb_be32toh(dest->n0inv); in avb_rsa_public_key_header_validate_and_byteswap()
Davb_rsa.c42 uint32_t n0inv; /* -1 / n[0] mod 2^32 */ member
85 key->n0inv = h.n0inv; in iavb_parse_key_data()
142 uint32_t d0 = (uint32_t)A * key->n0inv; in montMulAdd()
Davb_crypto.h151 uint32_t n0inv; member
/external/vboot_reference/tests/
Dvb20_rsa_padding_tests.c33 k2->n0inv = key->n0inv; in vb2_public_key_to_vb2()
Dvb21_host_key_tests.c231 TEST_EQ(key->n0inv, k2.n0inv, " n0inv"); in public_key_tests()
Drsa_utility_tests.c100 TEST_EQ(key->n0inv, 0xF00D2345, "RSAPublicKeyFromBuf() n0inv"); in TestKeyFromBuffer()
/external/vboot_reference/firmware/lib/cryptolib/
Drsa_utility.c72 StatefulMemcpy(&st, &key->n0inv, sizeof(key->n0inv)); in RSAPublicKeyFromBuf()
Drsa.c45 uint32_t d0 = (uint32_t)A * key->n0inv; in montMulAdd()
/external/libconstrainedcrypto/include/constrainedcrypto/
Drsa.h42 uint32_t n0inv; /* -1 / n[0] mod 2^32 */ member
/external/vboot_reference/firmware/2lib/include/
D2rsa.h17 uint32_t n0inv; /* -1 / n[0] mod 2^32 */ member
/external/vboot_reference/firmware/lib/cryptolib/include/
Drsa.h27 uint32_t n0inv; /* -1 / n[0] mod 2^32 */ member
/external/vboot_reference/firmware/lib20/
Dpacked_key.c70 key->n0inv = buf32[1]; in vb2_unpack_key()
/external/vboot_reference/firmware/lib21/
Dpacked_key.c36 key->n0inv = buf32[1]; in vb2_unpack_key_data()
/external/libconstrainedcrypto/test/
Drsa_test.c76 .n0inv = 0xf0053525,
/external/libconstrainedcrypto/
Drsa.c62 uint32_t d0 = (uint32_t)A * key->n0inv; in montMulAdd()
/external/avb/test/
Davb_util_unittest.cc52 h.n0inv = htobe32(n32); in TEST_F()
62 EXPECT_EQ(n32, s.n0inv); in TEST_F()
/external/vboot_reference/firmware/2lib/
D2rsa.c56 uint32_t d0 = (uint32_t)A * key->n0inv; in montMulAdd()
/external/vboot_reference/host/lib21/
Dhost_key.c505 buf32[1] = pubk->n0inv; in vb2_public_key_pack()
/external/avb/
Davbtool408 n0inv = b - modinv(key.modulus, b)
412 ret.extend(struct.pack('!II', key.num_bits, n0inv))