Lines Matching refs:auth_size
207 u16 auth_size; member
600 upd_info->auth_size.index = auth_offset >> 2; in sa_format_cmdl_gen()
601 upd_info->auth_offset.index = upd_info->auth_size.index + 1; in sa_format_cmdl_gen()
643 cmdl[upd_info->auth_size.index] &= ~SA_CMDL_PAYLOAD_LENGTH_MASK; in sa_update_cmdl()
644 cmdl[upd_info->auth_size.index] |= req->auth_size; in sa_update_cmdl()
656 int offset = (req->auth_size & 0xF) ? 4 : 0; in sa_update_cmdl()
1416 sa_req.auth_size = auth_len; in sa_sha_run()
1894 size_t auth_size, enc_size; in sa_aead_run() local
1897 auth_size = req->assoclen + req->cryptlen; in sa_aead_run()
1901 auth_size -= crypto_aead_authsize(tfm); in sa_aead_run()
1904 if (auth_size > SA_MAX_DATA_SZ || in sa_aead_run()
1905 (auth_size >= SA_UNSAFE_DATA_SZ_MIN && in sa_aead_run()
1906 auth_size <= SA_UNSAFE_DATA_SZ_MAX)) { in sa_aead_run()
1924 sa_req.auth_size = auth_size; in sa_aead_run()
1925 sa_req.size = auth_size; in sa_aead_run()