/dports/security/libgcrypt/libgcrypt-1.9.4/cipher/ |
H A D | cipher-selftest.c | 103 iv2 = iv + blocksize; in _gcry_selftest_helper_cbc() 134 blocksize * 8); in _gcry_selftest_helper_cbc() 159 for (i = 0; i < nblocks * blocksize; i+=blocksize) in _gcry_selftest_helper_cbc() 256 blocksize * 8); in _gcry_selftest_helper_cfb() 281 for (i = 0; i < nblocks * blocksize; i+=blocksize) in _gcry_selftest_helper_cfb() 306 blocksize * 8); in _gcry_selftest_helper_cfb() 386 blocksize * 8); in _gcry_selftest_helper_ctr() 399 blocksize * 8); in _gcry_selftest_helper_ctr() 406 iv[blocksize-1] = 1; in _gcry_selftest_helper_ctr() 420 for (i = 0; i < blocksize * nblocks; i+=blocksize) in _gcry_selftest_helper_ctr() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/libgcrypt/cipher/ |
H A D | cipher-selftest.c | 103 iv2 = iv + blocksize; in _gcry_selftest_helper_cbc() 134 blocksize * 8); in _gcry_selftest_helper_cbc() 159 for (i = 0; i < nblocks * blocksize; i+=blocksize) in _gcry_selftest_helper_cbc() 256 blocksize * 8); in _gcry_selftest_helper_cfb() 281 for (i = 0; i < nblocks * blocksize; i+=blocksize) in _gcry_selftest_helper_cfb() 306 blocksize * 8); in _gcry_selftest_helper_cfb() 386 blocksize * 8); in _gcry_selftest_helper_ctr() 399 blocksize * 8); in _gcry_selftest_helper_ctr() 406 iv[blocksize-1] = 1; in _gcry_selftest_helper_ctr() 420 for (i = 0; i < blocksize * nblocks; i+=blocksize) in _gcry_selftest_helper_ctr() [all …]
|
/dports/archivers/c-blosc2/c-blosc2-2.0.4/blosc/ |
H A D | stune.c | 59 blocksize = L1; in blosc_stune_next_blocksize() 65 blocksize *= 2; in blosc_stune_next_blocksize() 72 blocksize /= 4; in blosc_stune_next_blocksize() 75 blocksize /= 2; in blosc_stune_next_blocksize() 78 blocksize *= 1; in blosc_stune_next_blocksize() 81 blocksize *= 2; in blosc_stune_next_blocksize() 85 blocksize *= 4; in blosc_stune_next_blocksize() 90 blocksize *= 8; in blosc_stune_next_blocksize() 94 blocksize *= 8; in blosc_stune_next_blocksize() 145 blocksize = blocksize / typesize * typesize; in blosc_stune_next_blocksize() [all …]
|
/dports/security/p5-Crypt-Twofish_PP/Crypt-Twofish_PP-0.17/benchmark/ |
H A D | benchmark.pl | 42 { name => 'Twofish', keysize => 24, blocksize => 16 }, 67 { name => 'DES', keysize => 8, blocksize => 8 }, 68 { name => 'DES_PP', keysize => 8, blocksize => 8 }, 69 { name => 'IDEA', keysize => 16, blocksize => 8 }, 74 { name => 'GOST', keysize => 32, blocksize => 8 }, 80 { name => 'CAST5', keysize => 5, blocksize => 8 }, 81 { name => 'CAST5', keysize => 8, blocksize => 8 }, 103 { name => 'TEA', keysize => 16, blocksize => 8 }, 130 $test->{block} = 'b' x $test->{blocksize}; 198 return $b->{blocksize} <=> $a->{blocksize}; [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/security/nss/lib/freebl/ |
H A D | cts.c | 103 if (inlen < blocksize) { in CTS_EncryptUpdate() 113 fullblocks = (inlen / blocksize) * blocksize; in CTS_EncryptUpdate() 141 blocksize, blocksize); in CTS_EncryptUpdate() 197 if (inlen < blocksize) { in CTS_DecryptUpdate() 208 fullblocks = (inlen / blocksize) * blocksize; in CTS_DecryptUpdate() 223 memcpy(lastBlock, inbuf + inlen - blocksize, blocksize); in CTS_DecryptUpdate() 227 memcpy(outbuf + inlen - blocksize - pad, lastBlock, blocksize); in CTS_DecryptUpdate() 231 tmp = (fullblocks < blocksize * 2) ? cts->iv : inbuf + fullblocks - blocksize * 2; in CTS_DecryptUpdate() 233 PORT_Memcpy(Cn, inbuf + fullblocks - blocksize, blocksize); in CTS_DecryptUpdate() 285 blocksize, blocksize); in CTS_DecryptUpdate() [all …]
|
H A D | ctr.c | 126 unsigned int blocksize) in CTR_Update() argument 137 if (ctr->bufPtr != blocksize) { in CTR_Update() 151 while (inlen >= blocksize) { in CTR_Update() 153 ctr->counter, blocksize, blocksize); in CTR_Update() 165 outbuf += blocksize; in CTR_Update() 166 inbuf += blocksize; in CTR_Update() 167 *outlen += blocksize; in CTR_Update() 168 inlen -= blocksize; in CTR_Update() 174 ctr->counter, blocksize, blocksize); in CTR_Update() 226 fullblocks = (inlen / blocksize) * blocksize; in CTR_Update_HW_AES() [all …]
|
H A D | gcm.c | 175 switch (blocksize) { in gcmHash_InitContext() 227 if (len != blocksize) { in gcm_getX() 229 X += blocksize - len; in gcm_getX() 351 switch (blocksize) { in gcmHash_InitContext() 563 if (maxout > blocksize) in gcmHash_Final() 564 maxout = blocksize; in gcmHash_Final() 625 if (blocksize > MAX_BLOCK_SIZE || blocksize > sizeof(ctrParams.cb)) { in GCM_CreateContext() 636 rv = (*cipher)(context, H, &tmp, blocksize, H, blocksize, blocksize); in GCM_CreateContext() 658 rv = gcmHash_Final(ghash, ctrParams.cb, &tmp, blocksize, blocksize); in GCM_CreateContext() 675 gcm->tagKey, blocksize, blocksize); in GCM_CreateContext() [all …]
|
/dports/science/octopus/octopus-10.5/testsuite/components/ |
H A D | 03-derivatives_3d.test | 11 match ; Real Laplacian (blocksize = 1); GREPFIELD(out, 'Laplacian real bsize = 1', 9) ; 1.19625… 12 match ; Real Laplacian (blocksize = 2); GREPFIELD(out, 'Laplacian real bsize = 2', 9) ; 1.19625… 44 match ; Real curl (blocksize = 3); GREPFIELD(out, 'Batch curl real bsize = 3', 10) ; 1.39e-4 45 match ; Real curl (blocksize = 6); GREPFIELD(out, 'Batch curl real bsize = 6', 10) ; 2.77e-4 46 match ; Real curl (blocksize = 9); GREPFIELD(out, 'Batch curl real bsize = 9', 10) ; 4.16e-4 87 match ; Real curl (blocksize = 3); GREPFIELD(out, 'Batch curl real bsize = 3', 10) ; 1.76e-4 88 match ; Real curl (blocksize = 6); GREPFIELD(out, 'Batch curl real bsize = 6', 10) ; 3.53e-4 89 match ; Real curl (blocksize = 9); GREPFIELD(out, 'Batch curl real bsize = 9', 10) ; 5.29e-4 130 match ; Real curl (blocksize = 3); GREPFIELD(out, 'Batch curl real bsize = 3', 10) ; 1.76e-4 131 match ; Real curl (blocksize = 6); GREPFIELD(out, 'Batch curl real bsize = 6', 10) ; 3.53e-4 [all …]
|
H A D | 01-derivatives_1d.test | 11 match ; Real Laplacian (blocksize = 1); GREPFIELD(out, 'Laplacian real bsize = 1', 9) ; 2.78012… 12 match ; Real Laplacian (blocksize = 2); GREPFIELD(out, 'Laplacian real bsize = 2', 9) ; 2.78012… 13 match ; Real Laplacian (blocksize = 4); GREPFIELD(out, 'Laplacian real bsize = 4', 9) ; 2.78012… 14 match ; Real Laplacian (blocksize = 8); GREPFIELD(out, 'Laplacian real bsize = 8', 9) ; 2.78012… 15 match ; Real Laplacian (blocksize = 16); GREPFIELD(out, 'Laplacian real bsize = 16', 9) ; 2.78012… 16 match ; Real Laplacian (blocksize = 32); GREPFIELD(out, 'Laplacian real bsize = 32', 9) ; 2.78012… 33 match ; Real Gradient (blocksize = 1); GREPFIELD(out, 'Batch gradient real bsize = 1', 12) ; 1.… 34 match ; Real Gradient (blocksize = 2); GREPFIELD(out, 'Batch gradient real bsize = 2', 12) ; 1.… 35 match ; Real Gradient (blocksize = 4); GREPFIELD(out, 'Batch gradient real bsize = 4', 12) ; 1.… 36 match ; Real Gradient (blocksize = 8); GREPFIELD(out, 'Batch gradient real bsize = 8', 12) ; 1.… [all …]
|
/dports/archivers/liblz4/lz4-1.9.3/tests/ |
H A D | test_custom_block_sizes.sh | 19 for blocksize in 32 65535 65536 21 echo Testing -B$blocksize 22 $LZ4 -f -B$blocksize $TMPFILE1 25 $CHECKFRAME -B$blocksize -b4 $TMPFILE.lz4 || failures="$failures $blocksize " 30 echo Testing -B$blocksize 34 $CHECKFRAME -B$blocksize -b5 $TMPFILE.lz4 || failures="$failures $blocksize " 39 echo Testing -B$blocksize 43 $CHECKFRAME -B$blocksize -b6 $TMPFILE.lz4 || failures="$failures $blocksize " 48 echo Testing -B$blocksize 52 $CHECKFRAME -B$blocksize -b7 $TMPFILE.lz4 || failures="$failures $blocksize " [all …]
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/lz4/tests/ |
H A D | test_custom_block_sizes.sh | 19 for blocksize in 32 65535 65536 21 echo Testing -B$blocksize 22 $LZ4 -f -B$blocksize $TMPFILE1 25 $CHECKFRAME -B$blocksize -b4 $TMPFILE.lz4 || failures="$failures $blocksize " 30 echo Testing -B$blocksize 34 $CHECKFRAME -B$blocksize -b5 $TMPFILE.lz4 || failures="$failures $blocksize " 39 echo Testing -B$blocksize 43 $CHECKFRAME -B$blocksize -b6 $TMPFILE.lz4 || failures="$failures $blocksize " 48 echo Testing -B$blocksize 52 $CHECKFRAME -B$blocksize -b7 $TMPFILE.lz4 || failures="$failures $blocksize " [all …]
|
/dports/lang/chez-scheme/ChezScheme-9.5.4/lz4/tests/ |
H A D | test_custom_block_sizes.sh | 19 for blocksize in 32 65535 65536 21 echo Testing -B$blocksize 22 $LZ4 -f -B$blocksize $TMPFILE1 25 $CHECKFRAME -B$blocksize -b4 $TMPFILE.lz4 || failures="$failures $blocksize " 30 echo Testing -B$blocksize 34 $CHECKFRAME -B$blocksize -b5 $TMPFILE.lz4 || failures="$failures $blocksize " 39 echo Testing -B$blocksize 43 $CHECKFRAME -B$blocksize -b6 $TMPFILE.lz4 || failures="$failures $blocksize " 48 echo Testing -B$blocksize 52 $CHECKFRAME -B$blocksize -b7 $TMPFILE.lz4 || failures="$failures $blocksize " [all …]
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/tce/ |
H A D | ddotfile.F | 62 if (nblocks*blocksize.lt.size) blocksize = blocksize + 1 84 1 min(size,i*blocksize)-(i-1)*blocksize,(i-1)*blocksize) 86 1 min(size,i*blocksize)-(i-1)*blocksize,(i-1)*blocksize) 88 do j = (i-1)*blocksize+1,min(size,i*blocksize) 180 if (nblocks*blocksize.lt.size) blocksize = blocksize + 1 202 1 min(size,i*blocksize)-(i-1)*blocksize,(i-1)*blocksize) 204 1 min(size,i*blocksize)-(i-1)*blocksize,(i-1)*blocksize) 212 size_t1=min(size,i*blocksize)-(i-1)*blocksize 306 if (nblocks*blocksize.lt.size) blocksize = blocksize + 1 328 1 min(size,i*blocksize)-(i-1)*blocksize,(i-1)*blocksize) [all …]
|
H A D | tce_zero.F | 18 integer nblocks,blocksize 34 blocksize = size/nblocks 35 if (nblocks*blocksize.lt.size) blocksize = blocksize + 1 63 do j = (i-1)*blocksize+1,min(size,i*blocksize) 69 2 min(size,i*blocksize)-(i-1)*blocksize 71 1 min(size,i*blocksize)-(i-1)*blocksize,(i-1)*blocksize) 135 blocksize = size/nblocks 136 if (nblocks*blocksize.lt.size) blocksize = blocksize + 1 154 do j = (i-1)*blocksize+1,min(size,i*blocksize) 160 2 min(size,i*blocksize)-(i-1)*blocksize [all …]
|
/dports/science/nwchem-data/nwchem-7.0.2-release/src/tce/ |
H A D | ddotfile.F | 60 if (nblocks*blocksize.lt.size) blocksize = blocksize + 1 82 1 min(size,i*blocksize)-(i-1)*blocksize,(i-1)*blocksize) 84 1 min(size,i*blocksize)-(i-1)*blocksize,(i-1)*blocksize) 86 do j = (i-1)*blocksize+1,min(size,i*blocksize) 176 if (nblocks*blocksize.lt.size) blocksize = blocksize + 1 198 1 min(size,i*blocksize)-(i-1)*blocksize,(i-1)*blocksize) 200 1 min(size,i*blocksize)-(i-1)*blocksize,(i-1)*blocksize) 208 size_t1=min(size,i*blocksize)-(i-1)*blocksize 300 if (nblocks*blocksize.lt.size) blocksize = blocksize + 1 322 1 min(size,i*blocksize)-(i-1)*blocksize,(i-1)*blocksize) [all …]
|
H A D | tce_zero.F | 18 integer nblocks,blocksize 34 blocksize = size/nblocks 35 if (nblocks*blocksize.lt.size) blocksize = blocksize + 1 63 do j = (i-1)*blocksize+1,min(size,i*blocksize) 69 2 min(size,i*blocksize)-(i-1)*blocksize 71 1 min(size,i*blocksize)-(i-1)*blocksize,(i-1)*blocksize) 135 blocksize = size/nblocks 136 if (nblocks*blocksize.lt.size) blocksize = blocksize + 1 154 do j = (i-1)*blocksize+1,min(size,i*blocksize) 160 2 min(size,i*blocksize)-(i-1)*blocksize [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/security/nss/lib/freebl/ |
H A D | cts.c | 99 if (inlen < blocksize) { 109 fullblocks = (inlen / blocksize) * blocksize; 137 blocksize, blocksize); 193 if (inlen < blocksize) { 204 fullblocks = (inlen / blocksize) * blocksize; 219 memcpy(lastBlock, inbuf + inlen - blocksize, blocksize); 223 memcpy(outbuf + inlen - blocksize - pad, lastBlock, blocksize); 227 tmp = (fullblocks < blocksize * 2) ? cts->iv : inbuf + fullblocks - blocksize * 2; 229 PORT_Memcpy(Cn, inbuf + fullblocks - blocksize, blocksize); 281 blocksize, blocksize); [all …]
|
/dports/security/ca_root_nss/nss-3.71/nss/lib/freebl/ |
H A D | cts.c | 99 if (inlen < blocksize) { in CTS_EncryptUpdate() 109 fullblocks = (inlen / blocksize) * blocksize; in CTS_EncryptUpdate() 137 blocksize, blocksize); in CTS_EncryptUpdate() 193 if (inlen < blocksize) { in CTS_DecryptUpdate() 204 fullblocks = (inlen / blocksize) * blocksize; in CTS_DecryptUpdate() 219 memcpy(lastBlock, inbuf + inlen - blocksize, blocksize); in CTS_DecryptUpdate() 223 memcpy(outbuf + inlen - blocksize - pad, lastBlock, blocksize); in CTS_DecryptUpdate() 227 tmp = (fullblocks < blocksize * 2) ? cts->iv : inbuf + fullblocks - blocksize * 2; in CTS_DecryptUpdate() 229 PORT_Memcpy(Cn, inbuf + fullblocks - blocksize, blocksize); in CTS_DecryptUpdate() 281 blocksize, blocksize); in CTS_DecryptUpdate() [all …]
|
/dports/www/firefox/firefox-99.0/security/nss/lib/freebl/ |
H A D | cts.c | 99 if (inlen < blocksize) { in CTS_EncryptUpdate() 109 fullblocks = (inlen / blocksize) * blocksize; in CTS_EncryptUpdate() 137 blocksize, blocksize); in CTS_EncryptUpdate() 193 if (inlen < blocksize) { in CTS_DecryptUpdate() 204 fullblocks = (inlen / blocksize) * blocksize; in CTS_DecryptUpdate() 219 memcpy(lastBlock, inbuf + inlen - blocksize, blocksize); in CTS_DecryptUpdate() 223 memcpy(outbuf + inlen - blocksize - pad, lastBlock, blocksize); in CTS_DecryptUpdate() 227 tmp = (fullblocks < blocksize * 2) ? cts->iv : inbuf + fullblocks - blocksize * 2; in CTS_DecryptUpdate() 229 PORT_Memcpy(Cn, inbuf + fullblocks - blocksize, blocksize); in CTS_DecryptUpdate() 281 blocksize, blocksize); in CTS_DecryptUpdate() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/security/nss/lib/freebl/ |
H A D | cts.c | 99 if (inlen < blocksize) { in CTS_EncryptUpdate() 109 fullblocks = (inlen / blocksize) * blocksize; in CTS_EncryptUpdate() 137 blocksize, blocksize); in CTS_EncryptUpdate() 193 if (inlen < blocksize) { in CTS_DecryptUpdate() 204 fullblocks = (inlen / blocksize) * blocksize; in CTS_DecryptUpdate() 219 memcpy(lastBlock, inbuf + inlen - blocksize, blocksize); in CTS_DecryptUpdate() 223 memcpy(outbuf + inlen - blocksize - pad, lastBlock, blocksize); in CTS_DecryptUpdate() 227 tmp = (fullblocks < blocksize * 2) ? cts->iv : inbuf + fullblocks - blocksize * 2; in CTS_DecryptUpdate() 229 PORT_Memcpy(Cn, inbuf + fullblocks - blocksize, blocksize); in CTS_DecryptUpdate() 281 blocksize, blocksize); in CTS_DecryptUpdate() [all …]
|
/dports/security/nss/nss-3.76.1/nss/lib/freebl/ |
H A D | cts.c | 99 if (inlen < blocksize) { in CTS_EncryptUpdate() 109 fullblocks = (inlen / blocksize) * blocksize; in CTS_EncryptUpdate() 137 blocksize, blocksize); in CTS_EncryptUpdate() 193 if (inlen < blocksize) { in CTS_DecryptUpdate() 204 fullblocks = (inlen / blocksize) * blocksize; in CTS_DecryptUpdate() 219 memcpy(lastBlock, inbuf + inlen - blocksize, blocksize); in CTS_DecryptUpdate() 223 memcpy(outbuf + inlen - blocksize - pad, lastBlock, blocksize); in CTS_DecryptUpdate() 227 tmp = (fullblocks < blocksize * 2) ? cts->iv : inbuf + fullblocks - blocksize * 2; in CTS_DecryptUpdate() 229 PORT_Memcpy(Cn, inbuf + fullblocks - blocksize, blocksize); in CTS_DecryptUpdate() 281 blocksize, blocksize); in CTS_DecryptUpdate() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/lib/freebl/ |
H A D | cts.c | 99 if (inlen < blocksize) { in CTS_EncryptUpdate() 109 fullblocks = (inlen / blocksize) * blocksize; in CTS_EncryptUpdate() 137 blocksize, blocksize); in CTS_EncryptUpdate() 193 if (inlen < blocksize) { in CTS_DecryptUpdate() 204 fullblocks = (inlen / blocksize) * blocksize; in CTS_DecryptUpdate() 219 memcpy(lastBlock, inbuf + inlen - blocksize, blocksize); in CTS_DecryptUpdate() 223 memcpy(outbuf + inlen - blocksize - pad, lastBlock, blocksize); in CTS_DecryptUpdate() 227 tmp = (fullblocks < blocksize * 2) ? cts->iv : inbuf + fullblocks - blocksize * 2; in CTS_DecryptUpdate() 229 PORT_Memcpy(Cn, inbuf + fullblocks - blocksize, blocksize); in CTS_DecryptUpdate() 281 blocksize, blocksize); in CTS_DecryptUpdate() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/lib/freebl/ |
H A D | cts.c | 99 if (inlen < blocksize) { in CTS_EncryptUpdate() 109 fullblocks = (inlen / blocksize) * blocksize; in CTS_EncryptUpdate() 137 blocksize, blocksize); in CTS_EncryptUpdate() 193 if (inlen < blocksize) { in CTS_DecryptUpdate() 204 fullblocks = (inlen / blocksize) * blocksize; in CTS_DecryptUpdate() 219 memcpy(lastBlock, inbuf + inlen - blocksize, blocksize); in CTS_DecryptUpdate() 223 memcpy(outbuf + inlen - blocksize - pad, lastBlock, blocksize); in CTS_DecryptUpdate() 227 tmp = (fullblocks < blocksize * 2) ? cts->iv : inbuf + fullblocks - blocksize * 2; in CTS_DecryptUpdate() 229 PORT_Memcpy(Cn, inbuf + fullblocks - blocksize, blocksize); in CTS_DecryptUpdate() 281 blocksize, blocksize); in CTS_DecryptUpdate() [all …]
|
/dports/math/gecode/gecode-0916a1a/gecode/support/ |
H A D | block-allocator.hpp | 52 T b[blocksize]; 96 template<class T, class A, int blocksize> 101 n = &b->b[blocksize]; in BlockAllocator() 105 template<class T, class A, int blocksize> 114 template<class T, class A, int blocksize> 120 template<class T, class A, int blocksize> 129 template<class T, class A, int blocksize> 135 n = &nb->b[blocksize]; in allocate() 139 template<class T, class A, int blocksize> 147 template<class T, class A, int blocksize> [all …]
|
/dports/sysutils/testdisk/testdisk-7.1/src/ |
H A D | phbf.c | 127 const unsigned int blocksize=params->blocksize; in photorec_bf() local 151 file_recovery.blocksize=blocksize; in photorec_bf() 172 file_recovery_new.blocksize=blocksize; in photorec_bf() 321 const unsigned int blocksize=params->blocksize; in photorec_bf_pad() local 410 blocksize); in photorec_bf_pad() 430 …else if(file_recovery->offset_error / blocksize * blocksize >= (file_offset / blocksize * blocksiz… in photorec_bf_pad() 437 blocksize); in photorec_bf_pad() 447 const unsigned int blocksize=params->blocksize; in photorec_bf_frag_fast() local 541 const unsigned int blocksize=params->blocksize; in photorec_bf_frag() local 691 …if(file_recovery->offset_error/blocksize*blocksize >= (file_offset / blocksize * blocksize + 30 * … in photorec_bf_frag() [all …]
|