Lines Matching refs:auth_size
226 u16 auth_size; member
621 upd_info->auth_size.index = auth_offset >> 2; in sa_format_cmdl_gen()
622 upd_info->auth_offset.index = upd_info->auth_size.index + 1; in sa_format_cmdl_gen()
664 cmdl[upd_info->auth_size.index] &= ~SA_CMDL_PAYLOAD_LENGTH_MASK; in sa_update_cmdl()
665 cmdl[upd_info->auth_size.index] |= req->auth_size; in sa_update_cmdl()
677 int offset = (req->auth_size & 0xF) ? 4 : 0; in sa_update_cmdl()
1438 sa_req.auth_size = auth_len; in sa_sha_run()
1914 size_t auth_size, enc_size; in sa_aead_run() local
1917 auth_size = req->assoclen + req->cryptlen; in sa_aead_run()
1921 auth_size -= crypto_aead_authsize(tfm); in sa_aead_run()
1924 if (auth_size > SA_MAX_DATA_SZ || in sa_aead_run()
1925 (auth_size >= SA_UNSAFE_DATA_SZ_MIN && in sa_aead_run()
1926 auth_size <= SA_UNSAFE_DATA_SZ_MAX)) { in sa_aead_run()
1944 sa_req.auth_size = auth_size; in sa_aead_run()
1945 sa_req.size = auth_size; in sa_aead_run()