| /xnu-8792.41.9/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 | ccsha2_internal.h | 47 void ccsha256_ltc_compress(ccdigest_state_t state, size_t nblocks, const void *buf); 48 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()
|
| /xnu-8792.41.9/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-8792.41.9/EXTERNAL_HEADERS/corecrypto/ |
| H A D | ccmode.h | 47 CC_INLINE int ccecb_update(const struct ccmode_ecb *mode, const ccecb_ctx *ctx, size_t nblocks, con… in ccecb_update() argument 49 return mode->ecb(ctx, nblocks, in, out); in ccecb_update() 53 ccecb_one_shot(const struct ccmode_ecb *mode, size_t key_len, const void *key, size_t nblocks, cons… in ccecb_one_shot() argument 59 rc = mode->ecb(ctx, nblocks, in, out); in ccecb_one_shot() 119 …date(const struct ccmode_cbc *mode, cccbc_ctx *ctx, cccbc_iv *iv, size_t nblocks, const void *cc_i… in cccbc_update() argument 121 return mode->cbc(ctx, iv, nblocks, in, out); in cccbc_update() 128 size_t nblocks, 401 ccxts_update(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, size_t nblocks, con… in ccxts_update() argument 403 return mode->xts(ctx, tweak, nblocks, in, out); in ccxts_update() 428 size_t nblocks, [all …]
|
| H A D | ccmode_impl.h | 27 … int (*CC_SPTR(ccmode_ecb, ecb))(const ccecb_ctx *ctx, size_t nblocks, const void *in, void *out); 71 …int (*CC_SPTR(ccmode_cbc, cbc))(const cccbc_ctx *ctx, cccbc_iv *iv, size_t nblocks, const void *in… 157 …void *(*CC_SPTR(ccmode_xts, xts))(const ccxts_ctx *ctx, ccxts_tweak *tweak, size_t nblocks, const … 232 …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-8792.41.9/bsd/net/ |
| H A D | flowhash.c | 185 const u_int32_t nblocks = len / 4; in net_flowhash_mh3_x86_32() local 192 blocks = (const u_int32_t *)(const void *)(data + nblocks * 4); in net_flowhash_mh3_x86_32() 194 for (i = -nblocks; i; i++) { in net_flowhash_mh3_x86_32() 207 tail = (const u_int8_t *)(const void *)(data + nblocks * 4); in net_flowhash_mh3_x86_32() 244 const u_int32_t nblocks = len / 16; in net_flowhash_mh3_x64_128() local 254 for (i = 0; i < nblocks; i++) { in net_flowhash_mh3_x64_128() 302 tail = (const u_int8_t *)(const void *)(data + nblocks * 16); in net_flowhash_mh3_x64_128()
|
| /xnu-8792.41.9/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-8792.41.9/bsd/nfs/gss/ |
| H A D | gss_krb5_mech.c | 569 size_t nblocks; in do_crypt() local 571 nblocks = len / wctx->ccmode->block_size; in do_crypt() 573 cccbc_update(wctx->ccmode, wctx->crypt_ctx, wctx->iv, nblocks, data, data); in do_crypt() 948 size_t nblocks = (ksize + 8 * blocksize - 1) / (8 * blocksize); in krb5_key_derivation() local 953 gss_krb5_key_set(dkey, kalloc_data(nblocks * blocksize, Z_WAITOK | Z_ZERO), nblocks * blocksize); in krb5_key_derivation() 958 for (size_t i = 0; i < nblocks; i++) { in krb5_key_derivation()
|
| /xnu-8792.41.9/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()
|