/dports/mail/cyrus-imapd30/cyrus-imapd-3.0.16/tools/ |
H A D | rehash | 196 my $tohash = $item; 199 $tohash =~ s/^.*?\Q$skiptochar//; 200 if ($skiptochar eq '/' and $tohash =~ m/\./) { 202 $tohash = $item; 203 $tohash =~ s{/.*$}{}; 207 return "$path/" . dir_hash_c($tohash) . "/$item";
|
/dports/mail/cyrus-imapd34/cyrus-imapd-3.4.2/tools/ |
H A D | rehash | 196 my $tohash = $item; 199 $tohash =~ s/^.*?\Q$skiptochar//; 200 if ($skiptochar eq '/' and $tohash =~ m/\./) { 202 $tohash = $item; 203 $tohash =~ s{/.*$}{}; 207 return "$path/" . dir_hash_c($tohash) . "/$item";
|
/dports/mail/cyrus-imapd32/cyrus-imapd-3.2.8/tools/ |
H A D | rehash | 196 my $tohash = $item; 199 $tohash =~ s/^.*?\Q$skiptochar//; 200 if ($skiptochar eq '/' and $tohash =~ m/\./) { 202 $tohash = $item; 203 $tohash =~ s{/.*$}{}; 207 return "$path/" . dir_hash_c($tohash) . "/$item";
|
/dports/www/nginx-full/nchan-1.2.12/src/store/redis/redis-lua-scripts/ |
H A D | get_message.lua | 59 local tohash=function(arr) function 80 local channel = tohash(redis.call('HGETALL', key.channel)) 114 local msg=tohash(redis.call('HGETALL', found_msg_key)) 131 local msg=tohash(redis.call('HGETALL', key.message))
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/providers/implementations/ciphers/ |
H A D | cipher_chacha20_poly1305_hw.c | 127 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 133 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 142 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 155 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 167 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 201 tohash = ctr; in chacha20_poly1305_tls_cipher() 243 Poly1305_Update(poly, tohash, tohash_len); in chacha20_poly1305_tls_cipher() 245 Poly1305_Final(poly, bctx->enc ? ctx->tag : tohash); in chacha20_poly1305_tls_cipher() 252 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/providers/implementations/ciphers/ |
H A D | cipher_chacha20_poly1305_hw.c | 127 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 133 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 142 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 155 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 167 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 201 tohash = ctr; in chacha20_poly1305_tls_cipher() 243 Poly1305_Update(poly, tohash, tohash_len); in chacha20_poly1305_tls_cipher() 245 Poly1305_Final(poly, bctx->enc ? ctx->tag : tohash); in chacha20_poly1305_tls_cipher() 252 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/security/acmed/acmed-0.18.0/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/providers/implementations/ciphers/ |
H A D | cipher_chacha20_poly1305_hw.c | 127 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 133 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 142 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 155 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 167 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 201 tohash = ctr; in chacha20_poly1305_tls_cipher() 243 Poly1305_Update(poly, tohash, tohash_len); in chacha20_poly1305_tls_cipher() 245 Poly1305_Final(poly, bctx->enc ? ctx->tag : tohash); in chacha20_poly1305_tls_cipher() 252 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/textproc/mdbook-linkcheck/mdbook-linkcheck-0.7.6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/providers/implementations/ciphers/ |
H A D | cipher_chacha20_poly1305_hw.c | 127 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 133 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 142 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 155 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 167 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 201 tohash = ctr; in chacha20_poly1305_tls_cipher() 243 Poly1305_Update(poly, tohash, tohash_len); in chacha20_poly1305_tls_cipher() 245 Poly1305_Final(poly, bctx->enc ? ctx->tag : tohash); in chacha20_poly1305_tls_cipher() 252 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/security/openssl-devel/openssl-3.0.2/providers/implementations/ciphers/ |
H A D | cipher_chacha20_poly1305_hw.c | 127 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 133 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 142 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 155 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 167 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 201 tohash = ctr; in chacha20_poly1305_tls_cipher() 243 Poly1305_Update(poly, tohash, tohash_len); in chacha20_poly1305_tls_cipher() 245 Poly1305_Final(poly, bctx->enc ? ctx->tag : tohash); in chacha20_poly1305_tls_cipher() 252 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/security/openssl-quictls/openssl-7f2ab56a2b842b8e6fefc7b9d20eb5ff9c6ef151/providers/implementations/ciphers/ |
H A D | cipher_chacha20_poly1305_hw.c | 127 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 133 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 142 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 155 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 167 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 201 tohash = ctr; in chacha20_poly1305_tls_cipher() 243 Poly1305_Update(poly, tohash, tohash_len); in chacha20_poly1305_tls_cipher() 245 Poly1305_Final(poly, bctx->enc ? ctx->tag : tohash); in chacha20_poly1305_tls_cipher() 252 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/textproc/xerces-c3/xerces-c-3.2.3/src/xercesc/util/ |
H A D | XMLString.hpp | 1596 inline XMLSize_t XMLString::hash(const XMLCh* const tohash in hash() argument 1599 if (tohash == 0 || *tohash == 0) in hash() 1602 const XMLCh* curCh = tohash; in hash() 1612 inline XMLSize_t XMLString::hashN(const XMLCh* const tohash in hashN() argument 1616 if (tohash == 0 || n == 0) in hashN() 1619 const XMLCh* curCh = tohash; in hashN()
|
/dports/biology/py-python-libsbml/python-libsbml-5.19.0/libsbml_dependencies/xerces-c/src/xercesc/util/ |
H A D | XMLString.hpp | 1585 inline XMLSize_t XMLString::hash(const XMLCh* const tohash in hash() argument 1588 if (tohash == 0 || *tohash == 0) in hash() 1591 const XMLCh* curCh = tohash; in hash() 1601 inline XMLSize_t XMLString::hashN(const XMLCh* const tohash in hashN() argument 1605 if (tohash == 0 || n == 0) in hashN() 1608 const XMLCh* curCh = tohash; in hashN()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 217 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 224 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 234 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 247 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 259 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 293 tohash = ctr; in chacha20_poly1305_tls_cipher() 342 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher() 345 : tohash); in chacha20_poly1305_tls_cipher() 352 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/openssl-src-111.16.0+1.1.1l/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 217 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 224 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 234 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 247 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 259 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 293 tohash = ctr; in chacha20_poly1305_tls_cipher() 342 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher() 345 : tohash); in chacha20_poly1305_tls_cipher() 352 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 219 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 226 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 236 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 249 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 261 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 295 tohash = ctr; in chacha20_poly1305_tls_cipher() 341 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher() 344 : tohash); in chacha20_poly1305_tls_cipher() 351 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 215 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 222 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 232 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 245 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 257 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 291 tohash = ctr; in chacha20_poly1305_tls_cipher() 340 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher() 343 : tohash); in chacha20_poly1305_tls_cipher() 350 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/openssl-src-111.9.0+1.1.1g/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 217 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 224 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 234 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 247 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 259 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 293 tohash = ctr; in chacha20_poly1305_tls_cipher() 342 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher() 345 : tohash); in chacha20_poly1305_tls_cipher() 352 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/openssl-src-300.0.2+3.0.0/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 219 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 226 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 236 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 249 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 261 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 295 tohash = ctr; in chacha20_poly1305_tls_cipher() 341 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher() 344 : tohash); in chacha20_poly1305_tls_cipher() 351 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/openssl-src-111.14.0+1.1.1j/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 217 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 224 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 234 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 247 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 259 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 293 tohash = ctr; in chacha20_poly1305_tls_cipher() 342 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher() 345 : tohash); in chacha20_poly1305_tls_cipher() 352 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 217 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 224 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 234 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 247 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 259 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 293 tohash = ctr; in chacha20_poly1305_tls_cipher() 342 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher() 345 : tohash); in chacha20_poly1305_tls_cipher() 352 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 217 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 224 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 234 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 247 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 259 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 293 tohash = ctr; in chacha20_poly1305_tls_cipher() 342 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher() 345 : tohash); in chacha20_poly1305_tls_cipher() 352 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 217 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 224 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 234 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 247 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 259 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 293 tohash = ctr; in chacha20_poly1305_tls_cipher() 342 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher() 345 : tohash); in chacha20_poly1305_tls_cipher() 352 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/openssl-src-111.16.0+1.1.1l/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 217 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 224 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 234 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 247 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 259 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 293 tohash = ctr; in chacha20_poly1305_tls_cipher() 342 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher() 345 : tohash); in chacha20_poly1305_tls_cipher() 352 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/openssl-src-111.15.0+1.1.1k/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 217 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 224 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 234 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 247 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 259 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 293 tohash = ctr; in chacha20_poly1305_tls_cipher() 342 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher() 345 : tohash); in chacha20_poly1305_tls_cipher() 352 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 215 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local 222 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher() 232 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 245 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher() 257 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 291 tohash = ctr; in chacha20_poly1305_tls_cipher() 340 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher() 343 : tohash); in chacha20_poly1305_tls_cipher() 350 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher()
|