Searched defs:authsize (Results 1 - 6 of 6) sorted by relevance

/drivers/crypto/nx/
H A Dnx-aes-gcm.c97 unsigned int authsize)
99 if (authsize > crypto_aead_alg(tfm)->maxauthsize)
102 crypto_aead_crt(tfm)->authsize = authsize;
108 unsigned int authsize)
110 switch (authsize) {
119 crypto_aead_crt(tfm)->authsize = authsize;
96 gcm_aes_nx_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
107 gcm4106_aes_nx_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
H A Dnx-aes-ccm.c82 unsigned int authsize)
84 switch (authsize) {
97 crypto_aead_crt(tfm)->authsize = authsize;
103 unsigned int authsize)
105 switch (authsize) {
114 crypto_aead_crt(tfm)->authsize = authsize;
149 static int generate_b0(u8 *iv, unsigned int assoclen, unsigned int authsize, argument
152 unsigned int l, lp, m = authsize;
81 ccm_aes_nx_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
102 ccm4309_aes_nx_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
172 generate_pat(u8 *iv, struct aead_request *req, struct nx_crypto_ctx *nx_ctx, unsigned int authsize, unsigned int nbytes, u8 *out) argument
342 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); local
427 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); local
[all...]
/drivers/crypto/caam/
H A Dcaamalg.c177 unsigned int authsize; member in struct:caam_ctx
248 /* cryptlen = seqoutlen - authsize */
249 append_math_sub_imm_u32(desc, REG3, SEQOUTLEN, IMM, ctx->authsize);
292 append_seq_store(desc, ctx->authsize, LDST_CLASS_2_CCB |
339 /* assoclen + cryptlen = seqinlen - ivsize - authsize */
341 ctx->authsize + tfm->ivsize);
385 append_seq_fifo_load(desc, ctx->authsize, FIFOLD_CLASS_CLASS2 |
414 if (!ctx->authsize)
439 /* cryptlen = seqoutlen - authsize */
440 append_math_sub_imm_u32(desc, REG3, SEQOUTLEN, IMM, ctx->authsize);
622 aead_setauthsize(struct crypto_aead *authenc, unsigned int authsize) argument
1086 int authsize = ctx->authsize; local
1162 int authsize = ctx->authsize; local
1294 unsigned int authsize = ctx->authsize; local
[all...]
/drivers/crypto/
H A Dixp4xx_crypto.c341 int authsize = crypto_aead_authsize(tfm); local
342 int decryptlen = req->cryptlen - authsize;
346 req->src, decryptlen, authsize, 1);
645 static int setup_auth(struct crypto_tfm *tfm, int encrypt, unsigned authsize, argument
661 cfgword = algo->cfgword | ( authsize << 6); /* (authsize/4) << 8 */
996 unsigned authsize = crypto_aead_authsize(tfm); local
1016 /* req->cryptlen includes the authsize when decrypting */
1017 cryptlen = req->cryptlen -authsize;
1018 eff_cryptlen -= authsize;
1095 aead_setup(struct crypto_aead *tfm, unsigned int authsize) argument
1139 aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
[all...]
H A Dpicoxcell_crypto.c530 unsigned int authsize)
534 ctx->auth_size = authsize;
529 spacc_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
H A Dtalitos.c651 unsigned int authsize; member in struct:talitos_ctx
672 unsigned int authsize)
676 ctx->authsize = authsize;
839 memcpy((char *)sg_virt(sg) + sg->length - ctx->authsize,
840 icvdata, ctx->authsize);
874 ctx->authsize, ctx->authsize) ? -EBADMSG : 0;
951 unsigned int authsize = ctx->authsize; local
671 aead_setauthsize(struct crypto_aead *authenc, unsigned int authsize) argument
1114 talitos_edesc_alloc(struct device *dev, struct scatterlist *assoc, struct scatterlist *src, struct scatterlist *dst, u8 *iv, unsigned int assoclen, unsigned int cryptlen, unsigned int authsize, unsigned int ivsize, int icv_stashing, u32 cryptoflags, bool encrypt) argument
1252 unsigned int authsize = ctx->authsize; local
[all...]

Completed in 149 milliseconds