Lines Matching refs:base
604 if (strcmp(ghash->base.cra_name, "ghash") != 0 || in crypto_gcm_create_common()
616 if (strncmp(ctr->base.cra_name, "ctr(", 4) != 0 || in crypto_gcm_create_common()
618 ctr->base.cra_blocksize != 1) in crypto_gcm_create_common()
622 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_gcm_create_common()
623 "gcm(%s", ctr->base.cra_name + 4) >= CRYPTO_MAX_ALG_NAME) in crypto_gcm_create_common()
626 if (snprintf(inst->alg.base.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_gcm_create_common()
627 "gcm_base(%s,%s)", ctr->base.cra_driver_name, in crypto_gcm_create_common()
628 ghash->base.cra_driver_name) >= in crypto_gcm_create_common()
632 inst->alg.base.cra_priority = (ghash->base.cra_priority + in crypto_gcm_create_common()
633 ctr->base.cra_priority) / 2; in crypto_gcm_create_common()
634 inst->alg.base.cra_blocksize = 1; in crypto_gcm_create_common()
635 inst->alg.base.cra_alignmask = ghash->base.cra_alignmask | in crypto_gcm_create_common()
636 ctr->base.cra_alignmask; in crypto_gcm_create_common()
637 inst->alg.base.cra_ctxsize = sizeof(struct crypto_gcm_ctx); in crypto_gcm_create_common()
753 aead_request_set_callback(subreq, req->base.flags, req->base.complete, in crypto_rfc4106_crypt()
754 req->base.data); in crypto_rfc4106_crypt()
859 if (alg->base.cra_blocksize != 1) in crypto_rfc4106_create()
863 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc4106_create()
864 "rfc4106(%s)", alg->base.cra_name) >= in crypto_rfc4106_create()
866 snprintf(inst->alg.base.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc4106_create()
867 "rfc4106(%s)", alg->base.cra_driver_name) >= in crypto_rfc4106_create()
871 inst->alg.base.cra_priority = alg->base.cra_priority; in crypto_rfc4106_create()
872 inst->alg.base.cra_blocksize = 1; in crypto_rfc4106_create()
873 inst->alg.base.cra_alignmask = alg->base.cra_alignmask; in crypto_rfc4106_create()
875 inst->alg.base.cra_ctxsize = sizeof(struct crypto_rfc4106_ctx); in crypto_rfc4106_create()
949 aead_request_set_callback(subreq, req->base.flags, in crypto_rfc4543_crypt()
950 req->base.complete, req->base.data); in crypto_rfc4543_crypt()
969 skcipher_request_set_callback(nreq, req->base.flags, NULL, NULL); in crypto_rfc4543_copy_src_to_dst()
1074 if (alg->base.cra_blocksize != 1) in crypto_rfc4543_create()
1078 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc4543_create()
1079 "rfc4543(%s)", alg->base.cra_name) >= in crypto_rfc4543_create()
1081 snprintf(inst->alg.base.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc4543_create()
1082 "rfc4543(%s)", alg->base.cra_driver_name) >= in crypto_rfc4543_create()
1086 inst->alg.base.cra_priority = alg->base.cra_priority; in crypto_rfc4543_create()
1087 inst->alg.base.cra_blocksize = 1; in crypto_rfc4543_create()
1088 inst->alg.base.cra_alignmask = alg->base.cra_alignmask; in crypto_rfc4543_create()
1090 inst->alg.base.cra_ctxsize = sizeof(struct crypto_rfc4543_ctx); in crypto_rfc4543_create()