Searched refs:sign_context_ (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/crypto/ |
D | signature_creator_nss.cc | 44 if (sign_context_) { in ~SignatureCreator() 45 SGN_DestroyContext(sign_context_, PR_TRUE); in ~SignatureCreator() 46 sign_context_ = NULL; in ~SignatureCreator() 54 result->sign_context_ = SGN_NewContext(ToNSSSigOid(hash_alg), key->key()); in Create() 55 if (!result->sign_context_) { in Create() 60 SECStatus rv = SGN_Begin(result->sign_context_); in Create() 94 SECStatus rv = SGN_Update(sign_context_, data_part, data_part_len); in Update() 105 SECStatus rv = SGN_End(sign_context_, &signature_item); in Final() 115 SignatureCreator::SignatureCreator() : sign_context_(NULL) { in SignatureCreator()
|
D | signature_creator_openssl.cc | 54 if (!EVP_DigestSignInit(result->sign_context_, NULL, digest, NULL, in Create() 83 : sign_context_(EVP_MD_CTX_create()) { in SignatureCreator() 87 EVP_MD_CTX_destroy(sign_context_); in ~SignatureCreator() 92 return !!EVP_DigestSignUpdate(sign_context_, data_part, data_part_len); in Update() 100 if (!EVP_DigestSignFinal(sign_context_, NULL, &len)) { in Final() 107 if (!EVP_DigestSignFinal(sign_context_, signature->data(), &len)) { in Final()
|
D | signature_creator.h | 65 EVP_MD_CTX* sign_context_; variable 67 SGNContextStr* sign_context_; variable
|