Searched refs:ivlen (Results 1 – 2 of 2) sorted by relevance
265 int ivlen = BLOCK_LEN_BYTES - (ctx->mode_params.ctr_info.ctr_len >> 3); in crypto_stm32_ctr_encrypt() local269 if (copy_words_adjust_endianness((uint8_t *)ctr, sizeof(ctr), iv, ivlen) != 0) { in crypto_stm32_ctr_encrypt()288 int ivlen = BLOCK_LEN_BYTES - (ctx->mode_params.ctr_info.ctr_len >> 3); in crypto_stm32_ctr_decrypt() local292 if (copy_words_adjust_endianness((uint8_t *)ctr, sizeof(ctr), iv, ivlen) != 0) { in crypto_stm32_ctr_decrypt()
81 int ivlen = ctx->keylen - (ctx->mode_params.ctr_info.ctr_len >> 3); in do_ctr_op() local86 memcpy(ctr, iv, ivlen); in do_ctr_op()