Home | History | Annotate | Download | only in tpm2

Lines Matching full:ctxt

83     EVP_MD_CTX         *ctxt,               // IN: Context to marshal
90 pAssert(ctxt->digest->ctx_size <= OSSL_HASH_STATE_DATA_SIZE);
92 memcpy(buf, (void*) ctxt->md_data, ctxt->digest->ctx_size);
93 return (UINT16)ctxt->digest->ctx_size;
104 EVP_MD_CTX *ctxt, // OUT: The context structure to receive the
111 pAssert(ctxt != NULL);
112 EVP_MD_CTX_init(ctxt);
116 // This also allocates the ctxt->md_data
117 if((EVP_DigestInit_ex(ctxt, evpmdAlgorithm, NULL)) != 1)
119 pAssert(ctxt->digest->ctx_size < sizeof(ALIGNED_HASH_STATE));
120 memcpy(ctxt->md_data, buf, ctxt->digest->ctx_size);
122 return (UINT16)ctxt->digest->ctx_size;