Home
last modified time | relevance | path

Searched refs:proof (Results 1 – 25 of 114) sorted by relevance

12345

/external/avb/test/
Davb_aftl_validate_unittest.cc306 uint8_t proof[3][AVB_AFTL_HASH_SIZE]; in TEST_F() local
313 memcpy(proof[0], in TEST_F()
317 memcpy(proof[1], in TEST_F()
321 memcpy(proof[2], in TEST_F()
326 leaf_index, tree_size, proof, 3, leaf_hash, AVB_AFTL_HASH_SIZE, hash); in TEST_F()
334 memcpy(proof[0], in TEST_F()
338 memcpy(proof[1], in TEST_F()
342 memcpy(proof[2], in TEST_F()
347 leaf_index, tree_size, proof, 3, leaf_hash, AVB_AFTL_HASH_SIZE, hash); in TEST_F()
355 memcpy(proof[0], in TEST_F()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DTicket.c95 TPM2B_PROOF *proof; in TicketComputeVerified() local
101 proof = HierarchyGetProof(hierarchy); in TicketComputeVerified()
105 &proof->b); in TicketComputeVerified()
149 TPM2B_PROOF *proof; in TicketComputeAuth() local
153 proof = HierarchyGetProof(hierarchy); in TicketComputeAuth()
161 &proof->b); in TicketComputeAuth()
208 TPM2B_PROOF *proof; in TicketComputeHashCheck() local
212 proof = HierarchyGetProof(hierarchy); in TicketComputeHashCheck()
220 &proof->b); in TicketComputeHashCheck()
253 TPM2B_PROOF *proof; in TicketComputeCreation() local
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Context/
DContext_spt.c70 TPM2B_PROOF *proof = NULL; // the proof value to use. Is null for in ComputeContextProtectionKey() local
79 proof = HierarchyGetProof(contextBlob->hierarchy); in ComputeContextProtectionKey()
98 CryptKDFa(CONTEXT_INTEGRITY_HASH_ALG, &proof->b, CONTEXT_KEY, &sequence2B.b, in ComputeContextProtectionKey()
144 TPM2B_PROOF *proof; in ComputeContextIntegrity() local
148 proof = HierarchyGetProof(contextBlob->hierarchy); in ComputeContextIntegrity()
152 &proof->b); in ComputeContextIntegrity()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DHierarchy.c155 TPM2B_PROOF *proof = NULL; in HierarchyGetProof() local
161 proof = &gp.phProof; in HierarchyGetProof()
165 proof = &gp.ehProof; in HierarchyGetProof()
169 proof = &gp.shProof; in HierarchyGetProof()
173 proof = &gr.nullProof; in HierarchyGetProof()
176 return proof; in HierarchyGetProof()
/external/avb/libavb_aftl/
Davb_aftl_util.h75 uint8_t* proof, /* The hashes in the inclusion proof. */
83 uint8_t* proof, /* The hashes in the inclusion proof. */
96 uint8_t proof[][AVB_AFTL_HASH_SIZE], /* Inclusion proof hash data. */
Davb_aftl_util.c116 uint8_t* proof, in avb_aftl_chain_border_right() argument
125 avb_assert(seed != NULL && proof != NULL && hash != NULL); in avb_aftl_chain_border_right()
133 retval = avb_aftl_rfc6962_hash_children(proof + (i * AVB_AFTL_HASH_SIZE), in avb_aftl_chain_border_right()
154 uint8_t* proof, in avb_aftl_chain_inner() argument
164 avb_assert(seed != NULL && proof != NULL && hash != NULL); in avb_aftl_chain_inner()
175 proof + (i * AVB_AFTL_HASH_SIZE), in avb_aftl_chain_inner()
179 retval = avb_aftl_rfc6962_hash_children(proof + (i * AVB_AFTL_HASH_SIZE), in avb_aftl_chain_inner()
231 uint8_t proof[][AVB_AFTL_HASH_SIZE], in avb_aftl_root_from_icp()
246 avb_assert(proof != NULL && leaf_hash != NULL && root_hash != NULL); in avb_aftl_root_from_icp()
273 inner_proof + (AVB_AFTL_HASH_SIZE * i), proof[i], AVB_AFTL_HASH_SIZE); in avb_aftl_root_from_icp()
[all …]
DREADME.md36 integration into the log, the AFTL personality returns the inclusion proof back
37 to the `aftltool`, which in turn incorporates the inclusion proof with the
61 inclusion proof has associated metadata, such as the transparency log URL. A
72 inclusion proof from a specific transparency log server for a given [VBMeta
74 given the corresponding transparency log public key. The inclusion proof
85 An inclusion proof allows a user to prove that a specific VBMeta structure is
86 included in a transparency log. An inclusion proof consists of three parts:
98 Validation of an inclusion proof can be performed with the following steps,
106 inclusion proof, attempt to recalculate the root hash. Details of the process
110 inclusion proof. If it matches, continue validation.
[all …]
/external/avb/proto/
Dapi.proto23 trillian.Proof proof = 1; field
42 // Inclusion proof and the leaf that was added to the log, which contains
44 // It is required to have the complete leaf to validate the inclusion proof.
50 // Inclusion proof and leaf that was added to the log, which contains the full
74 // Inclusion proof and leaf for the firmware image. The leaf contains the URL
Dtrillian.proto307 // Proof holds a consistency or inclusion proof for a Merkle tree, as returned
311 // a leaf inclusion proof. This field is set to zero when this message is
312 // used for a consistency proof.
/external/avb/
Daftltool166 def chain_border_right(seed, proof): argument
176 for h in proof:
181 def chain_inner(seed, proof, leaf_index): argument
192 for i, h in enumerate(proof):
200 def root_from_icp(leaf_index, tree_size, proof, leaf_hash): argument
222 if proof is None:
229 result = chain_inner(leaf_hash, proof[:inner], leaf_index)
230 result = chain_border_right(result, proof[inner:])
425 proof = proof_bytes[proof_idx:(proof_idx+hash_size)]
426 self.proofs.append(proof)
[all …]
Daftltool.py166 def chain_border_right(seed, proof): argument
176 for h in proof:
181 def chain_inner(seed, proof, leaf_index): argument
192 for i, h in enumerate(proof):
200 def root_from_icp(leaf_index, tree_size, proof, leaf_hash): argument
222 if proof is None:
229 result = chain_inner(leaf_hash, proof[:inner], leaf_index)
230 result = chain_border_right(result, proof[inner:])
425 proof = proof_bytes[proof_idx:(proof_idx+hash_size)]
426 self.proofs.append(proof)
[all …]
Daftltool_test.py323 self.test_avbm_resp.annotation_proof.proof.leaf_index = 9127
334 self.test_avbm_resp.annotation_proof.proof.hashes.append(
833 self.test_avbm_resp.annotation_proof.proof.hashes)
1359 self.test_avbm_resp.annotation_proof.proof.leaf_index)
1361 len(self.test_avbm_resp.annotation_proof.proof.hashes))
1382 self.test_avbm_resp.annotation_proof.proof.hashes)
/external/python/cryptography/docs/hazmat/primitives/asymmetric/
Dindex.rst15 can be combined with a `proof of identity`_ system to know what entity (person
36 .. _`proof of identity`: https://en.wikipedia.org/wiki/Public-key_infrastructure
/external/boringssl/src/crypto/trust_token/
Dvoprf.c489 CBB proof; in voprf_sign() local
490 if (!CBB_add_u16_length_prefixed(cbb, &proof) || in voprf_sign()
491 !dleq_generate(method, &proof, key, &BT_batch, &Z_batch) || in voprf_sign()
618 CBS proof; in STACK_OF() local
619 if (!CBS_get_u16_length_prefixed(cbs, &proof) || in STACK_OF()
620 !dleq_verify(method, &proof, key, &BT_batch, &Z_batch) || in STACK_OF()
621 CBS_len(&proof) != 0) { in STACK_OF()
Dpmbtoken.c846 CBB proof; in pmbtoken_sign() local
847 if (!CBB_add_u16_length_prefixed(cbb, &proof) || in pmbtoken_sign()
848 !dleq_generate(method, &proof, key, &Tp_batch, &Sp_batch, &Wp_batch, in pmbtoken_sign()
1012 CBS proof; in STACK_OF() local
1013 if (!CBS_get_u16_length_prefixed(cbs, &proof) || in STACK_OF()
1014 !dleq_verify(method, &proof, key, &Tp_batch, &Sp_batch, &Wp_batch, in STACK_OF()
1016 CBS_len(&proof) != 0) { in STACK_OF()
/external/python/parse_type/py.requirements/
Dci.travis.txt8 # -- NEEDED: By some tests (as proof of concept)
/external/rust/crates/quiche/deps/boringssl/src/crypto/trust_token/
Dpmbtoken.c847 CBB proof; in pmbtoken_sign() local
848 if (!CBB_add_u16_length_prefixed(cbb, &proof) || in pmbtoken_sign()
849 !dleq_generate(method, &proof, key, &Tp_batch, &Sp_batch, &Wp_batch, in pmbtoken_sign()
931 CBS proof; in STACK_OF() local
948 if(!CBS_get_u16_length_prefixed(cbs, &proof)) { in STACK_OF()
953 if (!dleq_verify(method, &proof, key, &Tp, &Sp, &Wp, &Wsp)) { in STACK_OF()
957 if (CBS_len(&proof) != 0) { in STACK_OF()
1040 CBS proof; in STACK_OF() local
1041 if (!CBS_get_u16_length_prefixed(cbs, &proof) || in STACK_OF()
1042 !dleq_verify(method, &proof, key, &Tp_batch, &Sp_batch, &Wp_batch, in STACK_OF()
[all …]
/external/python/cpython2/Demo/threads/
DREADME3 These are mostly "proof of concept" type applications:
/external/curl/tests/data/
Dtest2216 This is the proof it works
Dtest1716 This is the proof it works
Dtest5617 This is the proof it works
/external/openscreen/osp/msgs/
Dosp_messages.cddl57 2: bytes ; proof
83 proof-invalid: 2
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py2059 proof = 0
2063 nonlocal proof
2067 proof += 1
2073 nonlocal proof
2077 proof += 100 # Expect this path.
2079 proof += 10
2085 self.assertEqual(proof, 101)
2091 proof = 0
2095 nonlocal proof
2097 proof += 1
[all …]
/external/libwebsockets/READMEs/
DREADME.lws_retry.md31 reconfirm that a connection is still operable if proof of validity
55 to a proof of connection validity using an api. This resets the timer for
/external/python/cpython3/Modules/_decimal/libmpdec/literature/
Dmulmod-ppro.txt13 The proof follows an argument made by Granlund/Montgomery in [2].
139 (* Coq proof for (10) and (11) *)

12345