skcipher 51 crypto/essiv.c struct crypto_skcipher *skcipher; skcipher 73 crypto/essiv.c crypto_skcipher_clear_flags(tctx->u.skcipher, CRYPTO_TFM_REQ_MASK); skcipher 74 crypto/essiv.c crypto_skcipher_set_flags(tctx->u.skcipher, skcipher 77 crypto/essiv.c err = crypto_skcipher_setkey(tctx->u.skcipher, key, keylen); skcipher 79 crypto/essiv.c crypto_skcipher_get_flags(tctx->u.skcipher) & skcipher 166 crypto/essiv.c skcipher_request_set_tfm(subreq, tctx->u.skcipher); skcipher 315 crypto/essiv.c struct crypto_skcipher *skcipher; skcipher 318 crypto/essiv.c skcipher = crypto_spawn_skcipher(&ictx->u.skcipher_spawn); skcipher 319 crypto/essiv.c if (IS_ERR(skcipher)) skcipher 320 crypto/essiv.c return PTR_ERR(skcipher); skcipher 323 crypto/essiv.c crypto_skcipher_reqsize(skcipher)); skcipher 327 crypto/essiv.c crypto_free_skcipher(skcipher); skcipher 331 crypto/essiv.c tctx->u.skcipher = skcipher; skcipher 372 crypto/essiv.c crypto_free_skcipher(tctx->u.skcipher); skcipher 640 crypto/skcipher.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 641 crypto/skcipher.c struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); skcipher 649 crypto/skcipher.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 650 crypto/skcipher.c struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); skcipher 666 crypto/skcipher.c struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); skcipher 685 crypto/skcipher.c skcipher->setkey = skcipher_setkey_blkcipher; skcipher 686 crypto/skcipher.c skcipher->encrypt = skcipher_encrypt_blkcipher; skcipher 687 crypto/skcipher.c skcipher->decrypt = skcipher_decrypt_blkcipher; skcipher 689 crypto/skcipher.c skcipher->ivsize = crypto_blkcipher_ivsize(blkcipher); skcipher 690 crypto/skcipher.c skcipher->keysize = calg->cra_blkcipher.max_keysize; skcipher 692 crypto/skcipher.c skcipher_set_needkey(skcipher); skcipher 739 crypto/skcipher.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 740 crypto/skcipher.c struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); skcipher 748 crypto/skcipher.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 749 crypto/skcipher.c struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); skcipher 765 crypto/skcipher.c struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); skcipher 783 crypto/skcipher.c skcipher->setkey = skcipher_setkey_ablkcipher; skcipher 784 crypto/skcipher.c skcipher->encrypt = skcipher_encrypt_ablkcipher; skcipher 785 crypto/skcipher.c skcipher->decrypt = skcipher_decrypt_ablkcipher; skcipher 787 crypto/skcipher.c skcipher->ivsize = crypto_ablkcipher_ivsize(ablkcipher); skcipher 788 crypto/skcipher.c skcipher->reqsize = crypto_ablkcipher_reqsize(ablkcipher) + skcipher 790 crypto/skcipher.c skcipher->keysize = calg->cra_ablkcipher.max_keysize; skcipher 792 crypto/skcipher.c skcipher_set_needkey(skcipher); skcipher 880 crypto/skcipher.c struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); skcipher 881 crypto/skcipher.c struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); skcipher 883 crypto/skcipher.c alg->exit(skcipher); skcipher 888 crypto/skcipher.c struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); skcipher 889 crypto/skcipher.c struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); skcipher 897 crypto/skcipher.c skcipher->setkey = skcipher_setkey; skcipher 898 crypto/skcipher.c skcipher->encrypt = alg->encrypt; skcipher 899 crypto/skcipher.c skcipher->decrypt = alg->decrypt; skcipher 900 crypto/skcipher.c skcipher->ivsize = alg->ivsize; skcipher 901 crypto/skcipher.c skcipher->keysize = alg->max_keysize; skcipher 903 crypto/skcipher.c skcipher_set_needkey(skcipher); skcipher 906 crypto/skcipher.c skcipher->base.exit = crypto_skcipher_exit_tfm; skcipher 909 crypto/skcipher.c return alg->init(skcipher); skcipher 916 crypto/skcipher.c struct skcipher_instance *skcipher = skcipher 919 crypto/skcipher.c skcipher->free(skcipher); skcipher 926 crypto/skcipher.c struct skcipher_alg *skcipher = container_of(alg, struct skcipher_alg, skcipher 933 crypto/skcipher.c seq_printf(m, "min keysize : %u\n", skcipher->min_keysize); skcipher 934 crypto/skcipher.c seq_printf(m, "max keysize : %u\n", skcipher->max_keysize); skcipher 935 crypto/skcipher.c seq_printf(m, "ivsize : %u\n", skcipher->ivsize); skcipher 936 crypto/skcipher.c seq_printf(m, "chunksize : %u\n", skcipher->chunksize); skcipher 937 crypto/skcipher.c seq_printf(m, "walksize : %u\n", skcipher->walksize); skcipher 944 crypto/skcipher.c struct skcipher_alg *skcipher = container_of(alg, struct skcipher_alg, skcipher 953 crypto/skcipher.c rblkcipher.min_keysize = skcipher->min_keysize; skcipher 954 crypto/skcipher.c rblkcipher.max_keysize = skcipher->max_keysize; skcipher 955 crypto/skcipher.c rblkcipher.ivsize = skcipher->ivsize; skcipher 538 drivers/crypto/amcc/crypto4xx_core.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 542 drivers/crypto/amcc/crypto4xx_core.c crypto_skcipher_ivsize(skcipher)); skcipher 95 drivers/crypto/caam/caamalg.c struct skcipher_alg skcipher; skcipher 723 drivers/crypto/caam/caamalg.c static int skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key, skcipher 726 drivers/crypto/caam/caamalg.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 728 drivers/crypto/caam/caamalg.c container_of(crypto_skcipher_alg(skcipher), typeof(*alg), skcipher 729 drivers/crypto/caam/caamalg.c skcipher); skcipher 731 drivers/crypto/caam/caamalg.c unsigned int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 759 drivers/crypto/caam/caamalg.c static int aes_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 766 drivers/crypto/caam/caamalg.c crypto_skcipher_set_flags(skcipher, skcipher 771 drivers/crypto/caam/caamalg.c return skcipher_setkey(skcipher, key, keylen, 0); skcipher 774 drivers/crypto/caam/caamalg.c static int rfc3686_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 790 drivers/crypto/caam/caamalg.c crypto_skcipher_set_flags(skcipher, skcipher 795 drivers/crypto/caam/caamalg.c return skcipher_setkey(skcipher, key, keylen, ctx1_iv_off); skcipher 798 drivers/crypto/caam/caamalg.c static int ctr_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 813 drivers/crypto/caam/caamalg.c crypto_skcipher_set_flags(skcipher, skcipher 818 drivers/crypto/caam/caamalg.c return skcipher_setkey(skcipher, key, keylen, ctx1_iv_off); skcipher 821 drivers/crypto/caam/caamalg.c static int arc4_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 824 drivers/crypto/caam/caamalg.c return skcipher_setkey(skcipher, key, keylen, 0); skcipher 827 drivers/crypto/caam/caamalg.c static int des_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 830 drivers/crypto/caam/caamalg.c return verify_skcipher_des_key(skcipher, key) ?: skcipher 831 drivers/crypto/caam/caamalg.c skcipher_setkey(skcipher, key, keylen, 0); skcipher 834 drivers/crypto/caam/caamalg.c static int des3_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 837 drivers/crypto/caam/caamalg.c return verify_skcipher_des3_key(skcipher, key) ?: skcipher 838 drivers/crypto/caam/caamalg.c skcipher_setkey(skcipher, key, keylen, 0); skcipher 841 drivers/crypto/caam/caamalg.c static int xts_skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key, skcipher 844 drivers/crypto/caam/caamalg.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 849 drivers/crypto/caam/caamalg.c crypto_skcipher_set_flags(skcipher, CRYPTO_TFM_RES_BAD_KEY_LEN); skcipher 954 drivers/crypto/caam/caamalg.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 955 drivers/crypto/caam/caamalg.c int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 1010 drivers/crypto/caam/caamalg.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1011 drivers/crypto/caam/caamalg.c int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 1050 drivers/crypto/caam/caamalg.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1051 drivers/crypto/caam/caamalg.c int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 1269 drivers/crypto/caam/caamalg.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1270 drivers/crypto/caam/caamalg.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 1272 drivers/crypto/caam/caamalg.c int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 1682 drivers/crypto/caam/caamalg.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1683 drivers/crypto/caam/caamalg.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 1691 drivers/crypto/caam/caamalg.c int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 1840 drivers/crypto/caam/caamalg.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1841 drivers/crypto/caam/caamalg.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 1877 drivers/crypto/caam/caamalg.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1878 drivers/crypto/caam/caamalg.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 1912 drivers/crypto/caam/caamalg.c .skcipher = { skcipher 1928 drivers/crypto/caam/caamalg.c .skcipher = { skcipher 1944 drivers/crypto/caam/caamalg.c .skcipher = { skcipher 1960 drivers/crypto/caam/caamalg.c .skcipher = { skcipher 1978 drivers/crypto/caam/caamalg.c .skcipher = { skcipher 2001 drivers/crypto/caam/caamalg.c .skcipher = { skcipher 2017 drivers/crypto/caam/caamalg.c .skcipher = { skcipher 2032 drivers/crypto/caam/caamalg.c .skcipher = { skcipher 2047 drivers/crypto/caam/caamalg.c .skcipher = { skcipher 2062 drivers/crypto/caam/caamalg.c .skcipher = { skcipher 3452 drivers/crypto/caam/caamalg.c container_of(alg, typeof(*caam_alg), skcipher); skcipher 3501 drivers/crypto/caam/caamalg.c crypto_unregister_skcipher(&t_alg->skcipher); skcipher 3507 drivers/crypto/caam/caamalg.c struct skcipher_alg *alg = &t_alg->skcipher; skcipher 3616 drivers/crypto/caam/caamalg.c err = crypto_register_skcipher(&t_alg->skcipher); skcipher 3619 drivers/crypto/caam/caamalg.c t_alg->skcipher.base.cra_driver_name); skcipher 49 drivers/crypto/caam/caamalg_qi.c struct skcipher_alg skcipher; skcipher 616 drivers/crypto/caam/caamalg_qi.c static int skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key, skcipher 619 drivers/crypto/caam/caamalg_qi.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 621 drivers/crypto/caam/caamalg_qi.c container_of(crypto_skcipher_alg(skcipher), typeof(*alg), skcipher 622 drivers/crypto/caam/caamalg_qi.c skcipher); skcipher 624 drivers/crypto/caam/caamalg_qi.c unsigned int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 662 drivers/crypto/caam/caamalg_qi.c crypto_skcipher_set_flags(skcipher, CRYPTO_TFM_RES_BAD_KEY_LEN); skcipher 666 drivers/crypto/caam/caamalg_qi.c static int aes_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 673 drivers/crypto/caam/caamalg_qi.c crypto_skcipher_set_flags(skcipher, skcipher 678 drivers/crypto/caam/caamalg_qi.c return skcipher_setkey(skcipher, key, keylen, 0); skcipher 681 drivers/crypto/caam/caamalg_qi.c static int rfc3686_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 697 drivers/crypto/caam/caamalg_qi.c crypto_skcipher_set_flags(skcipher, skcipher 702 drivers/crypto/caam/caamalg_qi.c return skcipher_setkey(skcipher, key, keylen, ctx1_iv_off); skcipher 705 drivers/crypto/caam/caamalg_qi.c static int ctr_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 720 drivers/crypto/caam/caamalg_qi.c crypto_skcipher_set_flags(skcipher, skcipher 725 drivers/crypto/caam/caamalg_qi.c return skcipher_setkey(skcipher, key, keylen, ctx1_iv_off); skcipher 728 drivers/crypto/caam/caamalg_qi.c static int des3_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 731 drivers/crypto/caam/caamalg_qi.c return verify_skcipher_des3_key(skcipher, key) ?: skcipher 732 drivers/crypto/caam/caamalg_qi.c skcipher_setkey(skcipher, key, keylen, 0); skcipher 735 drivers/crypto/caam/caamalg_qi.c static int des_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 738 drivers/crypto/caam/caamalg_qi.c return verify_skcipher_des_key(skcipher, key) ?: skcipher 739 drivers/crypto/caam/caamalg_qi.c skcipher_setkey(skcipher, key, keylen, 0); skcipher 742 drivers/crypto/caam/caamalg_qi.c static int xts_skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key, skcipher 745 drivers/crypto/caam/caamalg_qi.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 783 drivers/crypto/caam/caamalg_qi.c crypto_skcipher_set_flags(skcipher, CRYPTO_TFM_RES_BAD_KEY_LEN); skcipher 906 drivers/crypto/caam/caamalg_qi.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 907 drivers/crypto/caam/caamalg_qi.c int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 1211 drivers/crypto/caam/caamalg_qi.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1212 drivers/crypto/caam/caamalg_qi.c struct caam_ctx *caam_ctx = crypto_skcipher_ctx(skcipher); skcipher 1214 drivers/crypto/caam/caamalg_qi.c int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 1249 drivers/crypto/caam/caamalg_qi.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1250 drivers/crypto/caam/caamalg_qi.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 1258 drivers/crypto/caam/caamalg_qi.c int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 1401 drivers/crypto/caam/caamalg_qi.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1402 drivers/crypto/caam/caamalg_qi.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 1439 drivers/crypto/caam/caamalg_qi.c .skcipher = { skcipher 1455 drivers/crypto/caam/caamalg_qi.c .skcipher = { skcipher 1471 drivers/crypto/caam/caamalg_qi.c .skcipher = { skcipher 1487 drivers/crypto/caam/caamalg_qi.c .skcipher = { skcipher 1505 drivers/crypto/caam/caamalg_qi.c .skcipher = { skcipher 1528 drivers/crypto/caam/caamalg_qi.c .skcipher = { skcipher 2464 drivers/crypto/caam/caamalg_qi.c container_of(alg, typeof(*caam_alg), skcipher); skcipher 2516 drivers/crypto/caam/caamalg_qi.c crypto_unregister_skcipher(&t_alg->skcipher); skcipher 2522 drivers/crypto/caam/caamalg_qi.c struct skcipher_alg *alg = &t_alg->skcipher; skcipher 2608 drivers/crypto/caam/caamalg_qi.c err = crypto_register_skcipher(&t_alg->skcipher); skcipher 2611 drivers/crypto/caam/caamalg_qi.c t_alg->skcipher.base.cra_driver_name); skcipher 56 drivers/crypto/caam/caamalg_qi2.c struct skcipher_alg skcipher; skcipher 946 drivers/crypto/caam/caamalg_qi2.c static int skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key, skcipher 949 drivers/crypto/caam/caamalg_qi2.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 951 drivers/crypto/caam/caamalg_qi2.c container_of(crypto_skcipher_alg(skcipher), skcipher 952 drivers/crypto/caam/caamalg_qi2.c struct caam_skcipher_alg, skcipher); skcipher 955 drivers/crypto/caam/caamalg_qi2.c unsigned int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 989 drivers/crypto/caam/caamalg_qi2.c static int aes_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 996 drivers/crypto/caam/caamalg_qi2.c crypto_skcipher_set_flags(skcipher, skcipher 1001 drivers/crypto/caam/caamalg_qi2.c return skcipher_setkey(skcipher, key, keylen, 0); skcipher 1004 drivers/crypto/caam/caamalg_qi2.c static int rfc3686_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 1020 drivers/crypto/caam/caamalg_qi2.c crypto_skcipher_set_flags(skcipher, skcipher 1025 drivers/crypto/caam/caamalg_qi2.c return skcipher_setkey(skcipher, key, keylen, ctx1_iv_off); skcipher 1028 drivers/crypto/caam/caamalg_qi2.c static int ctr_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 1043 drivers/crypto/caam/caamalg_qi2.c crypto_skcipher_set_flags(skcipher, skcipher 1048 drivers/crypto/caam/caamalg_qi2.c return skcipher_setkey(skcipher, key, keylen, ctx1_iv_off); skcipher 1051 drivers/crypto/caam/caamalg_qi2.c static int chacha20_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 1055 drivers/crypto/caam/caamalg_qi2.c crypto_skcipher_set_flags(skcipher, skcipher 1060 drivers/crypto/caam/caamalg_qi2.c return skcipher_setkey(skcipher, key, keylen, 0); skcipher 1063 drivers/crypto/caam/caamalg_qi2.c static int des_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 1066 drivers/crypto/caam/caamalg_qi2.c return verify_skcipher_des_key(skcipher, key) ?: skcipher 1067 drivers/crypto/caam/caamalg_qi2.c skcipher_setkey(skcipher, key, keylen, 0); skcipher 1070 drivers/crypto/caam/caamalg_qi2.c static int des3_skcipher_setkey(struct crypto_skcipher *skcipher, skcipher 1073 drivers/crypto/caam/caamalg_qi2.c return verify_skcipher_des3_key(skcipher, key) ?: skcipher 1074 drivers/crypto/caam/caamalg_qi2.c skcipher_setkey(skcipher, key, keylen, 0); skcipher 1077 drivers/crypto/caam/caamalg_qi2.c static int xts_skcipher_setkey(struct crypto_skcipher *skcipher, const u8 *key, skcipher 1080 drivers/crypto/caam/caamalg_qi2.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 1087 drivers/crypto/caam/caamalg_qi2.c crypto_skcipher_set_flags(skcipher, CRYPTO_TFM_RES_BAD_KEY_LEN); skcipher 1118 drivers/crypto/caam/caamalg_qi2.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1122 drivers/crypto/caam/caamalg_qi2.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 1130 drivers/crypto/caam/caamalg_qi2.c int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 1280 drivers/crypto/caam/caamalg_qi2.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1281 drivers/crypto/caam/caamalg_qi2.c int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 1401 drivers/crypto/caam/caamalg_qi2.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1402 drivers/crypto/caam/caamalg_qi2.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 1405 drivers/crypto/caam/caamalg_qi2.c int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 1439 drivers/crypto/caam/caamalg_qi2.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1440 drivers/crypto/caam/caamalg_qi2.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 1443 drivers/crypto/caam/caamalg_qi2.c int ivsize = crypto_skcipher_ivsize(skcipher); skcipher 1475 drivers/crypto/caam/caamalg_qi2.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1476 drivers/crypto/caam/caamalg_qi2.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 1506 drivers/crypto/caam/caamalg_qi2.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 1507 drivers/crypto/caam/caamalg_qi2.c struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 1565 drivers/crypto/caam/caamalg_qi2.c container_of(alg, typeof(*caam_alg), skcipher); skcipher 1601 drivers/crypto/caam/caamalg_qi2.c .skcipher = { skcipher 1617 drivers/crypto/caam/caamalg_qi2.c .skcipher = { skcipher 1633 drivers/crypto/caam/caamalg_qi2.c .skcipher = { skcipher 1649 drivers/crypto/caam/caamalg_qi2.c .skcipher = { skcipher 1667 drivers/crypto/caam/caamalg_qi2.c .skcipher = { skcipher 1690 drivers/crypto/caam/caamalg_qi2.c .skcipher = { skcipher 1706 drivers/crypto/caam/caamalg_qi2.c .skcipher = { skcipher 2936 drivers/crypto/caam/caamalg_qi2.c struct skcipher_alg *alg = &t_alg->skcipher; skcipher 5210 drivers/crypto/caam/caamalg_qi2.c err = crypto_register_skcipher(&t_alg->skcipher); skcipher 5213 drivers/crypto/caam/caamalg_qi2.c t_alg->skcipher.base.cra_driver_name, err); skcipher 5366 drivers/crypto/caam/caamalg_qi2.c crypto_unregister_skcipher(&t_alg->skcipher); skcipher 21 drivers/crypto/ccree/cc_cipher.c #define template_skcipher template_u.skcipher skcipher 183 drivers/crypto/ccree/cc_driver.h struct skcipher_alg skcipher; skcipher 166 drivers/crypto/geode-aes.c crypto_skcipher_clear_flags(tctx->fallback.skcipher, skcipher 168 drivers/crypto/geode-aes.c crypto_skcipher_set_flags(tctx->fallback.skcipher, skcipher 171 drivers/crypto/geode-aes.c ret = crypto_skcipher_setkey(tctx->fallback.skcipher, key, len); skcipher 173 drivers/crypto/geode-aes.c crypto_skcipher_get_flags(tctx->fallback.skcipher) & skcipher 258 drivers/crypto/geode-aes.c tctx->fallback.skcipher = skcipher 261 drivers/crypto/geode-aes.c if (IS_ERR(tctx->fallback.skcipher)) { skcipher 263 drivers/crypto/geode-aes.c return PTR_ERR(tctx->fallback.skcipher); skcipher 267 drivers/crypto/geode-aes.c crypto_skcipher_reqsize(tctx->fallback.skcipher)); skcipher 275 drivers/crypto/geode-aes.c crypto_free_skcipher(tctx->fallback.skcipher); skcipher 290 drivers/crypto/geode-aes.c skcipher_request_set_tfm(subreq, tctx->fallback.skcipher); skcipher 52 drivers/crypto/geode-aes.h struct crypto_skcipher *skcipher; skcipher 1190 drivers/crypto/inside-secure/safexcel.c ret = crypto_register_skcipher(&safexcel_algs[i]->alg.skcipher); skcipher 1211 drivers/crypto/inside-secure/safexcel.c crypto_unregister_skcipher(&safexcel_algs[j]->alg.skcipher); skcipher 1233 drivers/crypto/inside-secure/safexcel.c crypto_unregister_skcipher(&safexcel_algs[i]->alg.skcipher); skcipher 768 drivers/crypto/inside-secure/safexcel.h struct skcipher_alg skcipher; skcipher 497 drivers/crypto/inside-secure/safexcel_cipher.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(areq); skcipher 498 drivers/crypto/inside-secure/safexcel_cipher.c struct safexcel_cipher_ctx *ctx = crypto_skcipher_ctx(skcipher); skcipher 538 drivers/crypto/inside-secure/safexcel_cipher.c crypto_skcipher_ivsize(skcipher), skcipher 540 drivers/crypto/inside-secure/safexcel_cipher.c crypto_skcipher_ivsize(skcipher))); skcipher 556 drivers/crypto/inside-secure/safexcel_cipher.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(areq); skcipher 596 drivers/crypto/inside-secure/safexcel_cipher.c crypto_skcipher_ivsize(skcipher), skcipher 598 drivers/crypto/inside-secure/safexcel_cipher.c crypto_skcipher_ivsize(skcipher))); skcipher 908 drivers/crypto/inside-secure/safexcel_cipher.c struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); skcipher 915 drivers/crypto/inside-secure/safexcel_cipher.c memcpy(input_iv, req->iv, crypto_skcipher_ivsize(skcipher)); skcipher 985 drivers/crypto/inside-secure/safexcel_cipher.c EIP197_REQUEST_ON_STACK(req, skcipher, EIP197_SKCIPHER_REQ_SIZE); skcipher 1067 drivers/crypto/inside-secure/safexcel_cipher.c alg.skcipher.base); skcipher 1146 drivers/crypto/inside-secure/safexcel_cipher.c .alg.skcipher = { skcipher 1181 drivers/crypto/inside-secure/safexcel_cipher.c .alg.skcipher = { skcipher 1217 drivers/crypto/inside-secure/safexcel_cipher.c .alg.skcipher = { skcipher 1253 drivers/crypto/inside-secure/safexcel_cipher.c .alg.skcipher = { skcipher 1327 drivers/crypto/inside-secure/safexcel_cipher.c .alg.skcipher = { skcipher 1385 drivers/crypto/inside-secure/safexcel_cipher.c .alg.skcipher = { skcipher 1421 drivers/crypto/inside-secure/safexcel_cipher.c .alg.skcipher = { skcipher 1479 drivers/crypto/inside-secure/safexcel_cipher.c .alg.skcipher = { skcipher 1515 drivers/crypto/inside-secure/safexcel_cipher.c .alg.skcipher = { skcipher 2042 drivers/crypto/inside-secure/safexcel_cipher.c .alg.skcipher = { skcipher 75 include/crypto/internal/skcipher.h struct crypto_skcipher *skcipher) skcipher 77 include/crypto/internal/skcipher.h return container_of(crypto_skcipher_alg(skcipher), skcipher 124 include/crypto/internal/skcipher.h struct crypto_skcipher *skcipher, unsigned int reqsize) skcipher 126 include/crypto/internal/skcipher.h skcipher->reqsize = reqsize;