Searched refs:out_data_1_len (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/common/crypto/modes/ |
H A D | cbc.c | 64 size_t out_data_1_len; in cbc_encrypt_contiguous_blocks() local 127 &out_data_1, &out_data_1_len, in cbc_encrypt_contiguous_blocks() 131 if (out_data_1_len == block_size) { in cbc_encrypt_contiguous_blocks() 135 out_data_1_len); in cbc_encrypt_contiguous_blocks() 137 bcopy(lastp + out_data_1_len, in cbc_encrypt_contiguous_blocks() 140 out_data_1_len); in cbc_encrypt_contiguous_blocks() 201 size_t out_data_1_len; in cbc_decrypt_contiguous_blocks() local 255 &out_data_1_len, &out_data_2, block_size); in cbc_decrypt_contiguous_blocks() 257 bcopy(blockp, out_data_1, out_data_1_len); in cbc_decrypt_contiguous_blocks() 259 bcopy(blockp + out_data_1_len, out_data_2, in cbc_decrypt_contiguous_blocks() [all …]
|
H A D | ccm.c | 63 size_t out_data_1_len; in ccm_mode_encrypt_contiguous_blocks() local 140 &out_data_1_len, &out_data_2, block_size); in ccm_mode_encrypt_contiguous_blocks() 143 if (out_data_1_len == block_size) { in ccm_mode_encrypt_contiguous_blocks() 146 bcopy(lastp, out_data_1, out_data_1_len); in ccm_mode_encrypt_contiguous_blocks() 148 bcopy(lastp + out_data_1_len, in ccm_mode_encrypt_contiguous_blocks() 150 block_size - out_data_1_len); in ccm_mode_encrypt_contiguous_blocks() 216 size_t out_data_1_len; in ccm_encrypt_final() local 266 &out_data_1_len, &out_data_2, in ccm_encrypt_final() 279 if (out_data_1_len < ctx->ccm_remainder_len) { in ccm_encrypt_final() 283 bcopy(macp, out_data_1, out_data_1_len); in ccm_encrypt_final() [all …]
|
H A D | ecb.c | 55 size_t out_data_1_len; in ecb_cipher_contiguous_blocks() local 102 &out_data_1_len, &out_data_2, block_size); in ecb_cipher_contiguous_blocks() 105 bcopy(lastp, out_data_1, out_data_1_len); in ecb_cipher_contiguous_blocks() 107 bcopy(lastp + out_data_1_len, out_data_2, in ecb_cipher_contiguous_blocks() 108 block_size - out_data_1_len); in ecb_cipher_contiguous_blocks()
|
H A D | modes.c | 92 uint8_t **out_data_1, size_t *out_data_1_len, uint8_t **out_data_2, in crypto_get_ptrs() argument 106 *out_data_1_len = amt; in crypto_get_ptrs() 128 *out_data_1_len = amt; in crypto_get_ptrs() 133 *out_data_1_len = iov->iov_len - offset; in crypto_get_ptrs() 139 *current_offset = amt - *out_data_1_len; in crypto_get_ptrs() 155 *out_data_1_len = amt; in crypto_get_ptrs() 160 *out_data_1_len = _PTRDIFF(mp->b_wptr, p); in crypto_get_ptrs() 164 *current_offset = (amt - *out_data_1_len); in crypto_get_ptrs()
|
H A D | gcm.c | 146 size_t out_data_1_len; in gcm_mode_encrypt_contiguous_blocks() local 206 &out_data_1_len, &out_data_2, block_size); in gcm_mode_encrypt_contiguous_blocks() 209 if (out_data_1_len == block_size) { in gcm_mode_encrypt_contiguous_blocks() 212 bcopy(lastp, out_data_1, out_data_1_len); in gcm_mode_encrypt_contiguous_blocks() 214 bcopy(lastp + out_data_1_len, in gcm_mode_encrypt_contiguous_blocks() 216 block_size - out_data_1_len); in gcm_mode_encrypt_contiguous_blocks()
|