/system/core/include/mincrypt/ |
rsa.h | 42 uint32_t n0inv; /* -1 / n[0] mod 2^32 */ member in struct:RSAPublicKey
|
/external/vboot_reference/firmware/2lib/include/ |
2rsa.h | 17 uint32_t n0inv; /* -1 / n[0] mod 2^32 */ member in struct:vb2_public_key
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
rsa.h | 27 uint32_t n0inv; /* -1 / n[0] mod 2^32 */ member in struct:RSAPublicKey
|
/system/extras/verity/ |
generate_verity_key.c | 54 BIGNUM* n0inv = BN_new(); local 61 BN_mod_inverse(n0inv, rem, r32, ctx); 64 pkey->n0inv = 0 - BN_get_word(n0inv); 75 BN_free(n0inv);
|
/external/vboot_reference/firmware/lib20/ |
packed_key.c | 70 key->n0inv = buf32[1];
|
/system/core/adb/ |
adb_auth_host.cpp | 73 BIGNUM* n0inv = BN_new(); local 85 BN_mod_inverse(n0inv, rem, r32, ctx); 88 pkey->n0inv = 0 - BN_get_word(n0inv); 98 BN_free(n0inv);
|
/external/vboot_reference/firmware/lib/cryptolib/ |
rsa_utility.c | 21 * + sizeof len + sizeof n0inv. 72 StatefulMemcpy(&st, &key->n0inv, sizeof(key->n0inv));
|
rsa.c | 45 uint32_t d0 = (uint32_t)A * key->n0inv;
|
/external/vboot_reference/tests/ |
vb20_rsa_padding_tests.c | 33 k2->n0inv = key->n0inv;
|
vb21_host_key_tests.c | 231 TEST_EQ(key->n0inv, k2.n0inv, " n0inv");
|
rsa_utility_tests.c | 90 *(buf_key_len + 1) = 0xF00D2345; /* n0inv */ 100 TEST_EQ(key->n0inv, 0xF00D2345, "RSAPublicKeyFromBuf() n0inv");
|
/external/vboot_reference/firmware/lib21/ |
packed_key.c | 36 key->n0inv = buf32[1];
|
/system/core/libmincrypt/test/ |
rsa_test.c | 76 .n0inv = 0xf0053525, [all...] |
/bootable/recovery/ |
verifier.cpp | 309 // Read key length in words and n0inv. n0inv is a precomputed montgomery 311 // verification. n0inv is 32 bits wide here, assuming the verification logic 313 // internally, in which case we don't have a valid n0inv. Thus, we just 317 // 64-bit n0inv and initialize the montgomery parameters in the key object. 319 uint32_t n0inv = 0; local 320 if (fscanf(file, " %i , 0x%x", &key_len_words, &n0inv) != 2) { 346 // generally don't have a valid |n0inv|, we ignore this (see comment above).
|
/external/vboot_reference/firmware/2lib/ |
2rsa.c | 56 uint32_t d0 = (uint32_t)A * key->n0inv; 201 * + sizeof len + sizeof n0inv.
|
/system/core/libmincrypt/ |
rsa.c | 62 uint32_t d0 = (uint32_t)A * key->n0inv;
|
/external/vboot_reference/host/lib21/ |
host_key.c | 505 buf32[1] = pubk->n0inv;
|