/external/chromium/crypto/ |
signature_creator_nss.cc | 18 if (sign_context_) { 19 SGN_DestroyContext(sign_context_, PR_TRUE); 20 sign_context_ = NULL; 29 result->sign_context_ = SGN_NewContext(SEC_OID_PKCS1_SHA1_WITH_RSA_ENCRYPTION, 31 if (!result->sign_context_) { 36 SECStatus rv = SGN_Begin(result->sign_context_); 48 SECStatus rv = SGN_Update(sign_context_, 61 SECStatus rv = SGN_End(sign_context_, &signature_item); 72 SignatureCreator::SignatureCreator() : sign_context_(NULL) {
|
signature_creator_openssl.cc | 21 if (!EVP_SignInit_ex(result->sign_context_, EVP_sha1(), NULL)) 27 : sign_context_(EVP_MD_CTX_create()) { 31 EVP_MD_CTX_destroy(sign_context_); 36 return EVP_SignUpdate(sign_context_, data_part, data_part_len) == 1; 45 int rv = EVP_SignFinal(sign_context_, vector_as_array(signature), &len, key);
|
signature_creator.h | 55 EVP_MD_CTX* sign_context_; member in class:crypto::SignatureCreator 57 SGNContextStr* sign_context_; member in class:crypto::SignatureCreator
|
/external/chromium_org/crypto/ |
signature_creator_nss.cc | 19 if (sign_context_) { 20 SGN_DestroyContext(sign_context_, PR_TRUE); 21 sign_context_ = NULL; 30 result->sign_context_ = SGN_NewContext(SEC_OID_PKCS1_SHA1_WITH_RSA_ENCRYPTION, 32 if (!result->sign_context_) { 37 SECStatus rv = SGN_Begin(result->sign_context_); 70 SECStatus rv = SGN_Update(sign_context_, data_part, data_part_len); 81 SECStatus rv = SGN_End(sign_context_, &signature_item); 93 sign_context_(NULL) {
|
signature_creator_openssl.cc | 23 if (!EVP_SignInit_ex(result->sign_context_, EVP_sha1(), NULL)) 50 : sign_context_(EVP_MD_CTX_create()) { 54 EVP_MD_CTX_destroy(sign_context_); 59 return EVP_SignUpdate(sign_context_, data_part, data_part_len) == 1; 68 int rv = EVP_SignFinal(sign_context_, vector_as_array(signature), &len, key);
|
signature_creator.h | 57 EVP_MD_CTX* sign_context_; member in class:crypto::SignatureCreator 59 SGNContextStr* sign_context_; member in class:crypto::SignatureCreator
|