Lines Matching refs:alg_name
366 char alg_name[CRYPTO_MAX_ALG_NAME]) in determine_akcipher()
370 strcpy(alg_name, "pkcs1pad(rsa)"); in determine_akcipher()
374 if (snprintf(alg_name, CRYPTO_MAX_ALG_NAME, "pkcs1pad(rsa,%s)", in determine_akcipher()
382 strcpy(alg_name, "rsa"); in determine_akcipher()
397 char alg_name[CRYPTO_MAX_ALG_NAME]; in tpm_key_query() local
404 ret = determine_akcipher(params->encoding, params->hash_algo, alg_name); in tpm_key_query()
408 tfm = crypto_alloc_akcipher(alg_name, 0, 0); in tpm_key_query()
447 char alg_name[CRYPTO_MAX_ALG_NAME]; in tpm_key_encrypt() local
458 ret = determine_akcipher(params->encoding, params->hash_algo, alg_name); in tpm_key_encrypt()
462 tfm = crypto_alloc_akcipher(alg_name, 0, 0); in tpm_key_encrypt()
739 char alg_name[CRYPTO_MAX_ALG_NAME]; in tpm_key_verify_signature() local
753 ret = determine_akcipher(sig->encoding, sig->hash_algo, alg_name); in tpm_key_verify_signature()
757 tfm = crypto_alloc_akcipher(alg_name, 0, 0); in tpm_key_verify_signature()