Searched refs:blockSize (Results 1 - 14 of 14) sorted by relevance

/freebsd-11-stable/sys/contrib/ncsw/etc/
H A Dncsw_mem.c133 (((uint8_t *)p_Block - (p_Mem->p_Bases[0] + p_Mem->blockOffset)) / p_Mem->blockSize);
160 (((uint8_t *)p_Block - (p_Mem->p_Bases[0] + p_Mem->blockOffset)) / p_Mem->blockSize);
214 uint32_t blockSize = 0, pad1 = 0, pad2 = 0; local
224 blockSize = pad1 + prefixSize + dataSize + postfixSize;
225 pad2 = PAD_ALIGNMENT(alignment, blockSize);
227 blockSize += pad2;
229 return ((num * blockSize) + alignment);
287 uint32_t i, blockSize; local
364 blockSize = (uint32_t)(alignPad + prefixSize + dataSize + postfixSize + endPad);
370 p_Blocks += blockSize;
404 uint32_t i, blockSize; local
[all...]
/freebsd-11-stable/contrib/apr-util/crypto/
H A Dapr_crypto_commoncrypto.c59 apr_size_t blockSize; member in struct:apr_crypto_key_t
281 key->blockSize = kCCBlockSize3DES;
288 key->blockSize = kCCBlockSize3DES;
298 key->blockSize = kCCBlockSizeAES128;
305 key->blockSize = kCCBlockSizeAES128;
315 key->blockSize = kCCBlockSizeAES128;
322 key->blockSize = kCCBlockSizeAES128;
332 key->blockSize = kCCBlockSizeAES128;
339 key->blockSize = kCCBlockSizeAES128;
516 * @param blockSize Th
522 crypto_block_encrypt_init(apr_crypto_block_t **ctx, const unsigned char **iv, const apr_crypto_key_t *key, apr_size_t *blockSize, apr_pool_t *p) argument
725 crypto_block_decrypt_init(apr_crypto_block_t **ctx, apr_size_t *blockSize, const unsigned char *iv, const apr_crypto_key_t *key, apr_pool_t *p) argument
[all...]
H A Dapr_crypto_nss.c80 int blockSize; member in struct:apr_crypto_block_t
487 int blockSize; local
575 blockSize = PK11_GetBlockSize(CKM_AES_ECB, secParam);
576 remainder = rec->k.secret.secretLen % blockSize;
750 * @param blockSize The block size of the cipher.
758 apr_size_t *blockSize, apr_pool_t *p)
804 block->blockSize = PK11_GetBlockSize(key->cipherMech, block->secParam);
816 if (blockSize) {
817 *blockSize = PK11_GetBlockSize(key->cipherMech, block->secParam);
851 *outlen = inlen + block->blockSize;
756 crypto_block_encrypt_init(apr_crypto_block_t **ctx, const unsigned char **iv, const apr_crypto_key_t *key, apr_size_t *blockSize, apr_pool_t *p) argument
936 crypto_block_decrypt_init(apr_crypto_block_t **ctx, apr_size_t *blockSize, const unsigned char *iv, const apr_crypto_key_t *key, apr_pool_t *p) argument
[all...]
H A Dapr_crypto.c444 * @param blockSize The block size of the cipher.
452 const apr_crypto_key_t *key, apr_size_t *blockSize, apr_pool_t *p)
454 return key->provider->block_encrypt_init(ctx, iv, key, blockSize, p);
511 * @param blockSize The block size of the cipher.
520 apr_crypto_block_t **ctx, apr_size_t *blockSize,
523 return key->provider->block_decrypt_init(ctx, blockSize, iv, key, p);
H A Dapr_crypto_openssl.c82 int blockSize; member in struct:apr_crypto_block_t
612 * @param blockSize The block size of the cipher.
620 apr_size_t *blockSize, apr_pool_t *p)
682 if (blockSize) {
683 *blockSize = EVP_CIPHER_block_size(key->cipher);
795 * @param blockSize The block size of the cipher.
806 apr_size_t *blockSize, const unsigned char *iv,
852 if (blockSize) {
853 *blockSize = EVP_CIPHER_block_size(key->cipher);
618 crypto_block_encrypt_init(apr_crypto_block_t **ctx, const unsigned char **iv, const apr_crypto_key_t *key, apr_size_t *blockSize, apr_pool_t *p) argument
805 crypto_block_decrypt_init(apr_crypto_block_t **ctx, apr_size_t *blockSize, const unsigned char *iv, const apr_crypto_key_t *key, apr_pool_t *p) argument
/freebsd-11-stable/contrib/apr-util/include/private/
H A Dapr_crypto_internal.h126 * @param blockSize The block size of the cipher.
134 apr_size_t *blockSize, apr_pool_t *p);
183 * @param blockSize The block size of the cipher.
194 apr_size_t *blockSize, const unsigned char *iv,
/freebsd-11-stable/contrib/apr-util/include/
H A Dapr_crypto.h361 * @param blockSize The block size of the cipher.
369 const apr_crypto_key_t *key, apr_size_t *blockSize, apr_pool_t *p);
419 * @param blockSize The block size of the cipher.
428 apr_crypto_block_t **ctx, apr_size_t *blockSize,
/freebsd-11-stable/sys/contrib/ncsw/inc/etc/
H A Dmem_ext.h101 uint32_t blockSize; member in struct:__anon8342
/freebsd-11-stable/sys/arm/xscale/ixp425/
H A Dixp425_npe.c624 int i, blockSize; local
627 blockSize = bp->size; /* NB: instruction/data count */
628 if (npeMemAddress + blockSize > sc->insMemSize) {
630 "Block size %u too big for NPE memory\n", blockSize);
633 for (i = 0; i < blockSize; i++, npeMemAddress++) {
648 int i, blockSize; local
651 blockSize = bp->size; /* NB: instruction/data count */
652 if (npeMemAddress + blockSize > sc->dataMemSize) {
654 "Block size %u too big for NPE memory\n", blockSize);
657 for (i = 0; i < blockSize;
[all...]
/freebsd-11-stable/contrib/apr-util/test/
H A Dtestcrypto.c279 apr_size_t *blockSize, const char *description)
292 rv = apr_crypto_block_encrypt_init(&block, iv, key, blockSize, pool);
371 apr_size_t *blockSize, const char *description)
384 rv = apr_crypto_block_decrypt_init(&block, blockSize, iv, key, pool);
482 apr_size_t blockSize = 0; local
490 &cipherText, &cipherTextLen, &iv, &blockSize, description);
492 cipherTextLen, &plainText, &plainTextLen, iv, &blockSize,
508 blockSize = 0;
512 &cipherText, &cipherTextLen, &iv, &blockSize, description);
514 cipherTextLen, &plainText, &plainTextLen, iv, &blockSize,
274 encrypt_block(abts_case *tc, apr_pool_t *pool, const apr_crypto_driver_t *driver, const apr_crypto_t *f, const apr_crypto_key_t *key, const unsigned char *in, const apr_size_t inlen, unsigned char **cipherText, apr_size_t *cipherTextLen, const unsigned char **iv, apr_size_t *blockSize, const char *description) argument
366 decrypt_block(abts_case *tc, apr_pool_t *pool, const apr_crypto_driver_t *driver, const apr_crypto_t *f, const apr_crypto_key_t *key, unsigned char *cipherText, apr_size_t cipherTextLen, unsigned char **plainText, apr_size_t *plainTextLen, const unsigned char *iv, apr_size_t *blockSize, const char *description) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp681 CharUnits &blockSize = info.BlockSize; local
686 CharUnits endAlign = getLowBit(blockSize);
715 li->setIndex(info, elementTypes.size(), blockSize);
717 blockSize += li->Size;
718 endAlign = getLowBit(blockSize);
730 assert(endAlign == getLowBit(blockSize));
735 CharUnits newBlockSize = blockSize.alignTo(maxFieldAlign);
736 CharUnits padding = newBlockSize - blockSize;
740 if (blockSize == info.BlockHeaderForcedGapOffset) {
746 blockSize
[all...]
/freebsd-11-stable/contrib/expat/lib/
H A Dxmlparse.c6623 poolBytesToAllocateFor(int blockSize) { argument
6625 ** return offsetof(BLOCK, s) + blockSize * sizeof(XML_Char);
6633 if (blockSize <= 0)
6636 if (blockSize > (int)(INT_MAX / stretch))
6640 const int stretchedBlockSize = blockSize * (int)stretch;
6677 int blockSize = (int)((unsigned)(pool->end - pool->start) * 2U); local
6684 if (blockSize < 0) {
6694 bytesToAllocate = poolBytesToAllocateFor(blockSize);
6703 pool->blocks->size = blockSize;
6706 pool->end = pool->start + blockSize;
6709 int blockSize = (int)(pool->end - pool->start); local
[all...]
/freebsd-11-stable/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_manip.c1981 uint8_t extraAddedBytes = 0, blockSize = 0, extraAddedBytesAlignedToBlockSize = 0; local
2054 blockSize = p_InsrtByTemplate->modifyOuterIpParams.recalculateLengthParams.blockSize;
2061 if(blockSize)
2063 if (!POWER_OF_2(blockSize))
2065 blockSize -= 1;
2071 p_Template[p_InsrtByTemplate->modifyOuterIpParams.ipOuterOffset + IP_TOTALLENGTH_FIELD_OFFSET_FROM_IP + 1] = blockSize;
/freebsd-11-stable/sys/contrib/ncsw/inc/Peripherals/
H A Dfm_pcd_ext.h1600 uint8_t blockSize; /**< The CAAM block-size; Used by FMan-CTRL to calculate the IP-total-len field.*/ member in struct:t_FmPcdManipInsrtByTemplateParams::__anon8315::__anon8316

Completed in 339 milliseconds