Lines Matching refs:authsize
195 unsigned int authsize; member
324 append_seq_store(desc, ctx->authsize, LDST_CLASS_2_CCB | in aead_null_set_sh_desc()
409 append_seq_fifo_load(desc, ctx->authsize, FIFOLD_CLASS_CLASS2 | in aead_null_set_sh_desc()
516 append_seq_store(desc, ctx->authsize, LDST_CLASS_2_CCB | in aead_set_sh_desc()
586 append_seq_fifo_load(desc, ctx->authsize, FIFOLD_CLASS_CLASS2 | in aead_set_sh_desc()
649 append_math_sub_imm_u32(desc, REG3, SEQOUTLEN, IMM, ctx->authsize); in aead_set_sh_desc()
694 append_seq_store(desc, ctx->authsize, LDST_CLASS_2_CCB | in aead_set_sh_desc()
715 unsigned int authsize) in aead_setauthsize() argument
719 ctx->authsize = authsize; in aead_setauthsize()
734 if (!ctx->enckeylen || !ctx->authsize) in gcm_set_sh_desc()
815 append_seq_store(desc, ctx->authsize, LDST_CLASS_1_CCB | in gcm_set_sh_desc()
896 append_seq_fifo_load(desc, ctx->authsize, FIFOLD_CLASS_CLASS1 | in gcm_set_sh_desc()
915 static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in gcm_setauthsize() argument
919 ctx->authsize = authsize; in gcm_setauthsize()
933 if (!ctx->enckeylen || !ctx->authsize) in rfc4106_set_sh_desc()
994 append_seq_store(desc, ctx->authsize, LDST_CLASS_1_CCB | in rfc4106_set_sh_desc()
1068 append_seq_fifo_load(desc, ctx->authsize, FIFOLD_CLASS_CLASS1 | in rfc4106_set_sh_desc()
1088 unsigned int authsize) in rfc4106_setauthsize() argument
1092 ctx->authsize = authsize; in rfc4106_setauthsize()
1107 if (!ctx->enckeylen || !ctx->authsize) in rfc4543_set_sh_desc()
1167 append_seq_store(desc, ctx->authsize, LDST_CLASS_1_CCB | in rfc4543_set_sh_desc()
1245 append_seq_fifo_load(desc, ctx->authsize, FIFOLD_CLASS_CLASS1 | in rfc4543_set_sh_desc()
1265 unsigned int authsize) in rfc4543_setauthsize() argument
1269 ctx->authsize = authsize; in rfc4543_setauthsize()
2036 int authsize = ctx->authsize; in init_aead_job() local
2078 req->assoclen + req->cryptlen + authsize, in init_aead_job()
2082 req->assoclen + req->cryptlen - authsize, in init_aead_job()
2279 unsigned int authsize = ctx->authsize; in aead_edesc_alloc() local
2285 (encrypt ? authsize : (-authsize))); in aead_edesc_alloc()
2289 (encrypt ? authsize : 0)); in aead_edesc_alloc()