Home
last modified time | relevance | path

Searched refs:CRYPTO_MAX_ALG_NAME (Results 1 – 25 of 54) sorted by relevance

123

/linux/crypto/
A Dsimd.c167 CRYPTO_MAX_ALG_NAME) in simd_skcipher_create_compat()
170 if (snprintf(alg->base.cra_driver_name, CRYPTO_MAX_ALG_NAME, "%s", in simd_skcipher_create_compat()
171 drvname) >= CRYPTO_MAX_ALG_NAME) in simd_skcipher_create_compat()
212 char drvname[CRYPTO_MAX_ALG_NAME]; in simd_skcipher_create()
214 if (snprintf(drvname, CRYPTO_MAX_ALG_NAME, "simd-%s", basename) >= in simd_skcipher_create()
215 CRYPTO_MAX_ALG_NAME) in simd_skcipher_create()
414 CRYPTO_MAX_ALG_NAME) in simd_aead_create_compat()
417 if (snprintf(alg->base.cra_driver_name, CRYPTO_MAX_ALG_NAME, "%s", in simd_aead_create_compat()
418 drvname) >= CRYPTO_MAX_ALG_NAME) in simd_aead_create_compat()
459 char drvname[CRYPTO_MAX_ALG_NAME]; in simd_aead_create()
[all …]
A Dgeniv.c77 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in aead_geniv_alloc()
79 CRYPTO_MAX_ALG_NAME) in aead_geniv_alloc()
81 if (snprintf(inst->alg.base.cra_driver_name, CRYPTO_MAX_ALG_NAME, in aead_geniv_alloc()
83 CRYPTO_MAX_ALG_NAME) in aead_geniv_alloc()
A Dccm.c496 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_ccm_create_common()
502 mac->base.cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in crypto_ccm_create_common()
534 char ctr_name[CRYPTO_MAX_ALG_NAME]; in crypto_ccm_create()
535 char mac_name[CRYPTO_MAX_ALG_NAME]; in crypto_ccm_create()
541 if (snprintf(ctr_name, CRYPTO_MAX_ALG_NAME, "ctr(%s)", in crypto_ccm_create()
542 cipher_name) >= CRYPTO_MAX_ALG_NAME) in crypto_ccm_create()
545 if (snprintf(mac_name, CRYPTO_MAX_ALG_NAME, "cbcmac(%s)", in crypto_ccm_create()
546 cipher_name) >= CRYPTO_MAX_ALG_NAME) in crypto_ccm_create()
742 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc4309_create()
744 CRYPTO_MAX_ALG_NAME || in crypto_rfc4309_create()
[all …]
A Dgcm.c622 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()
629 CRYPTO_MAX_ALG_NAME) in crypto_gcm_create_common()
661 char ctr_name[CRYPTO_MAX_ALG_NAME]; in crypto_gcm_create()
668 CRYPTO_MAX_ALG_NAME) in crypto_gcm_create()
863 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc4106_create()
865 CRYPTO_MAX_ALG_NAME || in crypto_rfc4106_create()
868 CRYPTO_MAX_ALG_NAME) in crypto_rfc4106_create()
1078 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc4543_create()
1080 CRYPTO_MAX_ALG_NAME || in crypto_rfc4543_create()
[all …]
A Dessiv.c46 char essiv_cipher_name[CRYPTO_MAX_ALG_NAME];
47 char shash_driver_name[CRYPTO_MAX_ALG_NAME];
400 if (len >= CRYPTO_MAX_ALG_NAME) in parse_cipher_name()
547 CRYPTO_MAX_ALG_NAME); in essiv_create()
552 if (snprintf(base->cra_name, CRYPTO_MAX_ALG_NAME, in essiv_create()
554 hash_alg->base.cra_name) >= CRYPTO_MAX_ALG_NAME) in essiv_create()
556 if (snprintf(base->cra_driver_name, CRYPTO_MAX_ALG_NAME, in essiv_create()
558 hash_alg->base.cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in essiv_create()
A Dlrw.c305 char ecb_name[CRYPTO_MAX_ALG_NAME]; in lrw_create()
327 if (snprintf(ecb_name, CRYPTO_MAX_ALG_NAME, "ecb(%s)", in lrw_create()
328 cipher_name) >= CRYPTO_MAX_ALG_NAME) in lrw_create()
371 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in lrw_create()
372 "lrw(%s)", ecb_name) >= CRYPTO_MAX_ALG_NAME) { in lrw_create()
A Drsa-pkcs1pad.c628 CRYPTO_MAX_ALG_NAME, "pkcs1pad(%s)", in pkcs1pad_create()
629 rsa_alg->base.cra_name) >= CRYPTO_MAX_ALG_NAME) in pkcs1pad_create()
633 CRYPTO_MAX_ALG_NAME, "pkcs1pad(%s)", in pkcs1pad_create()
635 CRYPTO_MAX_ALG_NAME) in pkcs1pad_create()
644 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in pkcs1pad_create()
646 hash_name) >= CRYPTO_MAX_ALG_NAME) in pkcs1pad_create()
650 CRYPTO_MAX_ALG_NAME, "pkcs1pad(%s,%s)", in pkcs1pad_create()
652 hash_name) >= CRYPTO_MAX_ALG_NAME) in pkcs1pad_create()
A Dcryptd.c213 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in cryptd_init_instance()
215 alg->cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in cryptd_init_instance()
907 char cryptd_alg_name[CRYPTO_MAX_ALG_NAME]; in cryptd_alloc_skcipher()
911 if (snprintf(cryptd_alg_name, CRYPTO_MAX_ALG_NAME, in cryptd_alloc_skcipher()
912 "cryptd(%s)", alg_name) >= CRYPTO_MAX_ALG_NAME) in cryptd_alloc_skcipher()
959 char cryptd_alg_name[CRYPTO_MAX_ALG_NAME]; in cryptd_alloc_ahash()
963 if (snprintf(cryptd_alg_name, CRYPTO_MAX_ALG_NAME, in cryptd_alloc_ahash()
964 "cryptd(%s)", alg_name) >= CRYPTO_MAX_ALG_NAME) in cryptd_alloc_ahash()
1016 char cryptd_alg_name[CRYPTO_MAX_ALG_NAME]; in cryptd_alloc_aead()
1020 if (snprintf(cryptd_alg_name, CRYPTO_MAX_ALG_NAME, in cryptd_alloc_aead()
[all …]
A Dalgboss.c36 char template[CRYPTO_MAX_ALG_NAME];
45 char driver[CRYPTO_MAX_ALG_NAME];
46 char alg[CRYPTO_MAX_ALG_NAME];
A Dxts.c31 char name[CRYPTO_MAX_ALG_NAME];
366 if (snprintf(ctx->name, CRYPTO_MAX_ALG_NAME, "ecb(%s)", in xts_create()
367 cipher_name) >= CRYPTO_MAX_ALG_NAME) in xts_create()
410 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in xts_create()
411 "xts(%s)", ctx->name) >= CRYPTO_MAX_ALG_NAME) { in xts_create()
A Dctr.c293 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc3686_create()
294 "rfc3686(%s)", alg->base.cra_name) >= CRYPTO_MAX_ALG_NAME) in crypto_rfc3686_create()
296 if (snprintf(inst->alg.base.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc3686_create()
298 CRYPTO_MAX_ALG_NAME) in crypto_rfc3686_create()
A Dpcrypt.c219 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in pcrypt_init_instance()
220 "pcrypt(%s)", alg->cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in pcrypt_init_instance()
223 memcpy(inst->alg.cra_name, alg->cra_name, CRYPTO_MAX_ALG_NAME); in pcrypt_init_instance()
A Dauthenc.c409 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_authenc_create()
412 CRYPTO_MAX_ALG_NAME) in crypto_authenc_create()
415 if (snprintf(inst->alg.base.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_authenc_create()
417 enc->base.cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in crypto_authenc_create()
A Dauthencesn.c424 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_authenc_esn_create()
426 enc->base.cra_name) >= CRYPTO_MAX_ALG_NAME) in crypto_authenc_esn_create()
429 if (snprintf(inst->alg.base.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_authenc_esn_create()
431 enc->base.cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in crypto_authenc_esn_create()
A Dadiantum.c552 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in adiantum_create()
554 blockcipher_alg->cra_name) >= CRYPTO_MAX_ALG_NAME) in adiantum_create()
556 if (snprintf(inst->alg.base.cra_driver_name, CRYPTO_MAX_ALG_NAME, in adiantum_create()
560 hash_alg->base.cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in adiantum_create()
/linux/crypto/asymmetric_keys/
A Dpublic_key.c69 char alg_name[CRYPTO_MAX_ALG_NAME]) in software_key_determine_akcipher() argument
79 n = snprintf(alg_name, CRYPTO_MAX_ALG_NAME, in software_key_determine_akcipher()
83 n = snprintf(alg_name, CRYPTO_MAX_ALG_NAME, in software_key_determine_akcipher()
86 return n >= CRYPTO_MAX_ALG_NAME ? -EINVAL : 0; in software_key_determine_akcipher()
112 char alg_name[CRYPTO_MAX_ALG_NAME]; in software_key_query()
176 char alg_name[CRYPTO_MAX_ALG_NAME]; in software_key_eds_op()
318 char alg_name[CRYPTO_MAX_ALG_NAME]; in public_key_verify_signature()
A Dasym_tpm.c366 char alg_name[CRYPTO_MAX_ALG_NAME]) in determine_akcipher() argument
374 if (snprintf(alg_name, CRYPTO_MAX_ALG_NAME, "pkcs1pad(rsa,%s)", in determine_akcipher()
375 hash_algo) >= CRYPTO_MAX_ALG_NAME) in determine_akcipher()
397 char alg_name[CRYPTO_MAX_ALG_NAME]; in tpm_key_query()
447 char alg_name[CRYPTO_MAX_ALG_NAME]; in tpm_key_encrypt()
739 char alg_name[CRYPTO_MAX_ALG_NAME]; in tpm_key_verify_signature()
/linux/drivers/crypto/ccp/
A Dccp-crypto-sha.c429 strscpy(ccp_alg->child_alg, def->name, CRYPTO_MAX_ALG_NAME); in ccp_register_hmac_alg()
437 snprintf(base->cra_name, CRYPTO_MAX_ALG_NAME, "hmac(%s)", def->name); in ccp_register_hmac_alg()
438 snprintf(base->cra_driver_name, CRYPTO_MAX_ALG_NAME, "hmac-%s", in ccp_register_hmac_alg()
487 snprintf(base->cra_name, CRYPTO_MAX_ALG_NAME, "%s", def->name); in ccp_register_sha_alg()
488 snprintf(base->cra_driver_name, CRYPTO_MAX_ALG_NAME, "%s", in ccp_register_sha_alg()
A Dccp-crypto-aes-galois.c226 snprintf(alg->base.cra_name, CRYPTO_MAX_ALG_NAME, "%s", def->name); in ccp_register_aes_aead()
227 snprintf(alg->base.cra_driver_name, CRYPTO_MAX_ALG_NAME, "%s", in ccp_register_aes_aead()
/linux/include/crypto/
A Ddrbg.h88 char cra_name[CRYPTO_MAX_ALG_NAME]; /* mapping to kernel crypto API */
90 char backend_cra_name[CRYPTO_MAX_ALG_NAME];
A Dalgapi.h68 char name[CRYPTO_MAX_ALG_NAME];
100 char name[CRYPTO_MAX_ALG_NAME];
/linux/drivers/crypto/ccree/
A Dcc_driver.h171 char name[CRYPTO_MAX_ALG_NAME];
172 char driver_name[CRYPTO_MAX_ALG_NAME];
/linux/net/ipv6/
A Desp6.c1059 char aead_name[CRYPTO_MAX_ALG_NAME]; in esp_init_aead()
1064 if (snprintf(aead_name, CRYPTO_MAX_ALG_NAME, "%s(%s)", in esp_init_aead()
1065 x->geniv, x->aead->alg_name) >= CRYPTO_MAX_ALG_NAME) in esp_init_aead()
1095 char authenc_name[CRYPTO_MAX_ALG_NAME]; in esp_init_authenc()
1106 if (snprintf(authenc_name, CRYPTO_MAX_ALG_NAME, in esp_init_authenc()
1111 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) in esp_init_authenc()
1114 if (snprintf(authenc_name, CRYPTO_MAX_ALG_NAME, in esp_init_authenc()
1119 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) in esp_init_authenc()
/linux/net/ipv4/
A Desp4.c1016 char aead_name[CRYPTO_MAX_ALG_NAME]; in esp_init_aead()
1021 if (snprintf(aead_name, CRYPTO_MAX_ALG_NAME, "%s(%s)", in esp_init_aead()
1022 x->geniv, x->aead->alg_name) >= CRYPTO_MAX_ALG_NAME) in esp_init_aead()
1052 char authenc_name[CRYPTO_MAX_ALG_NAME]; in esp_init_authenc()
1063 if (snprintf(authenc_name, CRYPTO_MAX_ALG_NAME, in esp_init_authenc()
1068 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) in esp_init_authenc()
1071 if (snprintf(authenc_name, CRYPTO_MAX_ALG_NAME, in esp_init_authenc()
1076 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) in esp_init_authenc()
/linux/include/linux/
A Dcrypto.h148 #define CRYPTO_MAX_ALG_NAME 128 macro
481 char cra_name[CRYPTO_MAX_ALG_NAME];
482 char cra_driver_name[CRYPTO_MAX_ALG_NAME];

Completed in 43 milliseconds

123