Searched refs:abuf (Results 1 – 4 of 4) sorted by relevance
/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 896 OPENSSL_free(abuf); in PKCS7_dataFinal() 950 unsigned char *abuf = NULL; in PKCS7_SIGNER_INFO_sign() local 974 if (alen < 0 || abuf == NULL) in PKCS7_SIGNER_INFO_sign() 978 OPENSSL_free(abuf); in PKCS7_SIGNER_INFO_sign() 979 abuf = NULL; in PKCS7_SIGNER_INFO_sign() 982 abuf = OPENSSL_malloc(siglen); in PKCS7_SIGNER_INFO_sign() 983 if (abuf == NULL) in PKCS7_SIGNER_INFO_sign() 995 OPENSSL_free(abuf); in PKCS7_SIGNER_INFO_sign() 1072 unsigned char *abuf = NULL; in PKCS7_signatureVerify() local 1157 if (alen <= 0 || abuf == NULL) { in PKCS7_signatureVerify() [all …]
|
/openssl/test/ |
H A D | dhtest.c | 51 unsigned char *abuf = NULL; in dh_test() local 210 if (!TEST_ptr(abuf = OPENSSL_malloc(alen)) in dh_test() 211 || !TEST_true((aout = DH_compute_key(abuf, bpub_key, a)) != -1)) in dh_test() 225 || !TEST_mem_eq(abuf, aout, bbuf, bout) in dh_test() 226 || !TEST_mem_eq(abuf, aout, cbuf, cout)) in dh_test() 242 OPENSSL_free(abuf); in dh_test() 666 unsigned char *abuf = NULL; in rfc7919_test() local 696 if (!TEST_int_gt(alen, 0) || !TEST_ptr(abuf = OPENSSL_malloc(alen)) in rfc7919_test() 697 || !TEST_true((aout = DH_compute_key(abuf, bpub_key, a)) != -1)) in rfc7919_test() 706 || !TEST_mem_eq(abuf, aout, bbuf, bout)) in rfc7919_test() [all …]
|
/openssl/crypto/cms/ |
H A D | cms_sd.c | 832 unsigned char *abuf = NULL; in CMS_SignerInfo_sign() local 865 if (alen < 0 || abuf == NULL) in CMS_SignerInfo_sign() 871 OPENSSL_free(abuf); in CMS_SignerInfo_sign() 872 abuf = OPENSSL_malloc(siglen); in CMS_SignerInfo_sign() 873 if (abuf == NULL) in CMS_SignerInfo_sign() 880 ASN1_STRING_set0(si->signature, abuf, siglen); in CMS_SignerInfo_sign() 885 OPENSSL_free(abuf); in CMS_SignerInfo_sign() 893 unsigned char *abuf = NULL; in CMS_SignerInfo_verify() local 947 if (abuf == NULL || alen < 0) in CMS_SignerInfo_verify() 949 r = EVP_DigestVerifyUpdate(mctx, abuf, alen); in CMS_SignerInfo_verify() [all …]
|
/openssl/ssl/ |
H A D | ssl_cert.c | 707 unsigned char *abuf = NULL, *bbuf = NULL; in xname_cmp() local 713 alen = i2d_X509_NAME((X509_NAME *)a, &abuf); in xname_cmp() 721 ret = memcmp(abuf, bbuf, alen); in xname_cmp() 723 OPENSSL_free(abuf); in xname_cmp()
|
Completed in 18 milliseconds