Home
last modified time | relevance | path

Searched refs:counterp (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/common/syscall/
H A Dcorectl.c428 set_one_proc_info(proc_t *p, counter_t *counterp) in set_one_proc_info() argument
437 counterp->cc_count++; in set_one_proc_info()
438 if (counterp->cc_path != NULL) { in set_one_proc_info()
439 corectl_path_hold(counterp->cc_path); in set_one_proc_info()
442 p->p_corefile = counterp->cc_path; in set_one_proc_info()
447 corectl_content_hold(counterp->cc_content); in set_one_proc_info()
450 p->p_content = counterp->cc_content; in set_one_proc_info()
/titanic_50/usr/src/common/crypto/modes/
H A Dccm.c187 uint8_t *counterp, *mac_buf; in calculate_ccm_mac() local
196 counterp = (uint8_t *)ctx->ccm_tmp; in calculate_ccm_mac()
197 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, counterp); in calculate_ccm_mac()
201 ccm_mac[i] = mac_buf[i] ^ counterp[i]; in calculate_ccm_mac()
337 uint8_t *datap, *outp, *counterp; in ccm_decrypt_incomplete_block() local
343 counterp = (uint8_t *)ctx->ccm_tmp; in ccm_decrypt_incomplete_block()
344 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, counterp); in ccm_decrypt_incomplete_block()
348 outp[i] = datap[i] ^ counterp[i]; in ccm_decrypt_incomplete_block()
H A Dgcm.c334 uint8_t *datap, *outp, *counterp; in gcm_decrypt_incomplete_block() local
350 counterp = (uint8_t *)ctx->gcm_tmp; in gcm_decrypt_incomplete_block()
360 encrypt_block(ctx->gcm_keysched, (uint8_t *)ctx->gcm_cb, counterp); in gcm_decrypt_incomplete_block()
364 outp[i] = datap[i] ^ counterp[i]; in gcm_decrypt_incomplete_block()