Home
last modified time | relevance | path

Searched refs:ablkcipher (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v4.19/crypto/
Dablkcipher.c397 struct ablkcipher_alg *ablkcipher = &alg->cra_ablkcipher; in crypto_ablkcipher_show() local
403 seq_printf(m, "min keysize : %u\n", ablkcipher->min_keysize); in crypto_ablkcipher_show()
404 seq_printf(m, "max keysize : %u\n", ablkcipher->max_keysize); in crypto_ablkcipher_show()
405 seq_printf(m, "ivsize : %u\n", ablkcipher->ivsize); in crypto_ablkcipher_show()
406 seq_printf(m, "geniv : %s\n", ablkcipher->geniv ?: "<default>"); in crypto_ablkcipher_show()
472 struct ablkcipher_alg *ablkcipher = &alg->cra_ablkcipher; in crypto_givcipher_show() local
478 seq_printf(m, "min keysize : %u\n", ablkcipher->min_keysize); in crypto_givcipher_show()
479 seq_printf(m, "max keysize : %u\n", ablkcipher->max_keysize); in crypto_givcipher_show()
480 seq_printf(m, "ivsize : %u\n", ablkcipher->ivsize); in crypto_givcipher_show()
481 seq_printf(m, "geniv : %s\n", ablkcipher->geniv ?: "<built-in>"); in crypto_givcipher_show()
Dskcipher.c689 struct crypto_ablkcipher *ablkcipher = *ctx; in skcipher_setkey_ablkcipher() local
692 crypto_ablkcipher_clear_flags(ablkcipher, ~0); in skcipher_setkey_ablkcipher()
693 crypto_ablkcipher_set_flags(ablkcipher, in skcipher_setkey_ablkcipher()
696 err = crypto_ablkcipher_setkey(ablkcipher, key, keylen); in skcipher_setkey_ablkcipher()
698 crypto_ablkcipher_get_flags(ablkcipher) & in skcipher_setkey_ablkcipher()
753 struct crypto_ablkcipher *ablkcipher; in crypto_init_skcipher_ops_ablkcipher() local
765 ablkcipher = __crypto_ablkcipher_cast(abtfm); in crypto_init_skcipher_ops_ablkcipher()
766 *ctx = ablkcipher; in crypto_init_skcipher_ops_ablkcipher()
773 skcipher->ivsize = crypto_ablkcipher_ivsize(ablkcipher); in crypto_init_skcipher_ops_ablkcipher()
774 skcipher->reqsize = crypto_ablkcipher_reqsize(ablkcipher) + in crypto_init_skcipher_ops_ablkcipher()
DMakefile20 crypto_blkcipher-y := ablkcipher.o
/Linux-v4.19/drivers/crypto/caam/
Dcaamalg_qi.c592 static int ablkcipher_setkey(struct crypto_ablkcipher *ablkcipher, in ablkcipher_setkey() argument
595 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_setkey()
596 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(ablkcipher); in ablkcipher_setkey()
599 unsigned int ivsize = crypto_ablkcipher_ivsize(ablkcipher); in ablkcipher_setkey()
670 crypto_ablkcipher_set_flags(ablkcipher, CRYPTO_TFM_RES_BAD_KEY_LEN); in ablkcipher_setkey()
674 static int xts_ablkcipher_setkey(struct crypto_ablkcipher *ablkcipher, in xts_ablkcipher_setkey() argument
677 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in xts_ablkcipher_setkey()
715 crypto_ablkcipher_set_flags(ablkcipher, CRYPTO_TFM_RES_BAD_KEY_LEN); in xts_ablkcipher_setkey()
842 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_unmap() local
843 int ivsize = crypto_ablkcipher_ivsize(ablkcipher); in ablkcipher_unmap()
[all …]
Dcaamalg.c651 static int ablkcipher_setkey(struct crypto_ablkcipher *ablkcipher, in ablkcipher_setkey() argument
654 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_setkey()
655 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(ablkcipher); in ablkcipher_setkey()
658 unsigned int ivsize = crypto_ablkcipher_ivsize(ablkcipher); in ablkcipher_setkey()
716 static int xts_ablkcipher_setkey(struct crypto_ablkcipher *ablkcipher, in xts_ablkcipher_setkey() argument
719 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in xts_ablkcipher_setkey()
724 crypto_ablkcipher_set_flags(ablkcipher, in xts_ablkcipher_setkey()
825 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_unmap() local
826 int ivsize = crypto_ablkcipher_ivsize(ablkcipher); in ablkcipher_unmap()
889 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_encrypt_done() local
[all …]
/Linux-v4.19/drivers/crypto/cavium/cpt/
Dcptvf_algs.c364 .ablkcipher = {
385 .ablkcipher = {
406 .ablkcipher = {
427 .ablkcipher = {
448 .ablkcipher = {
469 .ablkcipher = {
/Linux-v4.19/drivers/crypto/
Datmel-tdes.c926 .cra_u.ablkcipher = {
945 .cra_u.ablkcipher = {
965 .cra_u.ablkcipher = {
985 .cra_u.ablkcipher = {
1005 .cra_u.ablkcipher = {
1025 .cra_u.ablkcipher = {
1045 .cra_u.ablkcipher = {
1065 .cra_u.ablkcipher = {
1084 .cra_u.ablkcipher = {
1104 .cra_u.ablkcipher = {
[all …]
Dhifn_795x.c2230 struct ablkcipher_alg ablkcipher; member
2239 .ablkcipher = {
2249 .ablkcipher = {
2259 .ablkcipher = {
2270 .ablkcipher = {
2284 .ablkcipher = {
2294 .ablkcipher = {
2304 .ablkcipher = {
2315 .ablkcipher = {
2329 .ablkcipher = {
[all …]
Datmel-aes.c510 struct crypto_ablkcipher *ablkcipher = in atmel_aes_complete() local
512 int ivsize = crypto_ablkcipher_ivsize(ablkcipher); in atmel_aes_complete()
1095 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in atmel_aes_crypt() local
1096 struct atmel_aes_base_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in atmel_aes_crypt()
1131 int ivsize = crypto_ablkcipher_ivsize(ablkcipher); in atmel_aes_crypt()
1280 .cra_u.ablkcipher = {
1299 .cra_u.ablkcipher = {
1319 .cra_u.ablkcipher = {
1339 .cra_u.ablkcipher = {
1359 .cra_u.ablkcipher = {
[all …]
Dn2_core.c1133 struct ablkcipher_alg ablkcipher; member
1143 .ablkcipher = {
1158 .ablkcipher = {
1171 .ablkcipher = {
1185 .ablkcipher = {
1200 .ablkcipher = {
1213 .ablkcipher = {
1227 .ablkcipher = {
1241 .ablkcipher = {
1254 .ablkcipher = {
[all …]
Dixp4xx_crypto.c1193 .cra_u = { .ablkcipher = {
1208 .cra_u = { .ablkcipher = {
1220 .cra_u = { .ablkcipher = {
1234 .cra_u = { .ablkcipher = {
1246 .cra_u = { .ablkcipher = {
1260 .cra_u = { .ablkcipher = {
1272 .cra_u = { .ablkcipher = {
1286 .cra_u = { .ablkcipher = {
Domap-des.c743 .cra_u.ablkcipher = {
765 .cra_u.ablkcipher = {
788 .cra_u.ablkcipher = {
810 .cra_u.ablkcipher = {
Dmxc-scc.c582 .cra_u.ablkcipher = {
603 .cra_u.ablkcipher = {
Domap-aes.c702 .cra_u.ablkcipher = {
724 .cra_u.ablkcipher = {
750 .cra_u.ablkcipher = {
Dmxs-dcp.c807 .ablkcipher = {
830 .ablkcipher = {
Dsahara.c1210 .cra_u.ablkcipher = {
1230 .cra_u.ablkcipher = {
Ds5p-sss.c2117 .cra_u.ablkcipher = {
2138 .cra_u.ablkcipher = {
/Linux-v4.19/drivers/crypto/rockchip/
Drk3288_crypto_ablkcipher.c371 .cra_u.ablkcipher = {
396 .cra_u.ablkcipher = {
422 .cra_u.ablkcipher = {
447 .cra_u.ablkcipher = {
473 .cra_u.ablkcipher = {
499 .cra_u.ablkcipher = {
/Linux-v4.19/drivers/crypto/qce/
DMakefile7 ablkcipher.o
Dablkcipher.c64 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in qce_ablkcipher_async_req_handle() local
74 rctx->ivsize = crypto_ablkcipher_ivsize(ablkcipher); in qce_ablkcipher_async_req_handle()
/Linux-v4.19/drivers/crypto/ux500/cryp/
Dcryp_core.c1124 .ablkcipher = {
1149 .ablkcipher = {
1174 .ablkcipher = {
1200 .ablkcipher = {
1226 .ablkcipher = {
1252 .ablkcipher = {
1277 .ablkcipher = {
1302 .ablkcipher = {
1327 .ablkcipher = {
1352 .ablkcipher = {
/Linux-v4.19/include/linux/
Dcrypto.h373 #define cra_ablkcipher cra_u.ablkcipher
479 struct ablkcipher_alg ablkcipher; member
588 #define crt_ablkcipher crt_u.ablkcipher
598 struct ablkcipher_tfm ablkcipher; member
/Linux-v4.19/drivers/crypto/mediatek/
Dmtk-aes.c743 .cra_u.ablkcipher = {
764 .cra_u.ablkcipher = {
784 .cra_u.ablkcipher = {
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dqat_algs.c1221 .ablkcipher = {
1243 .ablkcipher = {
1265 .ablkcipher = {
/Linux-v4.19/drivers/crypto/virtio/
Dvirtio_crypto_algs.c602 .ablkcipher = {

12