Searched refs:ccm_remainder_len (Results 1 – 2 of 2) sorted by relevance
60 if (length + ctx->ccm_remainder_len < block_size) { in ccm_mode_encrypt_contiguous_blocks()62 memcpy((uint8_t *)ctx->ccm_remainder + ctx->ccm_remainder_len, in ccm_mode_encrypt_contiguous_blocks()65 ctx->ccm_remainder_len += length; in ccm_mode_encrypt_contiguous_blocks()76 if (ctx->ccm_remainder_len > 0) { in ccm_mode_encrypt_contiguous_blocks()77 need = block_size - ctx->ccm_remainder_len; in ccm_mode_encrypt_contiguous_blocks()83 [ctx->ccm_remainder_len], datap, need); in ccm_mode_encrypt_contiguous_blocks()145 if (ctx->ccm_remainder_len != 0) { in ccm_mode_encrypt_contiguous_blocks()147 ctx->ccm_remainder_len = 0; in ccm_mode_encrypt_contiguous_blocks()157 ctx->ccm_remainder_len = remainder; in ccm_mode_encrypt_contiguous_blocks()205 if (out->cd_length < (ctx->ccm_remainder_len + ctx->ccm_mac_len)) { in ccm_encrypt_final()[all …]
126 #define ccm_remainder_len ccm_common.cc_remainder_len macro