HomeSort by relevance Sort by last modified time
    Searched refs:hashContext (Results 1 - 2 of 2) sorted by null

  /external/libchrome/crypto/third_party/nss/
rsawrapr.c 27 void *hashContext;
34 hashContext = (*hash->create)();
44 (*hash->begin)(hashContext);
45 (*hash->update)(hashContext, mgfSeed, mgfSeedLen);
46 (*hash->update)(hashContext, C, sizeof C);
50 (*hash->end)(hashContext, tempHash, &digestLen, hash->length);
53 (*hash->end)(hashContext, temp, &digestLen, hash->length);
58 (*hash->destroy)(hashContext, PR_TRUE);
  /external/tpm2/
CpriHash.c 509 EVP_MD_CTX hashContext;
519 EVP_MD_CTX_init(&hashContext); // Initialize the local hash context
523 || (EVP_DigestInit_ex(&hashContext, hashServer, NULL) != 1)
524 || (EVP_DigestUpdate(&hashContext, data, dataSize) != 1))
533 if(EVP_DigestFinal_ex(&hashContext, b, &dSize) != 1)
540 if((EVP_DigestFinal_ex(&hashContext, digest, &dSize)) != 1)
545 EVP_MD_CTX_cleanup(&hashContext);
672 EVP_MD_CTX hashContext;
688 EVP_MD_CTX_init(&hashContext); // Initialize the local hash context
698 if( (EVP_DigestInit_ex(&hashContext, hashServer, NULL) != 1
    [all...]

Completed in 853 milliseconds