/titanic_44/usr/src/common/crypto/modes/ |
H A D | cbc.c | 51 uint8_t *blockp; in cbc_encrypt_contiguous_blocks() local 84 blockp = (uint8_t *)ctx->cbc_remainder; in cbc_encrypt_contiguous_blocks() 86 blockp = datap; in cbc_encrypt_contiguous_blocks() 94 xor_block(lastp, blockp); in cbc_encrypt_contiguous_blocks() 95 encrypt(ctx->cbc_keysched, blockp, blockp); in cbc_encrypt_contiguous_blocks() 97 ctx->cbc_lastp = blockp; in cbc_encrypt_contiguous_blocks() 98 lastp = blockp; in cbc_encrypt_contiguous_blocks() 101 bcopy(blockp, ctx->cbc_copy_to, in cbc_encrypt_contiguous_blocks() 103 bcopy(blockp + ctx->cbc_remainder_len, datap, in cbc_encrypt_contiguous_blocks() 111 xor_block(blockp, lastp); in cbc_encrypt_contiguous_blocks() [all …]
|
H A D | ecb.c | 49 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 D | gcm.c | 140 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 D | ccm.c | 57 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 …]
|
H A D | ctr.c | 51 uint8_t *blockp; in ctr_mode_contiguous_blocks() local 85 blockp = (uint8_t *)ctx->ctr_remainder; in ctr_mode_contiguous_blocks() 87 blockp = datap; in ctr_mode_contiguous_blocks() 119 xor_block(blockp, lastp); in ctr_mode_contiguous_blocks()
|
/titanic_44/usr/src/tools/cscope-fast/ |
H A D | find.c | 58 char *blockp; /* pointer to current char in block */ variable 118 cp = blockp; in findsymbol() 136 blockp = cp; in findsymbol() 204 blockp = cp; in findsymbol() 219 blockp = cp; in findsymbol() 236 if (blockp == NULL) { in findsymbol() 241 cp = blockp; in findsymbol() 244 blockp = cp; in findsymbol() 286 switch (*blockp) { in finddef() 369 switch (*blockp) { in findallfcns() [all …]
|
H A D | constants.h | 57 #define getrefchar() (*(++blockp + 1) != '\0' ? *blockp : \ 58 (readblock() != NULL ? *blockp : '\0')) 65 #define skiprefchar() if (*(++blockp + 1) == '\0') (void) readblock()
|
H A D | main.c | 1293 if (blockp != NULL) { in getoldfile() 1295 if (*blockp == NEWFILE) { in getoldfile() 1417 cp = blockp; in copydata() 1437 blockp = cp; in copydata() 1441 cp = blockp; in copydata() 1444 blockp = cp; in copydata() 1460 cp = blockp; in copyinverted() 1484 blockp = cp; in copyinverted() 1504 blockp = cp; in copyinverted() 1510 if (blockp == NULL) { in copyinverted() [all …]
|
H A D | global.h | 156 extern char *blockp; /* pointer to current character in block */
|
/titanic_44/usr/src/cmd/tnf/tnfxtract/ |
H A D | tnfxtract.c | 246 tnf_block_header_t *block_base, *blockp; in main() local 337 blockp = block_base; in main() 340 if (read_tnf_block(blockp, block_num) != 0) in main() 344 bsp->generation = blockp->generation; in main() 345 bsp->bytes_valid = blockp->bytes_valid; in main() 346 writeout((char *) blockp, in main() 348 (int)((char *) blockp - local_buf), in main() 355 blockp = (tnf_block_header_t *) in main() 356 ((char *) blockp + tnf_header->block_size); in main() 368 blockp = block_base; in main() [all …]
|
/titanic_44/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 512 diskaddr_t *blockp = (diskaddr_t *)ip; in _m_reassign_block() local 530 block = *blockp; in _m_reassign_block()
|