Home
last modified time | relevance | path

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

/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Attestation/
DCertifyX509.c76 ASN1MarshalContext ctxOut; in TPM2_CertifyX509() local
179 ASN1InitialializeMarshalContext(&ctxOut, sizeof(out->addedToCertificate.t.buffer), in TPM2_CertifyX509()
182 ASN1StartMarshalContext(&ctxOut); // SEQUENCE for addedToCertificate in TPM2_CertifyX509()
185 certTBS[SUBJECT_PUBLIC_KEY_REF].len = X509AddPublicKey(&ctxOut, object); in TPM2_CertifyX509()
186 certTBS[SUBJECT_PUBLIC_KEY_REF].buf = ctxOut.buffer + ctxOut.offset; in TPM2_CertifyX509()
190 certTBS[SIGNATURE_REF].len = X509AddSigningAlgorithm(&ctxOut, signKey, in TPM2_CertifyX509()
192 certTBS[SIGNATURE_REF].buf = ctxOut.buffer + ctxOut.offset; in TPM2_CertifyX509()
218 ASN1PushInteger(&ctxOut, out->tbsDigest.t.size, out->tbsDigest.t.buffer); in TPM2_CertifyX509()
219 certTBS[SERIAL_NUMBER_REF].buf = ctxOut.buffer + ctxOut.offset; in TPM2_CertifyX509()
222 ASN1StartMarshalContext(&ctxOut); in TPM2_CertifyX509()
[all …]