| /trueos/crypto/openssl/crypto/cms/ |
| HD | cms_dd.c | 109 unsigned int mdlen; in cms_DigestedData_do_final() local 119 if (EVP_DigestFinal_ex(&mctx, md, &mdlen) <= 0) in cms_DigestedData_do_final() 123 if (mdlen != (unsigned int)dd->digest->length) { in cms_DigestedData_do_final() 129 if (memcmp(md, dd->digest->data, mdlen)) in cms_DigestedData_do_final() 135 if (!ASN1_STRING_set(dd->digest, md, mdlen)) in cms_DigestedData_do_final()
|
| HD | cms_sd.c | 587 unsigned int mdlen; in cms_SignerInfo_content_sign() local 588 if (!EVP_DigestFinal_ex(&mctx, md, &mdlen)) in cms_SignerInfo_content_sign() 591 V_ASN1_OCTET_STRING, md, mdlen)) in cms_SignerInfo_content_sign()
|
| /trueos/crypto/openssl/crypto/evp/ |
| HD | m_sigver.c | 134 unsigned int mdlen; in EVP_DigestSignFinal() local 142 r = EVP_DigestFinal_ex(&tmp_ctx, md, &mdlen); in EVP_DigestSignFinal() 146 if (EVP_PKEY_sign(ctx->pctx, sigret, siglen, md, mdlen) <= 0) in EVP_DigestSignFinal() 168 unsigned int mdlen; in EVP_DigestVerifyFinal() local 182 r = EVP_DigestFinal_ex(&tmp_ctx, md, &mdlen); in EVP_DigestVerifyFinal() 186 return EVP_PKEY_verify(ctx->pctx, sig, siglen, md, mdlen); in EVP_DigestVerifyFinal()
|
| HD | p5_crpt2.c | 87 int cplen, j, k, tkeylen, mdlen; in PKCS5_PBKDF2_HMAC() local 91 mdlen = EVP_MD_size(digest); in PKCS5_PBKDF2_HMAC() 92 if (mdlen < 0) in PKCS5_PBKDF2_HMAC() 107 if (tkeylen > mdlen) in PKCS5_PBKDF2_HMAC() 108 cplen = mdlen; in PKCS5_PBKDF2_HMAC() 137 if (!HMAC_Update(&hctx, digtmp, mdlen) in PKCS5_PBKDF2_HMAC()
|
| /trueos/contrib/wpa/src/crypto/ |
| HD | crypto_openssl.c | 651 unsigned int mdlen; in crypto_hash_finish() local 662 mdlen = *len; in crypto_hash_finish() 664 HMAC_Final(&ctx->ctx, mac, &mdlen); in crypto_hash_finish() 667 res = HMAC_Final(&ctx->ctx, mac, &mdlen); in crypto_hash_finish() 673 *len = mdlen; in crypto_hash_finish() 703 unsigned int mdlen; in hmac_sha1_vector() local 717 mdlen = 20; in hmac_sha1_vector() 719 HMAC_Final(&ctx, mac, &mdlen); in hmac_sha1_vector() 722 res = HMAC_Final(&ctx, mac, &mdlen); in hmac_sha1_vector() 744 unsigned int mdlen; in hmac_sha256_vector() local [all …]
|
| /trueos/crypto/openssl/crypto/rsa/ |
| HD | rsa_oaep.c | 219 int mdlen; in PKCS1_MGF1() local 223 mdlen = EVP_MD_size(dgst); in PKCS1_MGF1() 224 if (mdlen < 0) in PKCS1_MGF1() 235 if (outlen + mdlen <= len) { in PKCS1_MGF1() 238 outlen += mdlen; in PKCS1_MGF1()
|
| /trueos/crypto/openssl/crypto/ocsp/ |
| HD | ocsp_vfy.c | 315 int mdlen; in ocsp_match_issuerid() local 323 mdlen = EVP_MD_size(dgst); in ocsp_match_issuerid() 324 if (mdlen < 0) in ocsp_match_issuerid() 326 if ((cid->issuerNameHash->length != mdlen) || in ocsp_match_issuerid() 327 (cid->issuerKeyHash->length != mdlen)) in ocsp_match_issuerid() 332 if (memcmp(md, cid->issuerNameHash->data, mdlen)) in ocsp_match_issuerid() 335 if (memcmp(md, cid->issuerKeyHash->data, mdlen)) in ocsp_match_issuerid()
|
| /trueos/contrib/wpa/src/eap_common/ |
| HD | eap_pwd_common.c | 46 size_t resultbytelen, len = 0, mdlen; in eap_pwd_kdf() local 63 mdlen = SHA256_MAC_LEN; in eap_pwd_kdf() 64 if (crypto_hash_finish(hash, digest, &mdlen) < 0) in eap_pwd_kdf() 66 if ((len + mdlen) > resultbytelen) in eap_pwd_kdf() 69 os_memcpy(result + len, digest, mdlen); in eap_pwd_kdf() 70 len += mdlen; in eap_pwd_kdf()
|
| /trueos/crypto/openssl/doc/crypto/ |
| HD | EVP_PKEY_verify.pod | 56 size_t mdlen, siglen; 58 /* NB: assumes verify_key, sig, siglen md and mdlen are already set up 72 ret = EVP_PKEY_verify(ctx, sig, siglen, md, mdlen);
|
| HD | EVP_PKEY_sign.pod | 59 size_t mdlen = 32, siglen; 78 if (EVP_PKEY_sign(ctx, NULL, &siglen, md, mdlen) <= 0) 86 if (EVP_PKEY_sign(ctx, sig, &siglen, md, mdlen) <= 0)
|
| HD | BIO_f_md.pod | 117 int mdlen; 126 mdlen = BIO_gets(mdtmp, mdbuf, EVP_MAX_MD_SIZE); 127 for(i = 0; i < mdlen; i++) printf(":%02X", mdbuf[i]);
|
| /trueos/crypto/openssl/crypto/pkcs7/ |
| HD | pk7_attr.c | 152 const unsigned char *md, int mdlen) in PKCS7_add1_attrib_digest() argument 158 if (!ASN1_STRING_set(os, md, mdlen) in PKCS7_add1_attrib_digest()
|
| HD | pkcs7.h | 363 const unsigned char *md, int mdlen);
|
| /trueos/sys/ia64/ia64/ |
| HD | machdep.c | 721 vm_size_t mdlen; in ia64_init() local 749 mdlen = md->md_pages * EFI_PAGE_SIZE; in ia64_init() 753 mdlen, VM_MEMATTR_UNCACHEABLE); in ia64_init() 757 ia64_pal_size = mdlen; in ia64_init() 765 ia64_physmem_track(md->md_phys, mdlen); in ia64_init() 773 ia64_physmem_add(md->md_phys, mdlen); in ia64_init()
|