| /xnu-11417.121.6/osfmk/corecrypto/ |
| H A D | ccdigest_update.c | 46 size_t nblocks, nbytes; in ccdigest_update() local 56 nblocks = len >> 6; in ccdigest_update() 57 nbytes = nblocks << 6; in ccdigest_update() 59 nblocks = len >> 7; in ccdigest_update() 60 nbytes = nblocks << 7; in ccdigest_update() 62 nblocks = len / di->block_size; in ccdigest_update() 63 nbytes = nblocks * di->block_size; in ccdigest_update() 66 di->compress(ccdigest_state(di, ctx), nblocks, data_ptr); in ccdigest_update()
|
| H A D | cccbc.c | 112 size_t nblocks, in cccbc_update() argument 118 return mode->cbc(ctx, iv, nblocks, in, out); in cccbc_update() 126 size_t nblocks, in cccbc_one_shot() argument 143 nblocks, in cccbc_one_shot() 146 cc_unsafe_forge_bidi_indexable(in, mode->block_size * nblocks), in cccbc_one_shot() 147 cc_unsafe_forge_bidi_indexable(out, mode->block_size * nblocks)); in cccbc_one_shot() 155 size_t nblocks, in cccbc_one_shot_explicit() argument 158 const void *cc_sized_by(block_size * nblocks)in, in cccbc_one_shot_explicit() 159 void *cc_sized_by(block_size * nblocks)out) in cccbc_one_shot_explicit() 182 rc = mode->cbc(ctx, iv_ctx, nblocks, in, out); in cccbc_one_shot_explicit()
|
| H A D | ccsha2_internal.h | 52 void ccsha256_ltc_compress(ccdigest_state_t state, size_t nblocks, const void *buf); 53 void ccsha512_ltc_compress(ccdigest_state_t state, size_t nblocks, const void *in);
|
| H A D | ccsha256_ltc_compress.c | 83 ccsha256_ltc_compress(ccdigest_state_t state, size_t nblocks, const void *in) in ccsha256_ltc_compress() argument 91 while (nblocks--) { in ccsha256_ltc_compress()
|
| H A D | ccmode_internal.h | 104 int ccmode_cbc_decrypt(const cccbc_ctx *ctx, cccbc_iv *iv, size_t nblocks, 106 int ccmode_cbc_encrypt(const cccbc_ctx *ctx, cccbc_iv *iv, size_t nblocks, 331 size_t nblocks, const void *in, void *out); 511 int ccmode_omac_decrypt(ccomac_ctx *ctx, size_t nblocks, 513 int ccmode_omac_encrypt(ccomac_ctx *ctx, size_t nblocks,
|
| /xnu-11417.121.6/EXTERNAL_HEADERS/corecrypto/ |
| H A D | ccmode.h | 36 int ccecb_update(const struct ccmode_ecb *mode, const ccecb_ctx *ctx, size_t nblocks, const void *c… 42 size_t nblocks, 49 size_t nblocks, 51 const void *cc_sized_by(block_size * nblocks) in, 52 void *cc_sized_by(block_size * nblocks) out); 86 int cccbc_update(const struct ccmode_cbc *mode, const cccbc_ctx *ctx, cccbc_iv *iv, size_t nblocks,… 93 size_t nblocks, 101 size_t nblocks, 104 const void *cc_sized_by(block_size * nblocks) in, 105 void *cc_sized_by(block_size * nblocks) out); [all …]
|
| H A D | ccmode_impl.h | 26 … int (*CC_SPTR(ccmode_ecb, ecb))(const ccecb_ctx *ctx, size_t nblocks, const void *in, void *out); 74 …int (*CC_SPTR(ccmode_cbc, cbc))(const cccbc_ctx *ctx, cccbc_iv *iv, size_t nblocks, const void *in… 160 …void *(*CC_SPTR(ccmode_xts, xts))(const ccxts_ctx *ctx, ccxts_tweak *tweak, size_t nblocks, const … 235 …int (*CC_SPTR(ccmode_omac, omac))(ccomac_ctx *ctx, size_t nblocks, const void *tweak, const void *…
|
| H A D | ccdigest.h | 39 void(* CC_SPTR(ccdigest_info, compress))(ccdigest_state_t state, size_t nblocks,
|
| /xnu-11417.121.6/tests/ |
| H A D | prng.c | 20 size_t nblocks = buf_size / BLOCK_SIZE; in prng_sanitycheck() local 21 qsort(buf, nblocks, BLOCK_SIZE, cmp); in prng_sanitycheck() 23 for (size_t i = 0; i < nblocks - 1; i += 1) { in prng_sanitycheck()
|
| /xnu-11417.121.6/bsd/net/ |
| H A D | flowhash.c | 186 const u_int32_t nblocks = len / 4; in net_flowhash_mh3_x86_32() local 193 blocks = (const u_int32_t *)(const void *)(data + nblocks * 4); in net_flowhash_mh3_x86_32() 195 for (i = -nblocks; i; i++) { in net_flowhash_mh3_x86_32() 208 tail = (const u_int8_t *)(const void *)(data + nblocks * 4); in net_flowhash_mh3_x86_32() 245 const u_int32_t nblocks = len / 16; in net_flowhash_mh3_x64_128() local 255 for (i = 0; i < nblocks; i++) { in net_flowhash_mh3_x64_128() 303 tail = (const u_int8_t *)(const void *)(data + nblocks * 16); in net_flowhash_mh3_x64_128()
|
| /xnu-11417.121.6/tools/tests/perf_index/ |
| H A D | md5.c | 37 md5_compress(uint32_t *state, unsigned long nblocks, const void *in) in md5_compress() argument 43 while (nblocks--) { in md5_compress()
|
| /xnu-11417.121.6/bsd/nfs/gss/ |
| H A D | gss_krb5_mech.c | 568 size_t nblocks; in do_crypt() local 570 nblocks = len / wctx->ccmode->block_size; in do_crypt() 572 cccbc_update(wctx->ccmode, wctx->crypt_ctx, wctx->iv, nblocks, data, data); in do_crypt() 947 size_t nblocks = (ksize + 8 * blocksize - 1) / (8 * blocksize); in krb5_key_derivation() local 952 gss_krb5_key_set(dkey, kalloc_data(nblocks * blocksize, Z_WAITOK | Z_ZERO), nblocks * blocksize); in krb5_key_derivation() 957 for (size_t i = 0; i < nblocks; i++) { in krb5_key_derivation()
|
| /xnu-11417.121.6/bsd/kern/ |
| H A D | subr_log_stream.c | 208 blocks_size(size_t nblocks) in blocks_size() argument 210 return nblocks << LOG_BLK_EXP; in blocks_size()
|