Lines Matching refs:iv_len
27 unsigned int iv_len;
264 iv_len = sctx_pl_len -
267 packet_log(" IV Length:%u Bytes\n", iv_len);
268 packet_dump(" IV: ", ptr, iv_len);
269 ptr += iv_len;
480 * @iv_len: length of IV (bytes)
486 unsigned int assoc_len, unsigned int iv_len,
516 * @iv_len: initialization vector length in bytes
523 u8 spum_aead_ivlen(enum spu_cipher_mode cipher_mode, u16 iv_len)
610 aead_parms->iv_len + aead_parms->aad_pad_len;
614 aead_parms->iv_len,
649 flow_log(" iv: %d\n", cipher_parms->iv_len);
650 flow_dump(" iv: ", cipher_parms->iv_buf, cipher_parms->iv_len);
663 flow_log(" aead_iv: %u\n", aead_parms->iv_len);
749 if (cipher_parms->iv_buf && cipher_parms->iv_len) {
754 memcpy(ptr, cipher_parms->iv_buf, cipher_parms->iv_len);
756 ptr += cipher_parms->iv_len;
757 buf_len += cipher_parms->iv_len;
758 sctx_words += cipher_parms->iv_len / 4;
844 flow_log(" cipher_iv_len: %u\n", cipher_parms->iv_len);
873 if (cipher_parms->iv_len) {
876 ptr += cipher_parms->iv_len;
877 sctx_words += cipher_parms->iv_len / 4;
904 cipher_parms->iv_len + sizeof(struct BDESC_HEADER) +
949 memset(cipher_parms->iv_buf, 0, cipher_parms->iv_len);
951 flow_log(" iv len: %d\n", cipher_parms->iv_len);
952 flow_dump(" iv: ", cipher_parms->iv_buf, cipher_parms->iv_len);
968 if (cipher_parms->alg && cipher_parms->iv_buf && cipher_parms->iv_len)
970 memcpy(bdesc_ptr - cipher_parms->iv_len, cipher_parms->iv_buf,
971 cipher_parms->iv_len);
1152 if (cipher_parms->iv_len != CCM_AES_IV_SIZE) {
1154 __func__, cipher_parms->iv_len, CCM_AES_IV_SIZE);