Home
last modified time | relevance | path

Searched refs:blockp (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/common/crypto/modes/
H A Dcbc.c58 uint8_t *blockp; in cbc_encrypt_contiguous_blocks() local
91 blockp = (uint8_t *)ctx->cbc_remainder; in cbc_encrypt_contiguous_blocks()
93 blockp = datap; in cbc_encrypt_contiguous_blocks()
101 xor_block(lastp, blockp); in cbc_encrypt_contiguous_blocks()
102 encrypt(ctx->cbc_keysched, blockp, blockp); in cbc_encrypt_contiguous_blocks()
104 ctx->cbc_lastp = blockp; in cbc_encrypt_contiguous_blocks()
105 lastp = blockp; in cbc_encrypt_contiguous_blocks()
109 bcopy(blockp, ctx->cbc_copy_to, in cbc_encrypt_contiguous_blocks()
111 bcopy(blockp + ctx->cbc_remainder_len, datap, in cbc_encrypt_contiguous_blocks()
119 xor_block(blockp, lastp); in cbc_encrypt_contiguous_blocks()
[all …]
H A Decb.c49 uint8_t *blockp; in ecb_cipher_contiguous_blocks() local
82 blockp = (uint8_t *)ctx->ecb_remainder; in ecb_cipher_contiguous_blocks()
84 blockp = datap; in ecb_cipher_contiguous_blocks()
88 cipher(ctx->ecb_keysched, blockp, blockp); in ecb_cipher_contiguous_blocks()
90 ctx->ecb_lastp = blockp; in ecb_cipher_contiguous_blocks()
91 lastp = blockp; in ecb_cipher_contiguous_blocks()
94 bcopy(blockp, ctx->ecb_copy_to, in ecb_cipher_contiguous_blocks()
96 bcopy(blockp + ctx->ecb_remainder_len, datap, in ecb_cipher_contiguous_blocks()
100 cipher(ctx->ecb_keysched, blockp, lastp); in ecb_cipher_contiguous_blocks()
H A Dgcm.c140 uint8_t *blockp; in gcm_mode_encrypt_contiguous_blocks() local
175 blockp = (uint8_t *)ctx->gcm_remainder; in gcm_mode_encrypt_contiguous_blocks()
177 blockp = datap; in gcm_mode_encrypt_contiguous_blocks()
191 xor_block(blockp, (uint8_t *)ctx->gcm_tmp); in gcm_mode_encrypt_contiguous_blocks()
199 bcopy(blockp, ctx->gcm_copy_to, in gcm_mode_encrypt_contiguous_blocks()
201 bcopy(blockp + ctx->gcm_remainder_len, datap, in gcm_mode_encrypt_contiguous_blocks()
416 uint8_t *blockp; in gcm_decrypt_final() local
426 blockp = ctx->gcm_pt_buf; in gcm_decrypt_final()
431 bcopy(blockp, ctx->gcm_remainder, remainder); in gcm_decrypt_final()
443 GHASH(ctx, blockp, ghash); in gcm_decrypt_final()
[all …]
H A Dccm.c57 uint8_t *blockp; in ccm_mode_encrypt_contiguous_blocks() local
94 blockp = (uint8_t *)ctx->ccm_remainder; in ccm_mode_encrypt_contiguous_blocks()
96 blockp = datap; in ccm_mode_encrypt_contiguous_blocks()
105 xor_block(blockp, mac_buf); in ccm_mode_encrypt_contiguous_blocks()
127 xor_block(blockp, lastp); in ccm_mode_encrypt_contiguous_blocks()
133 bcopy(blockp, ctx->ccm_copy_to, in ccm_mode_encrypt_contiguous_blocks()
135 bcopy(blockp + ctx->ccm_remainder_len, datap, in ccm_mode_encrypt_contiguous_blocks()
368 uint8_t *blockp; in ccm_mode_decrypt_contiguous_blocks() local
460 blockp = (uint8_t *)ctx->ccm_remainder; in ccm_mode_decrypt_contiguous_blocks()
462 blockp = datap; in ccm_mode_decrypt_contiguous_blocks()
[all …]
/illumos-gate/usr/src/tools/cscope-fast/
H A Dfind.c56 char *blockp; /* pointer to current char in block */ variable
116 cp = blockp; in findsymbol()
134 blockp = cp; in findsymbol()
202 blockp = cp; in findsymbol()
217 blockp = cp; in findsymbol()
234 if (blockp == NULL) { in findsymbol()
239 cp = blockp; in findsymbol()
242 blockp = cp; in findsymbol()
284 switch (*blockp) { in finddef()
367 switch (*blockp) { in findallfcns()
[all …]
H A Dconstants.h55 #define getrefchar() (*(++blockp + 1) != '\0' ? *blockp : \
56 (readblock() != NULL ? *blockp : '\0'))
63 #define skiprefchar() if (*(++blockp + 1) == '\0') (void) readblock()
H A Dmain.c1291 if (blockp != NULL) { in getoldfile()
1293 if (*blockp == NEWFILE) { in getoldfile()
1415 cp = blockp; in copydata()
1435 blockp = cp; in copydata()
1439 cp = blockp; in copydata()
1442 blockp = cp; in copydata()
1458 cp = blockp; in copyinverted()
1482 blockp = cp; in copyinverted()
1502 blockp = cp; in copyinverted()
1508 if (blockp == NULL) { in copyinverted()
[all …]
H A Dglobal.h156 extern char *blockp; /* pointer to current character in block */
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/
H A Ds_generic.c504 diskaddr_t *blockp = (diskaddr_t *)ip; in _m_reassign_block() local
522 block = *blockp; in _m_reassign_block()