/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/crypto/ |
H A D | authenc.c | 177 unsigned int authsize; local 199 authsize = crypto_aead_authsize(authenc); 200 cryptlen -= authsize; 201 ihash = ahreq->result + authsize; 203 authsize, 0); 205 err = memcmp(ihash, ahreq->result, authsize) ? -EBADMSG : 0; 226 unsigned int authsize; local 238 authsize = crypto_aead_authsize(authenc); 239 cryptlen -= authsize; 240 ihash = ahreq->result + authsize; 466 unsigned int authsize; local 528 unsigned int authsize = crypto_aead_authsize(authenc); local [all...] |
H A D | gcm.c | 164 unsigned int authsize) 166 switch (authsize) { 573 unsigned int authsize = crypto_aead_authsize(aead); local 574 unsigned int cryptlen = req->cryptlen - authsize; 577 scatterwalk_map_and_copy(iauth_tag, req->src, cryptlen, authsize, 0); 578 return memcmp(iauth_tag, auth_tag, authsize) ? -EBADMSG : 0; 618 unsigned int authsize = crypto_aead_authsize(aead); local 622 if (cryptlen < authsize) 624 cryptlen -= authsize; 882 unsigned int authsize) 163 crypto_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 881 crypto_rfc4106_setauthsize(struct crypto_aead *parent, unsigned int authsize) argument 1094 crypto_rfc4543_setauthsize(struct crypto_aead *parent, unsigned int authsize) argument 1131 unsigned int authsize = crypto_aead_authsize(aead); local [all...] |
H A D | aead.c | 60 int crypto_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 65 if (authsize > crypto_aead_alg(tfm)->maxauthsize) 69 err = crypto_aead_alg(tfm)->setauthsize(crt->base, authsize); 74 crypto_aead_crt(crt->base)->authsize = authsize; 75 crt->authsize = authsize; 107 crt->authsize = alg->maxauthsize; 163 crt->authsize = alg->maxauthsize;
|
H A D | ccm.c | 105 unsigned int authsize) 107 switch (authsize) { 361 unsigned int authsize = crypto_aead_authsize(aead); local 362 unsigned int cryptlen = req->cryptlen - authsize; 366 if (!err && memcmp(pctx->auth_tag, pctx->odata, authsize)) 379 unsigned int authsize = crypto_aead_authsize(aead); local 386 if (cryptlen < authsize) 388 cryptlen -= authsize; 396 scatterwalk_map_and_copy(authtag, req->src, cryptlen, authsize, 0); 425 if (memcmp(authtag, odata, authsize)) 104 crypto_ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 667 crypto_rfc4309_setauthsize(struct crypto_aead *parent, unsigned int authsize) argument [all...] |
H A D | testmgr.c | 367 unsigned int authsize; local 435 authsize = abs(template[i].rlen - template[i].ilen); 436 ret = crypto_aead_setauthsize(tfm, authsize); 439 "authsize to %u on test %d for %s\n", 440 authsize, j, algo); 445 template[i].ilen + (enc ? authsize : 0)); 525 authsize = abs(template[i].rlen - template[i].ilen); 542 n += authsize; 550 ret = crypto_aead_setauthsize(tfm, authsize); 553 "authsize t [all...] |
H A D | pcrypt.c | 110 unsigned int authsize) 114 return crypto_aead_setauthsize(ctx->child, authsize); 109 pcrypt_aead_setauthsize(struct crypto_aead *parent, unsigned int authsize) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/crypto/ |
H A D | ixp4xx_crypto.c | 353 int authsize = crypto_aead_authsize(tfm); local 354 int decryptlen = req->cryptlen - authsize; 358 req->src, decryptlen, authsize, 1); 656 static int setup_auth(struct crypto_tfm *tfm, int encrypt, unsigned authsize, argument 672 cfgword = algo->cfgword | ( authsize << 6); /* (authsize/4) << 8 */ 1006 unsigned authsize = crypto_aead_authsize(tfm); local 1025 /* req->cryptlen includes the authsize when decrypting */ 1026 cryptlen = req->cryptlen -authsize; 1027 eff_cryptlen -= authsize; 1104 aead_setup(struct crypto_aead *tfm, unsigned int authsize) argument 1148 aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument [all...] |
H A D | talitos.c | 716 unsigned int authsize; member in struct:talitos_ctx 737 unsigned int authsize) 741 ctx->authsize = authsize; 908 memcpy((char *)sg_virt(sg) + sg->length - ctx->authsize, 909 icvdata, ctx->authsize); 942 ctx->authsize, ctx->authsize) ? -EBADMSG : 0; 1021 unsigned int authsize = ctx->authsize; local 736 aead_setauthsize(struct crypto_aead *authenc, unsigned int authsize) argument 1210 talitos_edesc_alloc(struct device *dev, struct scatterlist *src, struct scatterlist *dst, int hash_result, unsigned int cryptlen, unsigned int authsize, int icv_stashing, u32 cryptoflags) argument 1311 unsigned int authsize = ctx->authsize; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | crypto.h | 209 int (*setauthsize)(struct crypto_aead *tfm, unsigned int authsize); 345 unsigned int authsize; member in struct:aead_tfm 753 return crypto_aead_crt(tfm)->authsize; 789 int crypto_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize);
|