Home
last modified time | relevance | path

Searched refs:cipher_name (Results 1 – 5 of 5) sorted by relevance

/crypto/
A Dlrw.c304 const char *cipher_name; in lrw_create() local
313 cipher_name = crypto_attr_alg_name(tb[1]); in lrw_create()
314 if (IS_ERR(cipher_name)) in lrw_create()
315 return PTR_ERR(cipher_name); in lrw_create()
324 cipher_name, 0, mask); in lrw_create()
325 if (err == -ENOENT && memcmp(cipher_name, "ecb(", 4)) { in lrw_create()
328 cipher_name) >= CRYPTO_MAX_ALG_NAME) in lrw_create()
354 cipher_name = alg->base.cra_name; in lrw_create()
359 if (!memcmp(cipher_name, "ecb(", 4)) { in lrw_create()
362 len = strscpy(ecb_name, cipher_name + 4, sizeof(ecb_name)); in lrw_create()
A Dxts.c346 const char *cipher_name; in xts_create() local
354 cipher_name = crypto_attr_alg_name(tb[1]); in xts_create()
355 if (IS_ERR(cipher_name)) in xts_create()
356 return PTR_ERR(cipher_name); in xts_create()
365 cipher_name, 0, mask); in xts_create()
366 if (err == -ENOENT && memcmp(cipher_name, "ecb(", 4)) { in xts_create()
369 cipher_name) >= CRYPTO_MAX_ALG_NAME) in xts_create()
395 cipher_name = alg->base.cra_name; in xts_create()
400 if (!memcmp(cipher_name, "ecb(", 4)) { in xts_create()
403 len = strscpy(name, cipher_name + 4, sizeof(name)); in xts_create()
A Dlskcipher.c491 const char *cipher_name; in lskcipher_alloc_instance_simple() local
498 cipher_name = crypto_attr_alg_name(tb[1]); in lskcipher_alloc_instance_simple()
499 if (IS_ERR(cipher_name)) in lskcipher_alloc_instance_simple()
500 return ERR_CAST(cipher_name); in lskcipher_alloc_instance_simple()
509 cipher_name, 0, mask); in lskcipher_alloc_instance_simple()
515 cipher_name) >= CRYPTO_MAX_ALG_NAME) in lskcipher_alloc_instance_simple()
553 if (strcmp(ecb_name, cipher_name) && in lskcipher_alloc_instance_simple()
556 "%s(%s)", tmpl->name, cipher_name) >= in lskcipher_alloc_instance_simple()
A Dccm.c527 const char *cipher_name; in crypto_ccm_create() local
531 cipher_name = crypto_attr_alg_name(tb[1]); in crypto_ccm_create()
532 if (IS_ERR(cipher_name)) in crypto_ccm_create()
533 return PTR_ERR(cipher_name); in crypto_ccm_create()
536 cipher_name) >= CRYPTO_MAX_ALG_NAME) in crypto_ccm_create()
540 cipher_name) >= CRYPTO_MAX_ALG_NAME) in crypto_ccm_create()
A Dgcm.c652 const char *cipher_name; in crypto_gcm_create() local
655 cipher_name = crypto_attr_alg_name(tb[1]); in crypto_gcm_create()
656 if (IS_ERR(cipher_name)) in crypto_gcm_create()
657 return PTR_ERR(cipher_name); in crypto_gcm_create()
659 if (snprintf(ctr_name, CRYPTO_MAX_ALG_NAME, "ctr(%s)", cipher_name) >= in crypto_gcm_create()

Completed in 15 milliseconds