authenc 84 crypto/authenc.c static int crypto_authenc_setkey(struct crypto_aead *authenc, const u8 *key, authenc 87 crypto/authenc.c struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); authenc 97 crypto/authenc.c crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc) & authenc 100 crypto/authenc.c crypto_aead_set_flags(authenc, crypto_ahash_get_flags(auth) & authenc 107 crypto/authenc.c crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc) & authenc 110 crypto/authenc.c crypto_aead_set_flags(authenc, crypto_skcipher_get_flags(enc) & authenc 118 crypto/authenc.c crypto_aead_set_flags(authenc, CRYPTO_TFM_RES_BAD_KEY_LEN); authenc 125 crypto/authenc.c struct crypto_aead *authenc = crypto_aead_reqtfm(req); authenc 126 crypto/authenc.c struct aead_instance *inst = aead_alg_instance(authenc); authenc 136 crypto/authenc.c crypto_aead_authsize(authenc), 1); authenc 144 crypto/authenc.c struct crypto_aead *authenc = crypto_aead_reqtfm(req); authenc 145 crypto/authenc.c struct aead_instance *inst = aead_alg_instance(authenc); authenc 146 crypto/authenc.c struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); authenc 168 crypto/authenc.c crypto_aead_authsize(authenc), 1); authenc 189 crypto/authenc.c struct crypto_aead *authenc = crypto_aead_reqtfm(req); authenc 190 crypto/authenc.c struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); authenc 204 crypto/authenc.c struct crypto_aead *authenc = crypto_aead_reqtfm(req); authenc 205 crypto/authenc.c struct aead_instance *inst = aead_alg_instance(authenc); authenc 206 crypto/authenc.c struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); authenc 242 crypto/authenc.c struct crypto_aead *authenc = crypto_aead_reqtfm(req); authenc 243 crypto/authenc.c struct aead_instance *inst = aead_alg_instance(authenc); authenc 244 crypto/authenc.c struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); authenc 250 crypto/authenc.c unsigned int authsize = crypto_aead_authsize(authenc); authenc 290 crypto/authenc.c struct crypto_aead *authenc = crypto_aead_reqtfm(req); authenc 291 crypto/authenc.c unsigned int authsize = crypto_aead_authsize(authenc); authenc 292 crypto/authenc.c struct aead_instance *inst = aead_alg_instance(authenc); authenc 293 crypto/authenc.c struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); authenc 297 drivers/crypto/caam/caamalg.c static int aead_setauthsize(struct crypto_aead *authenc, authenc 300 drivers/crypto/caam/caamalg.c struct caam_ctx *ctx = crypto_aead_ctx(authenc); authenc 303 drivers/crypto/caam/caamalg.c aead_set_sh_desc(authenc); authenc 358 drivers/crypto/caam/caamalg.c static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) authenc 360 drivers/crypto/caam/caamalg.c struct caam_ctx *ctx = crypto_aead_ctx(authenc); authenc 368 drivers/crypto/caam/caamalg.c gcm_set_sh_desc(authenc); authenc 425 drivers/crypto/caam/caamalg.c static int rfc4106_setauthsize(struct crypto_aead *authenc, authenc 428 drivers/crypto/caam/caamalg.c struct caam_ctx *ctx = crypto_aead_ctx(authenc); authenc 436 drivers/crypto/caam/caamalg.c rfc4106_set_sh_desc(authenc); authenc 493 drivers/crypto/caam/caamalg.c static int rfc4543_setauthsize(struct crypto_aead *authenc, authenc 496 drivers/crypto/caam/caamalg.c struct caam_ctx *ctx = crypto_aead_ctx(authenc); authenc 502 drivers/crypto/caam/caamalg.c rfc4543_set_sh_desc(authenc); authenc 177 drivers/crypto/caam/caamalg_qi.c static int aead_setauthsize(struct crypto_aead *authenc, unsigned int authsize) authenc 179 drivers/crypto/caam/caamalg_qi.c struct caam_ctx *ctx = crypto_aead_ctx(authenc); authenc 182 drivers/crypto/caam/caamalg_qi.c aead_set_sh_desc(authenc); authenc 336 drivers/crypto/caam/caamalg_qi.c static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) authenc 338 drivers/crypto/caam/caamalg_qi.c struct caam_ctx *ctx = crypto_aead_ctx(authenc); authenc 346 drivers/crypto/caam/caamalg_qi.c gcm_set_sh_desc(authenc); authenc 441 drivers/crypto/caam/caamalg_qi.c static int rfc4106_setauthsize(struct crypto_aead *authenc, authenc 444 drivers/crypto/caam/caamalg_qi.c struct caam_ctx *ctx = crypto_aead_ctx(authenc); authenc 452 drivers/crypto/caam/caamalg_qi.c rfc4106_set_sh_desc(authenc); authenc 551 drivers/crypto/caam/caamalg_qi.c static int rfc4543_setauthsize(struct crypto_aead *authenc, authenc 554 drivers/crypto/caam/caamalg_qi.c struct caam_ctx *ctx = crypto_aead_ctx(authenc); authenc 560 drivers/crypto/caam/caamalg_qi.c rfc4543_set_sh_desc(authenc); authenc 270 drivers/crypto/caam/caamalg_qi2.c static int aead_setauthsize(struct crypto_aead *authenc, unsigned int authsize) authenc 272 drivers/crypto/caam/caamalg_qi2.c struct caam_ctx *ctx = crypto_aead_ctx(authenc); authenc 275 drivers/crypto/caam/caamalg_qi2.c aead_set_sh_desc(authenc); authenc 705 drivers/crypto/caam/caamalg_qi2.c static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) authenc 707 drivers/crypto/caam/caamalg_qi2.c struct caam_ctx *ctx = crypto_aead_ctx(authenc); authenc 715 drivers/crypto/caam/caamalg_qi2.c gcm_set_sh_desc(authenc); authenc 801 drivers/crypto/caam/caamalg_qi2.c static int rfc4106_setauthsize(struct crypto_aead *authenc, authenc 804 drivers/crypto/caam/caamalg_qi2.c struct caam_ctx *ctx = crypto_aead_ctx(authenc); authenc 812 drivers/crypto/caam/caamalg_qi2.c rfc4106_set_sh_desc(authenc); authenc 904 drivers/crypto/caam/caamalg_qi2.c static int rfc4543_setauthsize(struct crypto_aead *authenc, authenc 907 drivers/crypto/caam/caamalg_qi2.c struct caam_ctx *ctx = crypto_aead_ctx(authenc); authenc 913 drivers/crypto/caam/caamalg_qi2.c rfc4543_set_sh_desc(authenc); authenc 679 drivers/crypto/ccree/cc_aead.c static int cc_aead_setauthsize(struct crypto_aead *authenc, authenc 682 drivers/crypto/ccree/cc_aead.c struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc); authenc 687 drivers/crypto/ccree/cc_aead.c authsize > crypto_aead_maxauthsize(authenc)) { authenc 697 drivers/crypto/ccree/cc_aead.c static int cc_rfc4309_ccm_setauthsize(struct crypto_aead *authenc, authenc 709 drivers/crypto/ccree/cc_aead.c return cc_aead_setauthsize(authenc, authsize); authenc 712 drivers/crypto/ccree/cc_aead.c static int cc_ccm_setauthsize(struct crypto_aead *authenc, authenc 728 drivers/crypto/ccree/cc_aead.c return cc_aead_setauthsize(authenc, authsize); authenc 2172 drivers/crypto/ccree/cc_aead.c static int cc_gcm_setauthsize(struct crypto_aead *authenc, authenc 2188 drivers/crypto/ccree/cc_aead.c return cc_aead_setauthsize(authenc, authsize); authenc 2191 drivers/crypto/ccree/cc_aead.c static int cc_rfc4106_gcm_setauthsize(struct crypto_aead *authenc, authenc 2194 drivers/crypto/ccree/cc_aead.c struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc); authenc 2208 drivers/crypto/ccree/cc_aead.c return cc_aead_setauthsize(authenc, authsize); authenc 2211 drivers/crypto/ccree/cc_aead.c static int cc_rfc4543_gcm_setauthsize(struct crypto_aead *authenc, authenc 2214 drivers/crypto/ccree/cc_aead.c struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc); authenc 2222 drivers/crypto/ccree/cc_aead.c return cc_aead_setauthsize(authenc, authsize); authenc 121 drivers/crypto/chelsio/chcr_algo.c return gctx->ctx->authenc; authenc 3403 drivers/crypto/chelsio/chcr_algo.c static int chcr_authenc_setkey(struct crypto_aead *authenc, const u8 *key, authenc 3406 drivers/crypto/chelsio/chcr_algo.c struct chcr_aead_ctx *aeadctx = AEAD_CTX(a_ctx(authenc)); authenc 3411 drivers/crypto/chelsio/chcr_algo.c unsigned int max_authsize = crypto_aead_alg(authenc)->maxauthsize; authenc 3421 drivers/crypto/chelsio/chcr_algo.c crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(authenc) authenc 3424 drivers/crypto/chelsio/chcr_algo.c crypto_aead_clear_flags(authenc, CRYPTO_TFM_RES_MASK); authenc 3425 drivers/crypto/chelsio/chcr_algo.c crypto_aead_set_flags(authenc, crypto_aead_get_flags(aeadctx->sw_cipher) authenc 3431 drivers/crypto/chelsio/chcr_algo.c crypto_aead_set_flags(authenc, CRYPTO_TFM_RES_BAD_KEY_LEN); authenc 3439 drivers/crypto/chelsio/chcr_algo.c subtype = get_aead_subtype(authenc); authenc 3538 drivers/crypto/chelsio/chcr_algo.c static int chcr_aead_digest_null_setkey(struct crypto_aead *authenc, authenc 3541 drivers/crypto/chelsio/chcr_algo.c struct chcr_aead_ctx *aeadctx = AEAD_CTX(a_ctx(authenc)); authenc 3551 drivers/crypto/chelsio/chcr_algo.c crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(authenc) authenc 3554 drivers/crypto/chelsio/chcr_algo.c crypto_aead_clear_flags(authenc, CRYPTO_TFM_RES_MASK); authenc 3555 drivers/crypto/chelsio/chcr_algo.c crypto_aead_set_flags(authenc, crypto_aead_get_flags(aeadctx->sw_cipher) authenc 3561 drivers/crypto/chelsio/chcr_algo.c crypto_aead_set_flags(authenc, CRYPTO_TFM_RES_BAD_KEY_LEN); authenc 3564 drivers/crypto/chelsio/chcr_algo.c subtype = get_aead_subtype(authenc); authenc 224 drivers/crypto/chelsio/chcr_crypto.h struct chcr_authenc_ctx authenc[0]; authenc 888 drivers/crypto/talitos.c static int aead_setkey(struct crypto_aead *authenc, authenc 891 drivers/crypto/talitos.c struct talitos_ctx *ctx = crypto_aead_ctx(authenc); authenc 917 drivers/crypto/talitos.c crypto_aead_set_flags(authenc, CRYPTO_TFM_RES_BAD_KEY_LEN); authenc 922 drivers/crypto/talitos.c static int aead_des3_setkey(struct crypto_aead *authenc, authenc 925 drivers/crypto/talitos.c struct talitos_ctx *ctx = crypto_aead_ctx(authenc); authenc 938 drivers/crypto/talitos.c err = verify_aead_des3_key(authenc, keys.enckey, keys.enckeylen); authenc 959 drivers/crypto/talitos.c crypto_aead_set_flags(authenc, CRYPTO_TFM_RES_BAD_KEY_LEN); authenc 1031 drivers/crypto/talitos.c struct crypto_aead *authenc = crypto_aead_reqtfm(areq); authenc 1032 drivers/crypto/talitos.c unsigned int ivsize = crypto_aead_ivsize(authenc); authenc 1051 drivers/crypto/talitos.c struct crypto_aead *authenc = crypto_aead_reqtfm(req); authenc 1052 drivers/crypto/talitos.c unsigned int authsize = crypto_aead_authsize(authenc); authenc 1422 drivers/crypto/talitos.c struct crypto_aead *authenc = crypto_aead_reqtfm(areq); authenc 1423 drivers/crypto/talitos.c unsigned int authsize = crypto_aead_authsize(authenc); authenc 1424 drivers/crypto/talitos.c struct talitos_ctx *ctx = crypto_aead_ctx(authenc); authenc 1425 drivers/crypto/talitos.c unsigned int ivsize = crypto_aead_ivsize(authenc); authenc 1436 drivers/crypto/talitos.c struct crypto_aead *authenc = crypto_aead_reqtfm(req); authenc 1437 drivers/crypto/talitos.c struct talitos_ctx *ctx = crypto_aead_ctx(authenc); authenc 1453 drivers/crypto/talitos.c struct crypto_aead *authenc = crypto_aead_reqtfm(req); authenc 1454 drivers/crypto/talitos.c unsigned int authsize = crypto_aead_authsize(authenc); authenc 1455 drivers/crypto/talitos.c struct talitos_ctx *ctx = crypto_aead_ctx(authenc);