Searched refs:hashContext (Results 1 - 2 of 2) sorted by relevance
/external/libchrome/crypto/third_party/nss/ |
H A D | rsawrapr.c | 27 void *hashContext; local 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/ |
H A D | CpriHash.c | 509 EVP_MD_CTX hashContext; local 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; local 688 EVP_MD_CTX_init(&hashContext); // Initialize the local hash context 698 if( (EVP_DigestInit_ex(&hashContext, hashServe [all...] |
Completed in 105 milliseconds