/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Native/Unix/System.Security.Cryptography.Native.Apple/ |
H A D | pal_hmac.cpp | 73 HmacCtx* hmacCtx = reinterpret_cast<HmacCtx*>(malloc(sizeof(HmacCtx))); in AppleCryptoNative_HmacCreate() local 74 if (hmacCtx == nullptr) in AppleCryptoNative_HmacCreate() 75 return hmacCtx; in AppleCryptoNative_HmacCreate() 77 hmacCtx->appleAlgId = appleAlgId; in AppleCryptoNative_HmacCreate() 79 return hmacCtx; in AppleCryptoNative_HmacCreate()
|
/dports/net/wangle/wangle-2021.12.27.00/wangle/ssl/ |
H A D | TLSTicketKeyManager.cpp | 105 HMAC_CTX* hmacCtx, in ticketCallback() argument 110 result = encryptCallback(keyName, iv, cipherCtx, hmacCtx); in ticketCallback() 117 result = decryptCallback(keyName, iv, cipherCtx, hmacCtx); in ticketCallback() 133 HMAC_CTX* hmacCtx) { in encryptCallback() argument 159 hmacCtx, hmacKey, SHA256_DIGEST_LENGTH / 2, EVP_sha256(), nullptr); in encryptCallback() 169 HMAC_CTX* hmacCtx) { in decryptCallback() argument 189 hmacCtx, hmacKey, SHA256_DIGEST_LENGTH / 2, EVP_sha256(), nullptr); in decryptCallback()
|
H A D | TLSTicketKeyManager.h | 64 HMAC_CTX* hmacCtx, 117 HMAC_CTX* hmacCtx); 123 HMAC_CTX* hmacCtx);
|
/dports/security/xmlsec1/xmlsec1-1.2.29/src/openssl/ |
H A D | hmac.c | 88 HMAC_CTX* hmacCtx; member 239 ctx->hmacCtx = HMAC_CTX_new(); in xmlSecOpenSSLHmacInitialize() 240 if(ctx->hmacCtx == NULL) { in xmlSecOpenSSLHmacInitialize() 260 if(ctx->hmacCtx != NULL) { in xmlSecOpenSSLHmacFinalize() 261 HMAC_CTX_free(ctx->hmacCtx); in xmlSecOpenSSLHmacFinalize() 343 xmlSecAssert2(ctx->hmacCtx != NULL, -1); in xmlSecOpenSSLHmacSetKey() 360 ret = HMAC_Init_ex(ctx->hmacCtx, in xmlSecOpenSSLHmacSetKey() 446 xmlSecAssert2(ctx->hmacCtx != NULL, -1); in xmlSecOpenSSLHmacExecute() 458 ret = HMAC_Update(ctx->hmacCtx, xmlSecBufferGetData(in), inSize); in xmlSecOpenSSLHmacExecute() 477 ret = HMAC_Final(ctx->hmacCtx, ctx->dgst, &dgstSize); in xmlSecOpenSSLHmacExecute()
|
/dports/security/libzrtpcppcore/ZRTPCPP-4.6.6/demo/ |
H A D | sdestest.cpp | 164 void* hmacCtx; in expand() local 182 hmacCtx = createSha256HmacContext(prk, prkLen); in expand() 198 hmacSha256Ctx(hmacCtx, data, dataLen, T + ((i-1) * hashLen), &macLength); in expand() 204 freeSha256HmacContext(hmacCtx); in expand()
|
/dports/devel/folly/folly-2021.12.27.00/folly/ssl/ |
H A D | OpenSSLTicketHandler.h | 52 HMAC_CTX* hmacCtx,
|
/dports/security/libzrtpcppcore/ZRTPCPP-4.6.6/zrtp/ |
H A D | ZrtpSdesStream.cpp | 427 void* hmacCtx; in expand() local 445 hmacCtx = createSha384HmacContext(prk, prkLen); in expand() 466 hmacSha384Ctx(hmacCtx, data, dataLen, T + ((i-1) * hashLen), &macLength); in expand() 473 freeSha384HmacContext(hmacCtx); in expand()
|
/dports/security/libzrtpcppcore/ZRTPCPP-4.6.6/srtp/ |
H A D | CryptoContextCtrl.cpp | 309 macCtx = &hmacCtx.hmacSha1Ctx; in deriveSrtcpKeys() 313 macCtx = &hmacCtx.hmacSkeinCtx; in deriveSrtcpKeys()
|
H A D | CryptoContextCtrl.h | 337 HmacCtx hmacCtx; variable
|
H A D | CryptoContext.cpp | 312 macCtx = &hmacCtx.hmacSha1Ctx; in deriveSrtpKeys() 316 macCtx = &hmacCtx.hmacSkeinCtx; in deriveSrtpKeys()
|
H A D | CryptoContext.h | 466 HmacCtx hmacCtx; variable
|
/dports/devel/folly/folly-2021.12.27.00/folly/io/async/ |
H A D | SSLContext.cpp | 112 HMAC_CTX* hmacCtx, in dispatchTicketCrypto() argument 122 return handler->ticketCallback(ssl, keyName, iv, cipherCtx, hmacCtx, encrypt); in dispatchTicketCrypto()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/security/nss/lib/ssl/ |
H A D | tls13con.c | 3374 PK11Context *hmacCtx = NULL; in tls13_ComputeFinished() local 3398 hmacCtx = PK11_CreateContextBySymKey(macAlg, CKA_SIGN, in tls13_ComputeFinished() 3400 if (!hmacCtx) { in tls13_ComputeFinished() 3404 rv = PK11_DigestBegin(hmacCtx); in tls13_ComputeFinished() 3408 rv = PK11_DigestOp(hmacCtx, hashes->u.raw, hashes->len); in tls13_ComputeFinished() 3413 rv = PK11_DigestFinal(hmacCtx, output, &outputLenUint, maxOutputLen); in tls13_ComputeFinished() 3419 PK11_DestroyContext(hmacCtx, PR_TRUE); in tls13_ComputeFinished() 3427 if (hmacCtx) { in tls13_ComputeFinished() 3428 PK11_DestroyContext(hmacCtx, PR_TRUE); in tls13_ComputeFinished()
|
/dports/lang/spidermonkey60/firefox-60.9.0/security/nss/lib/ssl/ |
H A D | tls13con.c | 3965 PK11Context *hmacCtx = NULL; in tls13_ComputeFinished() local 3989 hmacCtx = PK11_CreateContextBySymKey(macAlg, CKA_SIGN, in tls13_ComputeFinished() 3991 if (!hmacCtx) { in tls13_ComputeFinished() 3995 rv = PK11_DigestBegin(hmacCtx); in tls13_ComputeFinished() 3999 rv = PK11_DigestOp(hmacCtx, hashes->u.raw, hashes->len); in tls13_ComputeFinished() 4004 rv = PK11_DigestFinal(hmacCtx, output, &outputLenUint, maxOutputLen); in tls13_ComputeFinished() 4010 PK11_DestroyContext(hmacCtx, PR_TRUE); in tls13_ComputeFinished() 4018 if (hmacCtx) { in tls13_ComputeFinished() 4019 PK11_DestroyContext(hmacCtx, PR_TRUE); in tls13_ComputeFinished()
|
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/lib/ssl/ |
H A D | tls13con.c | 4422 PK11Context *hmacCtx = NULL; in tls13_ComputeFinished() local 4447 hmacCtx = PK11_CreateContextBySymKey(macAlg, CKA_SIGN, in tls13_ComputeFinished() 4449 if (!hmacCtx) { in tls13_ComputeFinished() 4453 rv = PK11_DigestBegin(hmacCtx); in tls13_ComputeFinished() 4457 rv = PK11_DigestOp(hmacCtx, hashes->u.raw, hashes->len); in tls13_ComputeFinished() 4462 rv = PK11_DigestFinal(hmacCtx, output, &outputLenUint, maxOutputLen); in tls13_ComputeFinished() 4468 PK11_DestroyContext(hmacCtx, PR_TRUE); in tls13_ComputeFinished() 4477 if (hmacCtx) { in tls13_ComputeFinished() 4478 PK11_DestroyContext(hmacCtx, PR_TRUE); in tls13_ComputeFinished()
|
/dports/www/firefox-esr/firefox-91.8.0/security/nss/lib/ssl/ |
H A D | tls13con.c | 4669 PK11Context *hmacCtx = NULL; 4692 hmacCtx = PK11_CreateContextBySymKey(macAlg, CKA_SIGN, 4694 if (!hmacCtx) { 4698 rv = PK11_DigestBegin(hmacCtx); 4702 rv = PK11_DigestOp(hmacCtx, hashes->u.raw, hashes->len); 4707 rv = PK11_DigestFinal(hmacCtx, output, &outputLenUint, maxOutputLen); 4713 PK11_DestroyContext(hmacCtx, PR_TRUE); 4722 if (hmacCtx) { 4723 PK11_DestroyContext(hmacCtx, PR_TRUE);
|
/dports/security/ca_root_nss/nss-3.71/nss/lib/ssl/ |
H A D | tls13con.c | 4669 PK11Context *hmacCtx = NULL; local 4692 hmacCtx = PK11_CreateContextBySymKey(macAlg, CKA_SIGN, 4694 if (!hmacCtx) { 4698 rv = PK11_DigestBegin(hmacCtx); 4702 rv = PK11_DigestOp(hmacCtx, hashes->u.raw, hashes->len); 4707 rv = PK11_DigestFinal(hmacCtx, output, &outputLenUint, maxOutputLen); 4713 PK11_DestroyContext(hmacCtx, PR_TRUE); 4722 if (hmacCtx) { 4723 PK11_DestroyContext(hmacCtx, PR_TRUE);
|
/dports/www/firefox/firefox-99.0/security/nss/lib/ssl/ |
H A D | tls13con.c | 4706 PK11Context *hmacCtx = NULL; local 4729 hmacCtx = PK11_CreateContextBySymKey(macAlg, CKA_SIGN, 4731 if (!hmacCtx) { 4735 rv = PK11_DigestBegin(hmacCtx); 4739 rv = PK11_DigestOp(hmacCtx, hashes->u.raw, hashes->len); 4744 rv = PK11_DigestFinal(hmacCtx, output, &outputLenUint, maxOutputLen); 4750 PK11_DestroyContext(hmacCtx, PR_TRUE); 4759 if (hmacCtx) { 4760 PK11_DestroyContext(hmacCtx, PR_TRUE);
|
/dports/security/nss/nss-3.76.1/nss/lib/ssl/ |
H A D | tls13con.c | 4706 PK11Context *hmacCtx = NULL; local 4729 hmacCtx = PK11_CreateContextBySymKey(macAlg, CKA_SIGN, 4731 if (!hmacCtx) { 4735 rv = PK11_DigestBegin(hmacCtx); 4739 rv = PK11_DigestOp(hmacCtx, hashes->u.raw, hashes->len); 4744 rv = PK11_DigestFinal(hmacCtx, output, &outputLenUint, maxOutputLen); 4750 PK11_DestroyContext(hmacCtx, PR_TRUE); 4759 if (hmacCtx) { 4760 PK11_DestroyContext(hmacCtx, PR_TRUE);
|
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/lib/ssl/ |
H A D | tls13con.c | 4669 PK11Context *hmacCtx = NULL; local 4692 hmacCtx = PK11_CreateContextBySymKey(macAlg, CKA_SIGN, 4694 if (!hmacCtx) { 4698 rv = PK11_DigestBegin(hmacCtx); 4702 rv = PK11_DigestOp(hmacCtx, hashes->u.raw, hashes->len); 4707 rv = PK11_DigestFinal(hmacCtx, output, &outputLenUint, maxOutputLen); 4713 PK11_DestroyContext(hmacCtx, PR_TRUE); 4722 if (hmacCtx) { 4723 PK11_DestroyContext(hmacCtx, PR_TRUE);
|
/dports/security/wolfssl/wolfssl-5.1.0/src/ |
H A D | ssl.c | 50471 WOLFSSL_HMAC_CTX hmacCtx; local 50488 if (wolfSSL_HMAC_CTX_Init(&hmacCtx) != WOLFSSL_SUCCESS) { 50493 iv, &evpCtx, &hmacCtx, enc); 50513 if (!wolfSSL_HMAC_Update(&hmacCtx, encTicket, encTicketLen)) 50517 if (hmacCtx.hmac.macType == WC_SHA512) 50520 if (!wolfSSL_HMAC_Final(&hmacCtx, mac, &mdSz)) 50526 if (!wolfSSL_HMAC_Update(&hmacCtx, encTicket, encTicketLen)) 50528 if (!wolfSSL_HMAC_Final(&hmacCtx, digest, &mdSz))
|
/dports/databases/mariadb105-client/mariadb-10.5.15/extra/wolfssl/wolfssl/src/ |
H A D | ssl.c | 50471 WOLFSSL_HMAC_CTX hmacCtx; local 50488 if (wolfSSL_HMAC_CTX_Init(&hmacCtx) != WOLFSSL_SUCCESS) { 50493 iv, &evpCtx, &hmacCtx, enc); 50513 if (!wolfSSL_HMAC_Update(&hmacCtx, encTicket, encTicketLen)) 50517 if (hmacCtx.hmac.macType == WC_SHA512) 50520 if (!wolfSSL_HMAC_Final(&hmacCtx, mac, &mdSz)) 50526 if (!wolfSSL_HMAC_Update(&hmacCtx, encTicket, encTicketLen)) 50528 if (!wolfSSL_HMAC_Final(&hmacCtx, digest, &mdSz))
|
/dports/databases/mariadb104-server/mariadb-10.4.24/extra/wolfssl/wolfssl/src/ |
H A D | ssl.c | 50471 WOLFSSL_HMAC_CTX hmacCtx; local 50488 if (wolfSSL_HMAC_CTX_Init(&hmacCtx) != WOLFSSL_SUCCESS) { 50493 iv, &evpCtx, &hmacCtx, enc); 50513 if (!wolfSSL_HMAC_Update(&hmacCtx, encTicket, encTicketLen)) 50517 if (hmacCtx.hmac.macType == WC_SHA512) 50520 if (!wolfSSL_HMAC_Final(&hmacCtx, mac, &mdSz)) 50526 if (!wolfSSL_HMAC_Update(&hmacCtx, encTicket, encTicketLen)) 50528 if (!wolfSSL_HMAC_Final(&hmacCtx, digest, &mdSz))
|
/dports/databases/mariadb104-client/mariadb-10.4.24/extra/wolfssl/wolfssl/src/ |
H A D | ssl.c | 50471 WOLFSSL_HMAC_CTX hmacCtx; local 50488 if (wolfSSL_HMAC_CTX_Init(&hmacCtx) != WOLFSSL_SUCCESS) { 50493 iv, &evpCtx, &hmacCtx, enc); 50513 if (!wolfSSL_HMAC_Update(&hmacCtx, encTicket, encTicketLen)) 50517 if (hmacCtx.hmac.macType == WC_SHA512) 50520 if (!wolfSSL_HMAC_Final(&hmacCtx, mac, &mdSz)) 50526 if (!wolfSSL_HMAC_Update(&hmacCtx, encTicket, encTicketLen)) 50528 if (!wolfSSL_HMAC_Final(&hmacCtx, digest, &mdSz))
|
/dports/databases/mariadb105-server/mariadb-10.5.15/extra/wolfssl/wolfssl/src/ |
H A D | ssl.c | 50471 WOLFSSL_HMAC_CTX hmacCtx; local 50488 if (wolfSSL_HMAC_CTX_Init(&hmacCtx) != WOLFSSL_SUCCESS) { 50493 iv, &evpCtx, &hmacCtx, enc); 50513 if (!wolfSSL_HMAC_Update(&hmacCtx, encTicket, encTicketLen)) 50517 if (hmacCtx.hmac.macType == WC_SHA512) 50520 if (!wolfSSL_HMAC_Final(&hmacCtx, mac, &mdSz)) 50526 if (!wolfSSL_HMAC_Update(&hmacCtx, encTicket, encTicketLen)) 50528 if (!wolfSSL_HMAC_Final(&hmacCtx, digest, &mdSz))
|