Home
last modified time | relevance | path

Searched refs:alloced (Results 1 – 25 of 29) sorted by relevance

12

/src/crypto/openssl/ssl/record/methods/
H A Dtls_pad.c30 int *alloced,
57 int *alloced, in ssl3_cbc_remove_padding_and_mac() argument
77 return ssl3_cbc_copy_mac(reclen, origreclen, recdata, mac, alloced, in ssl3_cbc_remove_padding_and_mac()
102 int *alloced, in tls1_cbc_remove_padding_and_mac() argument
161 return ssl3_cbc_copy_mac(reclen, origreclen, recdata, mac, alloced, in tls1_cbc_remove_padding_and_mac()
186 int *alloced, in ssl3_cbc_copy_mac() argument
234 if (alloced != NULL) in ssl3_cbc_copy_mac()
235 *alloced = 0; in ssl3_cbc_copy_mac()
243 if (!ossl_assert(mac != NULL && alloced != NULL)) in ssl3_cbc_copy_mac()
248 *alloced = 1; in ssl3_cbc_copy_mac()
H A Dssl3_meth.c166 mac->alloced = 0; in ssl3_cipher()
191 (mac != NULL) ? &mac->alloced : NULL, in ssl3_cipher()
H A Dtls1_meth.c407 macs[0].alloced = 0; in tls1_cipher()
464 (macs != NULL) ? &macs[ctr].alloced in tls1_cipher()
H A Drecmethod_local.h25 int alloced; member
H A Ddtls_meth.c278 if (macbuf.alloced) in dtls_process_record()
/src/sys/powerpc/pseries/
H A Dplpar_iommu.c165 bus_addr_t alloced; in phyp_iommu_map() local
182 boundary, minaddr, maxaddr, M_BESTFIT | M_NOWAIT, &alloced); in phyp_iommu_map()
187 KASSERT(alloced % PAGE_SIZE == 0, ("Alloc not page aligned")); in phyp_iommu_map()
188 KASSERT((alloced + (segs[i].ds_addr & PAGE_MASK)) % in phyp_iommu_map()
196 alloced + j, tce + j); in phyp_iommu_map()
203 segs[i].ds_addr = alloced + (segs[i].ds_addr & PAGE_MASK); in phyp_iommu_map()
/src/sys/contrib/dev/broadcom/brcm80211/brcmfmac/
H A Dcommonring.c149 u16 n_items, u16 *alloced) in brcmf_commonring_reserve_for_write_multiple() argument
170 *alloced = min_t(u16, n_items, available - 1); in brcmf_commonring_reserve_for_write_multiple()
171 if (*alloced + commonring->w_ptr > commonring->depth) in brcmf_commonring_reserve_for_write_multiple()
172 *alloced = commonring->depth - commonring->w_ptr; in brcmf_commonring_reserve_for_write_multiple()
173 commonring->w_ptr += *alloced; in brcmf_commonring_reserve_for_write_multiple()
H A Dmsgbuf.c931 u16 alloced; in brcmf_msgbuf_rxbuf_data_post() local
942 &alloced); in brcmf_msgbuf_rxbuf_data_post()
948 for (i = 0; i < alloced; i++) { in brcmf_msgbuf_rxbuf_data_post()
956 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_data_post()
966 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_data_post()
1043 u16 alloced; in brcmf_msgbuf_rxbuf_ctrl_post() local
1055 &alloced); in brcmf_msgbuf_rxbuf_ctrl_post()
1062 for (i = 0; i < alloced; i++) { in brcmf_msgbuf_rxbuf_ctrl_post()
1070 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_ctrl_post()
1080 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_ctrl_post()
H A Dcommonring.h49 u16 n_items, u16 *alloced);
/src/contrib/bmake/
H A Dsetenv.c87 static int alloced; /* if allocated space before */ local
107 if (alloced) { /* just increase size */
114 alloced = 1; /* copy old entries into it */
/src/crypto/krb5/src/clients/ksu/
H A Dsetenv.c64 static int alloced; /* if allocated space before */ local
84 if (alloced) { /* just increase size */
91 alloced = 1; /* copy old entries into it */
/src/crypto/openssl/providers/implementations/ciphers/
H A Dciphercommon_block.c144 unsigned char **mac, int *alloced, size_t macsize, in ossl_cipher_tlsunpadblock() argument
152 alloced, blocksize, macsize, in ossl_cipher_tlsunpadblock()
166 alloced, blocksize, macsize, in ossl_cipher_tlsunpadblock()
H A Dciphercommon_local.h16 unsigned char **mac, int *alloced, size_t macsize, int aead);
H A Dciphercommon.c182 if (ctx != NULL && ctx->alloced) { in ossl_cipher_generic_reset_ctx()
184 ctx->alloced = 0; in ossl_cipher_generic_reset_ctx()
340 if (ctx->alloced) { in ossl_cipher_generic_block_update()
342 ctx->alloced = 0; in ossl_cipher_generic_block_update()
351 blksz, &ctx->tlsmac, &ctx->alloced, in ossl_cipher_generic_block_update()
H A Dcipher_chacha20.c75 if (dupctx != NULL && dupctx->base.tlsmac != NULL && dupctx->base.alloced) { in chacha20_dupctx()
H A Dcipher_chacha20_poly1305.c70 if (dctx != NULL && dctx->base.tlsmac != NULL && dctx->base.alloced) { in chacha20_poly1305_dupctx()
H A Dcipher_aes_wrp.c80 if (dctx != NULL && dctx->base.tlsmac != NULL && dctx->base.alloced) { in aes_wrap_dupctx()
/src/crypto/openssl/include/internal/
H A Dssl3_cbc.h17 int *alloced,
25 int *alloced,
/src/sys/contrib/dev/broadcom/brcm80211/brcmsmac/
H A Ddma.c442 u16 align_bits, uint *alloced, in dma_alloc_consistent() argument
449 *alloced = size; in dma_alloc_consistent()
470 u16 *alignbits, uint *alloced, in dma_ringalloc() argument
477 va = dma_alloc_consistent(di, size, *alignbits, alloced, descpa); in dma_ringalloc()
488 alloced, descpa); in dma_ringalloc()
498 uint alloced = 0; in dma64_alloc() local
510 &alloced, &di->txdpaorig); in dma64_alloc()
522 di->txdalloc = alloced; in dma64_alloc()
525 &alloced, &di->rxdpaorig); in dma64_alloc()
537 di->rxdalloc = alloced; in dma64_alloc()
/src/sys/amd64/vmm/io/
H A Dppt.c718 int numvec, alloced, rid, error; in ppt_setup_msix() local
788 alloced = numvec; in ppt_setup_msix()
789 error = pci_alloc_msix(ppt->dev, &alloced); in ppt_setup_msix()
790 if (error || alloced != numvec) { in ppt_setup_msix()
/src/sys/kern/
H A Dkern_malloc.c1509 uint64_t frees, alloced, freed; in get_malloc_stats() local
1514 alloced = 0; in get_malloc_stats()
1521 alloced += mtsp->mts_memalloced; in get_malloc_stats()
1525 return (alloced - freed); in get_malloc_stats()
/src/crypto/openssl/providers/fips/
H A Dself_test_kats.c722 unsigned char *secret = NULL, *alloced = NULL; in self_test_kem_decapsulate() local
732 cipher_text = alloced = OPENSSL_zalloc(t->cipher_text_len); in self_test_kem_decapsulate()
733 if (alloced == NULL) in self_test_kem_decapsulate()
764 OPENSSL_free(alloced); in self_test_kem_decapsulate()
/src/contrib/unbound/dnstap/
H A Ddnstap.c75 sbuf.alloced = DNSTAP_INITIAL_BUF_SIZE; in dt_pack()
76 sbuf.data = malloc(sbuf.alloced); in dt_pack()
/src/crypto/openssl/providers/implementations/include/prov/
H A Dciphercommon.h80 int alloced; /* member
/src/crypto/openssl/apps/
H A Ds_server.c271 size_t alloced; member
298 wbuf->alloced = 1024; in ebcdic_new()
350 if (inl > (num = wbuf->alloced)) { in ebcdic_write()
357 wbuf->alloced = num; in ebcdic_write()

12