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

/freebsd-10-stable/contrib/apr-util/crypto/
H A Dapr_crypto_nss.c79 int blockSize; member in struct:apr_crypto_block_t
522 * @param blockSize The block size of the cipher.
530 apr_size_t *blockSize, apr_pool_t *p)
577 block->blockSize = PK11_GetBlockSize(key->cipherMech, secParam);
589 if (blockSize) {
590 *blockSize = PK11_GetBlockSize(key->cipherMech, secParam);
624 *outlen = inlen + block->blockSize;
628 buffer = apr_palloc(block->pool, inlen + block->blockSize);
632 apr_crypto_clear(block->pool, buffer, inlen + block->blockSize);
677 SECStatus s = PK11_DigestFinal(block->ctx, out, &outl, block->blockSize);
528 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
709 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_openssl.c70 int blockSize; member in struct:apr_crypto_block_t
467 * @param blockSize The block size of the cipher.
475 apr_size_t *blockSize, apr_pool_t *p)
535 if (blockSize) {
536 *blockSize = EVP_CIPHER_block_size(key->cipher);
635 * @param blockSize The block size of the cipher.
646 apr_size_t *blockSize, const unsigned char *iv,
690 if (blockSize) {
691 *blockSize = EVP_CIPHER_block_size(key->cipher);
473 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
645 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
H A Dapr_crypto.c365 * @param blockSize The block size of the cipher.
373 const apr_crypto_key_t *key, apr_size_t *blockSize, apr_pool_t *p)
375 return key->provider->block_encrypt_init(ctx, iv, key, blockSize, p);
432 * @param blockSize The block size of the cipher.
441 apr_crypto_block_t **ctx, apr_size_t *blockSize,
444 return key->provider->block_decrypt_init(ctx, blockSize, iv, key, p);
/freebsd-10-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-10-stable/contrib/apr-util/include/
H A Dapr_crypto.h273 * @param blockSize The block size of the cipher.
281 const apr_crypto_key_t *key, apr_size_t *blockSize, apr_pool_t *p);
331 * @param blockSize The block size of the cipher.
340 apr_crypto_block_t **ctx, apr_size_t *blockSize,
/freebsd-10-stable/sys/arm/xscale/ixp425/
H A Dixp425_npe.c627 int i, blockSize; local
630 blockSize = bp->size; /* NB: instruction/data count */
631 if (npeMemAddress + blockSize > sc->insMemSize) {
633 "Block size %u too big for NPE memory\n", blockSize);
636 for (i = 0; i < blockSize; i++, npeMemAddress++) {
651 int i, blockSize; local
654 blockSize = bp->size; /* NB: instruction/data count */
655 if (npeMemAddress + blockSize > sc->dataMemSize) {
657 "Block size %u too big for NPE memory\n", blockSize);
660 for (i = 0; i < blockSize;
[all...]
/freebsd-10-stable/contrib/apr-util/test/
H A Dtestcrypto.c150 apr_size_t *blockSize, const char *description)
163 rv = apr_crypto_block_encrypt_init(&block, iv, key, blockSize, pool);
230 apr_size_t *blockSize, const char *description)
243 rv = apr_crypto_block_decrypt_init(&block, blockSize, iv, key, pool);
333 apr_size_t blockSize = 0; local
341 &cipherText, &cipherTextLen, &iv, &blockSize, description);
343 cipherTextLen, &plainText, &plainTextLen, iv, &blockSize,
145 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
225 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
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBlocks.cpp469 CharUnits &blockSize = info.BlockSize; local
474 CharUnits endAlign = getLowBit(blockSize);
505 blockSize += li->Size;
506 endAlign = getLowBit(blockSize);
523 assert(endAlign == getLowBit(blockSize));
528 CharUnits newBlockSize = blockSize.RoundUpToAlignment(maxFieldAlign);
529 CharUnits padding = newBlockSize - blockSize;
533 blockSize = newBlockSize;
534 endAlign = getLowBit(blockSize); // might be > maxFieldAlign
538 assert(endAlign == getLowBit(blockSize));
[all...]
/freebsd-10-stable/contrib/expat/lib/
H A Dxmlparse.c6291 int blockSize = (int)((unsigned)(pool->end - pool->start)*2U); local
6293 if (blockSize < 0)
6299 + blockSize * sizeof(XML_Char)));
6303 pool->blocks->size = blockSize;
6306 pool->end = pool->start + blockSize;
6310 int blockSize = (int)(pool->end - pool->start); local
6312 if (blockSize < 0)
6315 if (blockSize < INIT_BLOCK_SIZE)
6316 blockSize = INIT_BLOCK_SIZE;
6318 blockSize *
[all...]

Completed in 107 milliseconds