/openbmc/linux/crypto/ |
H A D | simd.c | 119 alg = crypto_skcipher_alg(tfm); in simd_skcipher_init() 144 struct crypto_skcipher *tfm; in simd_skcipher_create_compat() local 151 if (IS_ERR(tfm)) in simd_skcipher_create_compat() 152 return ERR_CAST(tfm); in simd_skcipher_create_compat() 199 crypto_free_skcipher(tfm); in simd_skcipher_create_compat() 367 alg = crypto_aead_alg(tfm); in simd_aead_init() 391 struct crypto_aead *tfm; in simd_aead_create_compat() local 398 if (IS_ERR(tfm)) in simd_aead_create_compat() 399 return ERR_CAST(tfm); in simd_aead_create_compat() 401 ialg = crypto_aead_alg(tfm); in simd_aead_create_compat() [all …]
|
H A D | sig.c | 24 static int crypto_sig_init_tfm(struct crypto_tfm *tfm) in crypto_sig_init_tfm() argument 26 if (tfm->__crt_alg->cra_type != &crypto_sig_type) in crypto_sig_init_tfm() 27 return crypto_init_akcipher_ops_sig(tfm); in crypto_sig_init_tfm() 82 int crypto_sig_maxsize(struct crypto_sig *tfm) in crypto_sig_maxsize() argument 84 struct crypto_akcipher **ctx = crypto_sig_ctx(tfm); in crypto_sig_maxsize() 90 int crypto_sig_sign(struct crypto_sig *tfm, in crypto_sig_sign() argument 96 .tfm = *ctx, in crypto_sig_sign() 109 int crypto_sig_verify(struct crypto_sig *tfm, in crypto_sig_verify() argument 115 .tfm = *ctx, in crypto_sig_verify() 133 int crypto_sig_set_pubkey(struct crypto_sig *tfm, in crypto_sig_set_pubkey() argument [all …]
|
H A D | des_generic.c | 19 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey() argument 22 struct des_ctx *dctx = crypto_tfm_ctx(tfm); in des_setkey() 27 if (crypto_tfm_get_flags(tfm) & CRYPTO_TFM_REQ_FORBID_WEAK_KEYS) in des_setkey() 39 const struct des_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des_encrypt() 46 const struct des_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des_decrypt() 51 static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_ede_setkey() argument 54 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_setkey() 59 if (crypto_tfm_get_flags(tfm) & CRYPTO_TFM_REQ_FORBID_WEAK_KEYS) in des3_ede_setkey() 69 static void crypto_des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, in crypto_des3_ede_encrypt() argument 72 const struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in crypto_des3_ede_encrypt() [all …]
|
H A D | ctr.c | 29 struct crypto_cipher *tfm) in crypto_ctr_crypt_final() argument 31 unsigned int bsize = crypto_cipher_blocksize(tfm); in crypto_ctr_crypt_final() 40 crypto_cipher_encrypt_one(tfm, keystream, ctrblk); in crypto_ctr_crypt_final() 47 struct crypto_cipher *tfm) in crypto_ctr_crypt_segment() argument 50 crypto_cipher_alg(tfm)->cia_encrypt; in crypto_ctr_crypt_segment() 59 fn(crypto_cipher_tfm(tfm), dst, ctrblk); in crypto_ctr_crypt_segment() 73 struct crypto_cipher *tfm) in crypto_ctr_crypt_inplace() argument 76 crypto_cipher_alg(tfm)->cia_encrypt; in crypto_ctr_crypt_inplace() 87 fn(crypto_cipher_tfm(tfm), keystream, ctrblk); in crypto_ctr_crypt_inplace() 233 align = crypto_skcipher_alignmask(tfm); in crypto_rfc3686_init_tfm() [all …]
|
H A D | algif_aead.c | 382 struct aead_tfm *tfm; in aead_check_key() local 392 tfm = pask->private; in aead_check_key() 457 struct aead_tfm *tfm; in aead_bind() local 461 tfm = kzalloc(sizeof(*tfm), GFP_KERNEL); in aead_bind() 462 if (!tfm) in aead_bind() 467 kfree(tfm); in aead_bind() 474 kfree(tfm); in aead_bind() 478 tfm->aead = aead; in aead_bind() 479 tfm->null_tfm = null_tfm; in aead_bind() 481 return tfm; in aead_bind() [all …]
|
H A D | 842.c | 31 static void *crypto842_alloc_ctx(struct crypto_scomp *tfm) in crypto842_alloc_ctx() argument 42 static int crypto842_init(struct crypto_tfm *tfm) in crypto842_init() argument 44 struct crypto842_ctx *ctx = crypto_tfm_ctx(tfm); in crypto842_init() 53 static void crypto842_free_ctx(struct crypto_scomp *tfm, void *ctx) in crypto842_free_ctx() argument 58 static void crypto842_exit(struct crypto_tfm *tfm) in crypto842_exit() argument 60 struct crypto842_ctx *ctx = crypto_tfm_ctx(tfm); in crypto842_exit() 65 static int crypto842_compress(struct crypto_tfm *tfm, in crypto842_compress() argument 69 struct crypto842_ctx *ctx = crypto_tfm_ctx(tfm); in crypto842_compress() 74 static int crypto842_scompress(struct crypto_scomp *tfm, in crypto842_scompress() argument 81 static int crypto842_decompress(struct crypto_tfm *tfm, in crypto842_decompress() argument [all …]
|
H A D | pcbc.c | 22 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_segment() argument 24 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_encrypt_segment() 32 crypto_cipher_encrypt_one(tfm, dst, iv); in crypto_pcbc_encrypt_segment() 44 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_inplace() argument 46 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_encrypt_inplace() 55 crypto_cipher_encrypt_one(tfm, src, iv); in crypto_pcbc_encrypt_inplace() 89 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_segment() argument 91 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_decrypt_segment() 98 crypto_cipher_decrypt_one(tfm, dst, src); in crypto_pcbc_decrypt_segment() 111 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_inplace() argument [all …]
|
H A D | ansi_cprng.c | 47 struct crypto_cipher *tfm; member 273 crypto_free_cipher(ctx->tfm); in free_prng_context() 309 crypto_cipher_get_flags(ctx->tfm)); in reset_prng_context() 320 static int cprng_init(struct crypto_tfm *tfm) in cprng_init() argument 325 ctx->tfm = crypto_alloc_cipher("aes", 0, 0); in cprng_init() 326 if (IS_ERR(ctx->tfm)) { in cprng_init() 329 return PTR_ERR(ctx->tfm); in cprng_init() 344 static void cprng_exit(struct crypto_tfm *tfm) in cprng_exit() argument 346 free_prng_context(crypto_tfm_ctx(tfm)); in cprng_exit() 364 static int cprng_reset(struct crypto_rng *tfm, in cprng_reset() argument [all …]
|
H A D | lz4.c | 19 static void *lz4_alloc_ctx(struct crypto_scomp *tfm) in lz4_alloc_ctx() argument 30 static int lz4_init(struct crypto_tfm *tfm) in lz4_init() argument 32 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_init() 41 static void lz4_free_ctx(struct crypto_scomp *tfm, void *ctx) in lz4_free_ctx() argument 46 static void lz4_exit(struct crypto_tfm *tfm) in lz4_exit() argument 48 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_exit() 66 static int lz4_scompress(struct crypto_scomp *tfm, const u8 *src, in lz4_scompress() argument 73 static int lz4_compress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4_compress_crypto() argument 76 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_compress_crypto() 93 static int lz4_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lz4_sdecompress() argument [all …]
|
H A D | lz4hc.c | 18 static void *lz4hc_alloc_ctx(struct crypto_scomp *tfm) in lz4hc_alloc_ctx() argument 29 static int lz4hc_init(struct crypto_tfm *tfm) in lz4hc_init() argument 31 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); in lz4hc_init() 40 static void lz4hc_free_ctx(struct crypto_scomp *tfm, void *ctx) in lz4hc_free_ctx() argument 45 static void lz4hc_exit(struct crypto_tfm *tfm) in lz4hc_exit() argument 47 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); in lz4hc_exit() 65 static int lz4hc_scompress(struct crypto_scomp *tfm, const u8 *src, in lz4hc_scompress() argument 72 static int lz4hc_compress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4hc_compress_crypto() argument 76 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); in lz4hc_compress_crypto() 94 static int lz4hc_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lz4hc_sdecompress() argument [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | aes_gmac.c | 23 int reqsize = sizeof(*aead_req) + crypto_aead_reqsize(tfm); in ieee80211_aes_gmac() 59 aead_request_set_tfm(aead_req, tfm); in ieee80211_aes_gmac() 72 struct crypto_aead *tfm; in ieee80211_aes_gmac_key_setup() local 76 if (IS_ERR(tfm)) in ieee80211_aes_gmac_key_setup() 77 return tfm; in ieee80211_aes_gmac_key_setup() 79 err = crypto_aead_setkey(tfm, key, key_len); in ieee80211_aes_gmac_key_setup() 81 err = crypto_aead_setauthsize(tfm, GMAC_MIC_LEN); in ieee80211_aes_gmac_key_setup() 83 return tfm; in ieee80211_aes_gmac_key_setup() 85 crypto_free_aead(tfm); in ieee80211_aes_gmac_key_setup() 89 void ieee80211_aes_gmac_key_free(struct crypto_aead *tfm) in ieee80211_aes_gmac_key_free() argument [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | crypto_ctx.c | 34 crypto_free_shash(shash->tfm); in free_shash() 41 struct crypto_aead *tfm = NULL; in alloc_aead() local 45 tfm = crypto_alloc_aead("gcm(aes)", 0, 0); in alloc_aead() 48 tfm = crypto_alloc_aead("ccm(aes)", 0, 0); in alloc_aead() 55 if (IS_ERR(tfm)) { in alloc_aead() 60 return tfm; in alloc_aead() 65 struct crypto_shash *tfm = NULL; in alloc_shash_desc() local 79 tfm = crypto_alloc_shash("sha256", 0, 0); in alloc_shash_desc() 88 if (IS_ERR(tfm)) in alloc_shash_desc() 94 crypto_free_shash(tfm); in alloc_shash_desc() [all …]
|
/openbmc/linux/drivers/crypto/inside-secure/ |
H A D | safexcel_cipher.c | 1745 safexcel_aead_cra_init(tfm); in safexcel_aead_sha1_cra_init() 1781 safexcel_aead_cra_init(tfm); in safexcel_aead_sha256_cra_init() 1817 safexcel_aead_cra_init(tfm); in safexcel_aead_sha224_cra_init() 1853 safexcel_aead_cra_init(tfm); in safexcel_aead_sha512_cra_init() 1889 safexcel_aead_cra_init(tfm); in safexcel_aead_sha384_cra_init() 2635 safexcel_aead_cra_init(tfm); in safexcel_aead_gcm_cra_init() 2646 safexcel_aead_cra_exit(tfm); in safexcel_aead_gcm_cra_exit() 2730 safexcel_aead_cra_init(tfm); in safexcel_aead_ccm_cra_init() 2966 safexcel_aead_cra_init(tfm); in safexcel_aead_fallback_cra_init() 3001 safexcel_aead_cra_exit(tfm); in safexcel_aead_fallback_cra_exit() [all …]
|
/openbmc/linux/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss-cipher.c | 18 struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sun4i_ss_opti_poll() 20 unsigned int ivsize = crypto_skcipher_ivsize(tfm); in sun4i_ss_opti_poll() 38 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun4i_ss_opti_poll() 184 unsigned int ivsize = crypto_skcipher_ivsize(tfm); in sun4i_ss_cipher_poll() 534 int sun4i_ss_cipher_init(struct crypto_tfm *tfm) in sun4i_ss_cipher_init() argument 536 struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun4i_ss_cipher_init() 538 const char *name = crypto_tfm_alg_name(tfm); in sun4i_ss_cipher_init() 568 void sun4i_ss_cipher_exit(struct crypto_tfm *tfm) in sun4i_ss_cipher_exit() argument 570 struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun4i_ss_cipher_exit() 613 err = verify_skcipher_des_key(tfm, key); in sun4i_ss_des_setkey() [all …]
|
/openbmc/linux/drivers/crypto/vmx/ |
H A D | aes.c | 28 static int p8_aes_init(struct crypto_tfm *tfm) in p8_aes_init() argument 30 const char *alg = crypto_tfm_alg_name(tfm); in p8_aes_init() 32 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_init() 45 tfm)); in p8_aes_init() 51 static void p8_aes_exit(struct crypto_tfm *tfm) in p8_aes_exit() argument 53 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_exit() 61 static int p8_aes_setkey(struct crypto_tfm *tfm, const u8 *key, in p8_aes_setkey() argument 65 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_setkey() 81 static void p8_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_encrypt() argument 83 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_encrypt() [all …]
|
/openbmc/linux/net/bluetooth/ |
H A D | selftest.c | 155 ret = set_ecdh_privkey(tfm, priv_a); in test_ecdh_sample() 159 ret = compute_ecdh_secret(tfm, pub_b, dhkey_a); in test_ecdh_sample() 168 ret = set_ecdh_privkey(tfm, priv_b); in test_ecdh_sample() 172 ret = compute_ecdh_secret(tfm, pub_a, dhkey_b); in test_ecdh_sample() 201 struct crypto_kpp *tfm; in test_ecdh() local 208 tfm = crypto_alloc_kpp("ecdh-nist-p256", 0, 0); in test_ecdh() 209 if (IS_ERR(tfm)) { in test_ecdh() 211 err = PTR_ERR(tfm); in test_ecdh() 215 err = test_ecdh_sample(tfm, priv_a_1, priv_b_1, pub_a_1, pub_b_1, in test_ecdh() 222 err = test_ecdh_sample(tfm, priv_a_2, priv_b_2, pub_a_2, pub_b_2, in test_ecdh() [all …]
|
/openbmc/linux/crypto/asymmetric_keys/ |
H A D | public_key.c | 160 struct crypto_akcipher *tfm; in software_key_query() local 212 if (IS_ERR(tfm)) { in software_key_query() 213 ret = PTR_ERR(tfm); in software_key_query() 263 crypto_free_akcipher(tfm); in software_key_query() 321 if (IS_ERR(tfm)) { in software_key_eds_op() 322 ret = PTR_ERR(tfm); in software_key_eds_op() 369 crypto_free_akcipher(tfm); in software_key_eds_op() 383 struct crypto_sig *tfm; in public_key_verify_signature() local 416 if (IS_ERR(tfm)) in public_key_verify_signature() 417 return PTR_ERR(tfm); in public_key_verify_signature() [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | ghash-clmulni-intel_glue.c | 54 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey() argument 57 struct ghash_ctx *ctx = crypto_shash_ctx(tfm); in ghash_setkey() 99 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_update() 152 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); in ghash_final() 181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() local 182 struct ghash_async_ctx *ctx = crypto_ahash_ctx(tfm); in ghash_async_init() 188 desc->tfm = child; in ghash_async_init() 267 desc->tfm = child; in ghash_async_digest() 287 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_init_tfm() 295 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm), in ghash_async_init_tfm() [all …]
|
/openbmc/linux/arch/s390/crypto/ |
H A D | aes_s390.c | 75 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in setkey_fallback_cip() 87 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_set_key() 98 return setkey_fallback_cip(tfm, in_key, key_len); in aes_set_key() 107 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in crypto_aes_encrypt() 118 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in crypto_aes_decrypt() 130 const char *name = tfm->__crt_alg->cra_name; in fallback_init_cip() 131 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_init_cip() 147 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_exit_cip() 183 crypto_skcipher_get_flags(tfm) & in setkey_fallback_skcipher() 385 crypto_skcipher_get_flags(tfm) & in xts_fallback_setkey() [all …]
|
/openbmc/linux/drivers/crypto/intel/ixp4xx/ |
H A D | ixp4xx_crypto.c | 143 struct crypto_tfm *tfm; member 677 exit_tfm(crypto_aead_tfm(tfm)); in exit_tfm_aead() 712 crypt->data.tfm = tfm; in register_chain_var() 749 algo = ix_hash(tfm); in setup_auth() 795 crypt->data.tfm = tfm; in gen_rev_aes_key() 825 cipher_cfg = cipher_cfg_enc(tfm); in setup_cipher() 828 cipher_cfg = cipher_cfg_dec(tfm); in setup_cipher() 864 return gen_rev_aes_key(tfm); in setup_cipher() 1241 return aead_setup(tfm, authsize); in aead_setauthsize() 1265 return aead_setup(tfm, crypto_aead_authsize(tfm)); in aead_setkey() [all …]
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-cipher.c | 28 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ce_cipher_need_fallback() 40 if (areq->cryptlen < crypto_skcipher_ivsize(tfm)) { in sun8i_ce_cipher_need_fallback() 127 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ce_cipher_prepare() 144 crypto_tfm_alg_name(areq->base.tfm), in sun8i_ce_cipher_prepare() 195 ivsize = crypto_skcipher_ivsize(tfm); in sun8i_ce_cipher_prepare() 196 if (areq->iv && crypto_skcipher_ivsize(tfm) > 0) { in sun8i_ce_cipher_prepare() 320 ivsize = crypto_skcipher_ivsize(tfm); in sun8i_ce_cipher_unprepare() 413 int sun8i_ce_cipher_init(struct crypto_tfm *tfm) in sun8i_ce_cipher_init() argument 417 const char *name = crypto_tfm_alg_name(tfm); in sun8i_ce_cipher_init() 452 void sun8i_ce_cipher_exit(struct crypto_tfm *tfm) in sun8i_ce_cipher_exit() argument [all …]
|
H A D | sun8i-ce-hash.c | 26 int sun8i_ce_hash_init_tfm(struct crypto_ahash *tfm) in sun8i_ce_hash_init_tfm() argument 29 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ce_hash_init_tfm() 44 crypto_ahash_set_statesize(tfm, in sun8i_ce_hash_init_tfm() 47 crypto_ahash_set_reqsize(tfm, in sun8i_ce_hash_init_tfm() 64 void sun8i_ce_hash_exit_tfm(struct crypto_ahash *tfm) in sun8i_ce_hash_exit_tfm() argument 75 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_init() local 89 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_export() local 101 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_import() local 123 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ce_hash_final() 166 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ce_hash_finup() [all …]
|
/openbmc/linux/drivers/crypto/rockchip/ |
H A D | rk3288_crypto_ahash.c | 48 struct rk_ahash_ctx *tfmctx = crypto_ahash_ctx(tfm); in rk_ahash_digest_fb() 49 struct ahash_alg *alg = crypto_ahash_alg(tfm); in rk_ahash_digest_fb() 68 int rk_digest_size = crypto_ahash_digestsize(tfm); in zero_message_process() 124 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_init() 137 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_update() 152 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_final() 166 struct rk_ahash_ctx *ctx = crypto_ahash_ctx(tfm); in rk_ahash_finup() 263 struct ahash_alg *alg = crypto_ahash_alg(tfm); in rk_hash_run() 284 switch (crypto_ahash_digestsize(tfm)) { in rk_hash_run() 348 struct ahash_alg *alg = crypto_ahash_alg(tfm); in rk_hash_init_tfm() [all …]
|
/openbmc/linux/lib/ |
H A D | libcrc32c.c | 36 static struct crypto_shash *tfm; variable 40 SHASH_DESC_ON_STACK(shash, tfm); in crc32c() 44 shash->tfm = tfm; in crc32c() 59 tfm = crypto_alloc_shash("crc32c", 0, 0); in libcrc32c_mod_init() 60 return PTR_ERR_OR_ZERO(tfm); in libcrc32c_mod_init() 65 crypto_free_shash(tfm); in libcrc32c_mod_fini()
|
/openbmc/linux/net/sunrpc/auth_gss/ |
H A D | gss_krb5_keys.c | 309 SHASH_DESC_ON_STACK(desc, tfm); in krb5_cmac_Ki() 314 desc->tfm = tfm; in krb5_cmac_Ki() 377 struct crypto_shash *tfm; in krb5_kdf_feedback_cmac() local 387 if (IS_ERR(tfm)) { in krb5_kdf_feedback_cmac() 388 ret = PTR_ERR(tfm); in krb5_kdf_feedback_cmac() 425 crypto_free_shash(tfm); in krb5_kdf_feedback_cmac() 453 desc->tfm = tfm; in krb5_hmac_K1() 506 struct crypto_shash *tfm; in krb5_kdf_hmac_sha2() local 519 if (IS_ERR(tfm)) { in krb5_kdf_hmac_sha2() 520 ret = PTR_ERR(tfm); in krb5_kdf_hmac_sha2() [all …]
|