| /src/crypto/external/bsd/openssl.old/dist/crypto/cms/ |
| cms_lib.c | 289 BIO *mdbio = NULL; local 299 mdbio = BIO_new(BIO_f_md()); 300 if (mdbio == NULL || !BIO_set_md(mdbio, digest)) { 304 return mdbio; 306 BIO_free(mdbio);
|
| cms_sd.c | 787 BIO *mdbio; local 789 mdbio = cms_DigestAlgorithm_init_bio(digestAlgorithm); 790 if (!mdbio) 793 BIO_push(chain, mdbio); 795 chain = mdbio;
|
| /src/crypto/external/bsd/openssl/dist/crypto/cms/ |
| cms_lib.c | 398 BIO *mdbio = NULL; local 422 mdbio = BIO_new(BIO_f_md()); 423 if (mdbio == NULL || BIO_set_md(mdbio, digest) <= 0) { 428 return mdbio; 431 BIO_free(mdbio);
|
| cms_sd.c | 942 BIO *mdbio; local 945 mdbio = ossl_cms_DigestAlgorithm_init_bio(digestAlgorithm, 947 if (mdbio == NULL) 950 BIO_push(chain, mdbio); 952 chain = mdbio;
|
| /src/crypto/external/apache2/openssl/dist/crypto/cms/ |
| cms_lib.c | 404 BIO *mdbio = NULL; local 429 mdbio = BIO_new(BIO_f_md()); 430 if (mdbio == NULL || BIO_set_md(mdbio, digest) <= 0) { 443 if (BIO_get_md_ctx(mdbio, &mdctx) <= 0 || mdctx == NULL) 453 return mdbio; 456 BIO_free(mdbio);
|
| cms_sd.c | 1025 BIO *mdbio; local 1028 mdbio = ossl_cms_DigestAlgorithm_init_bio(digestAlgorithm, 1030 if (mdbio == NULL) 1033 BIO_push(chain, mdbio); 1035 chain = mdbio;
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| evp_extra_test.c | 1370 BIO *mdbio = NULL, *membio = NULL; local 1386 mdbio = BIO_new(BIO_f_md()); 1387 if (!TEST_ptr(membio) || !TEST_ptr(mdbio)) 1389 BIO_push(mdbio, membio); 1390 if (!TEST_int_gt(BIO_get_md_ctx(mdbio, &md_ctx), 0)) 1426 if (!BIO_write_ex(mdbio, kMsg, sizeof(kMsg), &written)) 1473 if (!TEST_int_gt(BIO_reset(mdbio), 0) 1474 || !TEST_int_gt(BIO_get_md_ctx(mdbio, &md_ctx_verify), 0)) 1483 if (!TEST_true(BIO_write_ex(mdbio, kMsg, sizeof(kMsg), &written))) 1514 BIO_free(mdbio); [all...] |
| /src/crypto/external/apache2/openssl/dist/test/ |
| evp_extra_test.c | 1841 BIO *mdbio = NULL, *membio = NULL; local 1857 mdbio = BIO_new(BIO_f_md()); 1858 if (!TEST_ptr(membio) || !TEST_ptr(mdbio)) 1860 BIO_push(mdbio, membio); 1861 if (!TEST_int_gt(BIO_get_md_ctx(mdbio, &md_ctx), 0)) 1897 if (!BIO_write_ex(mdbio, kMsg, sizeof(kMsg), &written)) 1944 if (!TEST_int_gt(BIO_reset(mdbio), 0) 1945 || !TEST_int_gt(BIO_get_md_ctx(mdbio, &md_ctx_verify), 0)) 1954 if (!TEST_true(BIO_write_ex(mdbio, kMsg, sizeof(kMsg), &written))) 1985 BIO_free(mdbio); [all...] |