Searched refs:ctx_tmp (Results 1 – 2 of 2) sorted by relevance
/external/openssl/crypto/pkcs7/ |
D | pk7_doit.c | 605 EVP_MD_CTX *mdc,ctx_tmp; in PKCS7_dataFinal() local 610 EVP_MD_CTX_init(&ctx_tmp); in PKCS7_dataFinal() 680 EVP_MD_CTX_copy_ex(&ctx_tmp,mdc); in PKCS7_dataFinal() 719 md_tmp=EVP_MD_CTX_md(&ctx_tmp); in PKCS7_dataFinal() 720 EVP_DigestFinal_ex(&ctx_tmp,md_data,&md_len); in PKCS7_dataFinal() 744 EVP_SignInit_ex(&ctx_tmp,md_tmp,NULL); in PKCS7_dataFinal() 748 EVP_SignUpdate(&ctx_tmp,abuf,alen); in PKCS7_dataFinal() 754 ctx_tmp.digest=EVP_dss1(); in PKCS7_dataFinal() 758 ctx_tmp.digest=EVP_ecdsa(); in PKCS7_dataFinal() 761 if (!EVP_SignFinal(&ctx_tmp,(unsigned char *)buf->data, in PKCS7_dataFinal() [all …]
|
/external/openssl/ssl/ |
D | t1_enc.c | 126 HMAC_CTX ctx_tmp; in tls1_P_hash() local 133 HMAC_CTX_init(&ctx_tmp); in tls1_P_hash() 135 HMAC_Init_ex(&ctx_tmp,sec,sec_len,md, NULL); in tls1_P_hash() 143 HMAC_Init_ex(&ctx_tmp,NULL,0,NULL,NULL); /* re-init */ in tls1_P_hash() 145 HMAC_Update(&ctx_tmp,A1,A1_len); in tls1_P_hash() 153 HMAC_Final(&ctx_tmp,A1,&A1_len); /* calc the next A1 value */ in tls1_P_hash() 163 HMAC_CTX_cleanup(&ctx_tmp); in tls1_P_hash()
|