Searched refs:ctr_name (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/crypto/
H A Dccm.c477 const char *ctr_name, crypto_ccm_alloc_common()
516 err = crypto_grab_skcipher(&ictx->ctr, ctr_name, 0, crypto_ccm_alloc_common()
576 char ctr_name[CRYPTO_MAX_ALG_NAME]; crypto_ccm_alloc() local
583 if (snprintf(ctr_name, CRYPTO_MAX_ALG_NAME, "ctr(%s)", crypto_ccm_alloc()
591 return crypto_ccm_alloc_common(tb, full_name, ctr_name, cipher_name); crypto_ccm_alloc()
612 const char *ctr_name; crypto_ccm_base_alloc() local
616 ctr_name = crypto_attr_alg_name(tb[1]); crypto_ccm_base_alloc()
617 if (IS_ERR(ctr_name)) crypto_ccm_base_alloc()
618 return ERR_CAST(ctr_name); crypto_ccm_base_alloc()
625 ctr_name, cipher_name) >= CRYPTO_MAX_ALG_NAME) crypto_ccm_base_alloc()
628 return crypto_ccm_alloc_common(tb, full_name, ctr_name, cipher_name); crypto_ccm_base_alloc()
475 crypto_ccm_alloc_common(struct rtattr **tb, const char *full_name, const char *ctr_name, const char *cipher_name) crypto_ccm_alloc_common() argument
H A Dgcm.c699 const char *ctr_name, crypto_gcm_alloc_common()
736 err = crypto_grab_skcipher(&ctx->ctr, ctr_name, 0, crypto_gcm_alloc_common()
796 char ctr_name[CRYPTO_MAX_ALG_NAME]; crypto_gcm_alloc() local
803 if (snprintf(ctr_name, CRYPTO_MAX_ALG_NAME, "ctr(%s)", cipher_name) >= crypto_gcm_alloc()
811 return crypto_gcm_alloc_common(tb, full_name, ctr_name, "ghash"); crypto_gcm_alloc()
832 const char *ctr_name; crypto_gcm_base_alloc() local
836 ctr_name = crypto_attr_alg_name(tb[1]); crypto_gcm_base_alloc()
837 if (IS_ERR(ctr_name)) crypto_gcm_base_alloc()
838 return ERR_CAST(ctr_name); crypto_gcm_base_alloc()
845 ctr_name, ghash_name) >= CRYPTO_MAX_ALG_NAME) crypto_gcm_base_alloc()
848 return crypto_gcm_alloc_common(tb, full_name, ctr_name, ghash_name); crypto_gcm_base_alloc()
697 crypto_gcm_alloc_common(struct rtattr **tb, const char *full_name, const char *ctr_name, const char *ghash_name) crypto_gcm_alloc_common() argument

Completed in 196 milliseconds