/darwin-on-arm/xnu/EXTERNAL_HEADERS/corecrypto/ |
H A D | ccmode_factory.h | 125 .size = ccn_sizeof_size(sizeof(struct _ccmode_cbc_key)) + ccn_sizeof_size((ECB)->block_size) + ccn_sizeof_size((ECB)->size), \ 126 .block_size = (ECB)->block_size, \ 134 .size = ccn_sizeof_size(sizeof(struct _ccmode_cbc_key)) + ccn_sizeof_size((ECB)->block_size) + ccn_sizeof_size((ECB)->size), \ 135 .block_size = (ECB)->block_size, \ 180 .size = ccn_sizeof_size(sizeof(struct _ccmode_cfb_key)) + 2 * ccn_sizeof_size((ECB)->block_size) + ccn_sizeof_size((ECB)->size), \ 181 .block_size = 1, \ 189 .size = ccn_sizeof_size(sizeof(struct _ccmode_cfb_key)) + 2 * ccn_sizeof_size((ECB)->block_size) + ccn_sizeof_size((ECB)->size), \ 190 .block_size [all...] |
H A D | ccmode_impl.h | 22 unsigned long block_size; member in struct:ccmode_ecb 35 unsigned long block_size; member in struct:ccmode_cbc 49 unsigned long block_size; member in struct:ccmode_cfb 64 unsigned long block_size; member in struct:ccmode_cfb8 79 unsigned long block_size; member in struct:ccmode_ctr 94 unsigned long block_size; member in struct:ccmode_ofb 111 unsigned long block_size; member in struct:ccmode_xts 140 unsigned long block_size; member in struct:ccmode_gcm 157 unsigned long block_size; member in struct:ccmode_omac
|
H A D | cchmac.h | 27 #define cchmac_di_size(_di_) (cchmac_ctx_size((_di_)->state_size, (_di_)->block_size)) 33 #define cchmac_di_decl(_di_, _name_) cchmac_ctx_decl((_di_)->state_size, (_di_)->block_size, _name_) 34 #define cchmac_di_clear(_di_, _name_) cchmac_ctx_clear((_di_)->state_size, (_di_)->block_size, _name_)
|
H A D | ccmode.h | 30 return mode->block_size; 42 unsigned long numBlocks = (in_len / mode->block_size); 50 unsigned long numBlocks = (in_len / mode->block_size); 90 return mode->block_size; 102 cc_copy(mode->block_size, iv_ctx, iv); 104 cc_zero(mode->block_size, iv_ctx); 118 cccbc_iv_decl(mode->block_size, iv_ctx); 123 cc_zero(mode->block_size, iv_ctx); 142 return mode->block_size; 181 return mode->block_size; [all...] |
H A D | ccdigest.h | 49 unsigned long block_size; member in struct:ccdigest_info 63 #define ccdigest_di_size(_di_) (ccdigest_ctx_size((_di_)->state_size, (_di_)->block_size)) 83 #define ccdigest_num(_di_, _ctx_) (((unsigned int *)(&((ccdigest_ctx_t)(_ctx_)).hdr->state.u8 + (_di_)->state_size + sizeof(uint64_t) + (_di_)->block_size))[0])
|
/darwin-on-arm/xnu/bsd/dev/vn/ |
H A D | shadow.h | 52 uint32_t band_size, uint32_t block_size);
|
H A D | shadow.c | 91 uint32_t block_size; member in struct:shadow_map 423 block_bitmap_size(off_t file_size, uint32_t block_size) argument 425 off_t blocks = howmany(file_size, block_size); 566 uint32_t band_size, uint32_t block_size) 586 bitmap_size = block_bitmap_size(file_size, block_size); 607 map->blocks_per_band = band_size / block_size; 614 map->block_size = block_size; 565 shadow_map_create(off_t file_size, off_t shadow_size, uint32_t band_size, uint32_t block_size) argument
|
/darwin-on-arm/xnu/libkern/crypto/ |
H A D | corecrypto_md5.c | 25 memcpy(md5_ctx->buffer, ccdigest_data(di, di_ctx), di->block_size); 34 ccdigest_num(di, di_ctx)=count%di->block_size; 36 memcpy(ccdigest_data(di, di_ctx), md5_ctx->buffer, di->block_size);
|
H A D | corecrypto_sha1.c | 26 memcpy(sha1_ctx->m.b8, ccdigest_data(di, di_ctx), di->block_size); 35 ccdigest_num(di, di_ctx)=count%di->block_size; 37 memcpy(ccdigest_data(di, di_ctx), sha1_ctx->m.b8, di->block_size);
|
H A D | corecrypto_aes.c | 52 cccbc_iv_decl(cbc->block_size, ctx_iv); 83 cccbc_iv_decl(cbc->block_size, ctx_iv);
|
H A D | corecrypto_des.c | 118 cccbc_iv_decl(cbc->block_size, ctx_iv); 159 cccbc_iv_decl(cbc->block_size, ctx_iv); 188 cccbc_iv_decl(cbc->block_size, ctx_iv);
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_journal.c | 180 uint32_t block_size; member in struct:bucket 938 (*buf_ptr)[blk_index].block_size = size; 954 overwrite = (block_num == (*buf_ptr)[blk_index].block_num && size >= (*buf_ptr)[blk_index].block_size); 959 off_t prev_block_end = prev_block_start + (*buf_ptr)[blk_index-1].block_size; 980 (*buf_ptr)[blk_index-1].block_size = block_start - prev_block_start; 1001 if (block_end >= (off_t)(((*buf_ptr)[index].block_num*jhdr_size + (*buf_ptr)[index].block_size))) { 1021 (*buf_ptr)[index].block_size -= overlap; // sanity check for negative value 1022 if ((*buf_ptr)[index].block_size <= 0) { 1023 panic("jnl: do_overlap: after overlap, new block size is invalid (%u)\n", (*buf_ptr)[index].block_size); 1395 if (co_buf[i].block_size > max_bsiz [all...] |