/linux-master/crypto/ |
H A D | ecb.c | 34 static int crypto_ecb_encrypt2(struct crypto_lskcipher *tfm, const u8 *src, argument 37 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); 45 static int crypto_ecb_decrypt2(struct crypto_lskcipher *tfm, const u8 *src, argument 48 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); 56 static int lskcipher_setkey_simple2(struct crypto_lskcipher *tfm, argument 59 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); 63 crypto_cipher_set_flags(cipher, crypto_lskcipher_get_flags(tfm) & 68 static int lskcipher_init_tfm_simple2(struct crypto_lskcipher *tfm) argument 70 struct lskcipher_instance *inst = lskcipher_alg_instance(tfm); 71 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); 84 lskcipher_exit_tfm_simple2(struct crypto_lskcipher *tfm) argument [all...] |
H A D | algif_skcipher.c | 44 struct crypto_skcipher *tfm = pask->private; local 45 unsigned ivsize = crypto_skcipher_ivsize(tfm); 53 struct crypto_skcipher *tfm; local 66 tfm = pask->private; 68 statesize = crypto_skcipher_statesize(tfm); 104 struct crypto_skcipher *tfm = pask->private; local 105 unsigned int bs = crypto_skcipher_chunksize(tfm); 119 crypto_skcipher_reqsize(tfm)); 155 skcipher_request_set_tfm(&areq->cra_u.skcipher_req, tfm); 162 sock_kzfree_s(sk, ctx->state, crypto_skcipher_statesize(tfm)); 270 struct crypto_skcipher *tfm; local 364 struct crypto_skcipher *tfm = pask->private; local 378 struct crypto_skcipher *tfm = private; local 407 struct crypto_skcipher *tfm = private; local [all...] |
H A D | essiv.c | 66 static int essiv_skcipher_setkey(struct crypto_skcipher *tfm, argument 69 struct essiv_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); 75 crypto_skcipher_get_flags(tfm) & 87 crypto_skcipher_get_flags(tfm) & 93 static int essiv_aead_setkey(struct crypto_aead *tfm, const u8 *key, argument 96 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); 103 crypto_aead_set_flags(tctx->u.aead, crypto_aead_get_flags(tfm) & 112 desc->tfm = tctx->hash; 120 crypto_cipher_set_flags(tctx->essiv_cipher, crypto_aead_get_flags(tfm) & 126 static int essiv_aead_setauthsize(struct crypto_aead *tfm, argument 143 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 185 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 297 essiv_skcipher_init_tfm(struct crypto_skcipher *tfm) argument 322 essiv_aead_init_tfm(struct crypto_aead *tfm) argument 355 essiv_skcipher_exit_tfm(struct crypto_skcipher *tfm) argument 364 essiv_aead_exit_tfm(struct crypto_aead *tfm) argument [all...] |
H A D | cmac.c | 22 * | <parent tfm> 106 int bs = crypto_shash_blocksize(pdesc->tfm); 118 struct crypto_shash *parent = pdesc->tfm; 121 struct crypto_cipher *tfm = tctx->child; local 139 crypto_cipher_encrypt_one(tfm, prev, prev); 147 crypto_cipher_encrypt_one(tfm, prev, prev); 163 struct crypto_shash *parent = pdesc->tfm; 166 struct crypto_cipher *tfm = tctx->child; local 189 crypto_cipher_encrypt_one(tfm, out, prev); 194 static int cmac_init_tfm(struct crypto_shash *tfm) argument 211 cmac_clone_tfm(struct crypto_shash *tfm, struct crypto_shash *otfm) argument 226 cmac_exit_tfm(struct crypto_shash *tfm) argument [all...] |
H A D | cts.c | 68 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 69 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); 73 crypto_skcipher_alignmask(tfm) + 1); 101 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 103 int bsize = crypto_skcipher_blocksize(tfm); 145 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 147 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); 149 int bsize = crypto_skcipher_blocksize(tfm); 182 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 184 int bsize = crypto_skcipher_blocksize(tfm); 239 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 283 crypto_cts_init_tfm(struct crypto_skcipher *tfm) argument 311 crypto_cts_exit_tfm(struct crypto_skcipher *tfm) argument [all...] |
H A D | xctr.c | 35 struct crypto_cipher *tfm, u32 byte_ctr) 44 crypto_cipher_encrypt_one(tfm, keystream, walk->iv); 50 struct crypto_cipher *tfm, u32 byte_ctr) 53 crypto_cipher_alg(tfm)->cia_encrypt; 61 fn(crypto_cipher_tfm(tfm), dst, walk->iv); 75 struct crypto_cipher *tfm, u32 byte_ctr) 78 crypto_cipher_alg(tfm)->cia_encrypt; 79 unsigned long alignmask = crypto_cipher_alignmask(tfm); 88 fn(crypto_cipher_tfm(tfm), keystream, walk->iv); 102 struct crypto_skcipher *tfm local 34 crypto_xctr_crypt_final(struct skcipher_walk *walk, struct crypto_cipher *tfm, u32 byte_ctr) argument 49 crypto_xctr_crypt_segment(struct skcipher_walk *walk, struct crypto_cipher *tfm, u32 byte_ctr) argument 74 crypto_xctr_crypt_inplace(struct skcipher_walk *walk, struct crypto_cipher *tfm, u32 byte_ctr) argument [all...] |
H A D | ecdsa.c | 139 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 140 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); 222 static int ecdsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) argument 224 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); 254 static void ecdsa_exit_tfm(struct crypto_akcipher *tfm) argument 256 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); 261 static unsigned int ecdsa_max_size(struct crypto_akcipher *tfm) argument 263 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); 268 static int ecdsa_nist_p384_init_tfm(struct crypto_akcipher *tfm) argument 270 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); 290 ecdsa_nist_p256_init_tfm(struct crypto_akcipher *tfm) argument 312 ecdsa_nist_p192_init_tfm(struct crypto_akcipher *tfm) argument [all...] |
H A D | scompress.c | 101 static int crypto_scomp_init_tfm(struct crypto_tfm *tfm) argument 115 struct crypto_acomp *tfm = crypto_acomp_reqtfm(req); local 116 void **tfm_ctx = acomp_tfm_ctx(tfm); 195 static void crypto_exit_scomp_ops_async(struct crypto_tfm *tfm) argument 197 struct crypto_scomp **ctx = crypto_tfm_ctx(tfm); 207 int crypto_init_scomp_ops_async(struct crypto_tfm *tfm) argument 209 struct crypto_alg *calg = tfm->__crt_alg; 210 struct crypto_acomp *crt = __crypto_acomp_tfm(tfm); 211 struct crypto_scomp **ctx = crypto_tfm_ctx(tfm); 224 tfm 237 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); local 256 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); local [all...] |
H A D | rsa.c | 116 static inline struct rsa_mpi_key *rsa_get_key(struct crypto_akcipher *tfm) argument 118 return akcipher_tfm_ctx(tfm); 123 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 124 const struct rsa_mpi_key *pkey = rsa_get_key(tfm); 162 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 163 const struct rsa_mpi_key *pkey = rsa_get_key(tfm); 264 static int rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, argument 267 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm); 303 static int rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, argument 306 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm); 366 rsa_max_size(struct crypto_akcipher *tfm) argument 373 rsa_exit_tfm(struct crypto_akcipher *tfm) argument [all...] |
/linux-master/arch/arm64/crypto/ |
H A D | sm4-neon-glue.c | 28 static int sm4_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 31 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); 66 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 67 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); 74 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 75 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); 82 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 83 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); 114 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 115 struct sm4_ctx *ctx = crypto_skcipher_ctx(tfm); 145 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
/linux-master/drivers/crypto/amlogic/ |
H A D | amlogic-gxl-cipher.c | 60 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 61 struct meson_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); 65 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); 86 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 87 struct meson_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); 90 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); 107 crypto_tfm_alg_name(areq->base.tfm), 109 rctx->op_dir, crypto_skcipher_ivsize(tfm), 129 ivsize = crypto_skcipher_ivsize(tfm); 276 struct crypto_skcipher *tfm local 294 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 310 meson_cipher_init(struct crypto_tfm *tfm) argument 336 meson_cipher_exit(struct crypto_tfm *tfm) argument 344 meson_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument [all...] |
/linux-master/drivers/crypto/ccp/ |
H A D | ccp-crypto-rsa.c | 57 static unsigned int ccp_rsa_maxsize(struct crypto_akcipher *tfm) argument 59 struct ccp_ctx *ctx = akcipher_tfm_ctx_dma(tfm); 66 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 67 struct ccp_ctx *ctx = akcipher_tfm_ctx_dma(tfm); 126 static int ccp_rsa_setkey(struct crypto_akcipher *tfm, const void *key, argument 129 struct ccp_ctx *ctx = akcipher_tfm_ctx_dma(tfm); 181 static int ccp_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key, argument 184 return ccp_rsa_setkey(tfm, key, keylen, true); 187 static int ccp_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key, argument 190 return ccp_rsa_setkey(tfm, ke 193 ccp_rsa_init_tfm(struct crypto_akcipher *tfm) argument 203 ccp_rsa_exit_tfm(struct crypto_akcipher *tfm) argument [all...] |
H A D | ccp-crypto-aes-galois.c | 29 static int ccp_aes_gcm_setkey(struct crypto_aead *tfm, const u8 *key, argument 32 struct ccp_ctx *ctx = crypto_aead_ctx_dma(tfm); 57 static int ccp_aes_gcm_setauthsize(struct crypto_aead *tfm, argument 78 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 79 struct ccp_ctx *ctx = crypto_aead_ctx_dma(tfm); 119 rctx->cmd.u.aes.authsize = crypto_aead_authsize(tfm); 149 static int ccp_aes_gcm_cra_init(struct crypto_aead *tfm) argument 151 struct ccp_ctx *ctx = crypto_aead_ctx_dma(tfm); 156 crypto_aead_set_reqsize_dma(tfm, sizeof(struct ccp_aes_req_ctx)); 161 static void ccp_aes_gcm_cra_exit(struct crypto_tfm *tfm) argument [all...] |
/linux-master/arch/arm/crypto/ |
H A D | curve25519-glue.c | 49 static int curve25519_set_secret(struct crypto_kpp *tfm, const void *buf, argument 52 u8 *secret = kpp_tfm_ctx(tfm); 66 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); local 67 const u8 *secret = kpp_tfm_ctx(tfm); 97 static unsigned int curve25519_max_size(struct crypto_kpp *tfm) argument
|
/linux-master/include/crypto/ |
H A D | algapi.h | 60 int (*init_tfm)(struct crypto_tfm *tfm); 184 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) argument 186 return tfm->__crt_ctx; 189 static inline void *crypto_tfm_ctx_align(struct crypto_tfm *tfm, argument 195 return PTR_ALIGN(crypto_tfm_ctx(tfm), align); 208 static inline void *crypto_tfm_ctx_dma(struct crypto_tfm *tfm) argument 210 return crypto_tfm_ctx_align(tfm, crypto_dma_align()); 214 struct crypto_tfm *tfm) 216 return container_of(tfm->__crt_alg, struct crypto_instance, alg); 272 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) argument 213 crypto_tfm_alg_instance( struct crypto_tfm *tfm) argument [all...] |
/linux-master/drivers/block/zram/ |
H A D | zcomp.c | 39 if (!IS_ERR_OR_NULL(zstrm->tfm)) 40 crypto_free_comp(zstrm->tfm); 42 zstrm->tfm = NULL; 47 * Initialize zcomp_strm structure with ->tfm initialized by backend, and 52 zstrm->tfm = crypto_alloc_comp(comp->name, 0, 0); 58 if (IS_ERR_OR_NULL(zstrm->tfm) || !zstrm->buffer) { 137 return crypto_comp_compress(zstrm->tfm, 147 return crypto_comp_decompress(zstrm->tfm,
|
/linux-master/drivers/crypto/ |
H A D | atmel-ecc.c | 77 static int atmel_ecdh_set_secret(struct crypto_kpp *tfm, const void *buf, argument 80 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); 139 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); local 140 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); 167 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); local 168 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); 247 static int atmel_ecdh_init_tfm(struct crypto_kpp *tfm) argument 249 const char *alg = kpp_alg_name(tfm); 251 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); 256 pr_err("tfm 273 atmel_ecdh_exit_tfm(struct crypto_kpp *tfm) argument 282 atmel_ecdh_max_size(struct crypto_kpp *tfm) argument [all...] |
/linux-master/drivers/crypto/hisilicon/sec/ |
H A D | sec_algs.c | 147 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); local 148 struct sec_alg_tfm_ctx *ctx = crypto_tfm_ctx(tfm); 227 static int sec_alg_skcipher_setkey(struct crypto_skcipher *tfm, argument 231 struct sec_alg_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); 248 sec_alg_skcipher_init_context(tfm, key, keylen, alg); 253 static int sec_alg_skcipher_setkey_aes_ecb(struct crypto_skcipher *tfm, argument 272 return sec_alg_skcipher_setkey(tfm, key, keylen, alg); 275 static int sec_alg_skcipher_setkey_aes_cbc(struct crypto_skcipher *tfm, argument 294 return sec_alg_skcipher_setkey(tfm, key, keylen, alg); 297 static int sec_alg_skcipher_setkey_aes_ctr(struct crypto_skcipher *tfm, argument 319 sec_alg_skcipher_setkey_aes_xts(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 343 sec_alg_skcipher_setkey_des_ecb(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 350 sec_alg_skcipher_setkey_des_cbc(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 357 sec_alg_skcipher_setkey_3des_ecb(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 365 sec_alg_skcipher_setkey_3des_cbc(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 711 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); local 872 sec_alg_skcipher_init(struct crypto_skcipher *tfm) argument 890 sec_alg_skcipher_exit(struct crypto_skcipher *tfm) argument 903 sec_alg_skcipher_init_with_queue(struct crypto_skcipher *tfm) argument 923 sec_alg_skcipher_exit_with_queue(struct crypto_skcipher *tfm) argument [all...] |
/linux-master/arch/x86/crypto/ |
H A D | aria_aesni_avx2_glue.c | 68 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 69 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); 76 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 77 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); 82 static int aria_avx2_set_key(struct crypto_skcipher *tfm, const u8 *key, argument 85 return aria_set_key(&tfm->base, key, keylen); 91 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 92 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); 159 static int aria_avx2_init_tfm(struct crypto_skcipher *tfm) argument 161 crypto_skcipher_set_reqsize(tfm, sizeo [all...] |
H A D | aria_aesni_avx_glue.c | 66 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 67 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); 74 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 75 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); 80 static int aria_avx_set_key(struct crypto_skcipher *tfm, const u8 *key, argument 83 return aria_set_key(&tfm->base, key, keylen); 89 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 90 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); 146 static int aria_avx_init_tfm(struct crypto_skcipher *tfm) argument 148 crypto_skcipher_set_reqsize(tfm, sizeo [all...] |
H A D | aria_gfni_avx512_glue.c | 55 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 56 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); 63 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 64 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); 69 static int aria_avx512_set_key(struct crypto_skcipher *tfm, const u8 *key, argument 72 return aria_set_key(&tfm->base, key, keylen); 78 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 79 struct aria_ctx *ctx = crypto_skcipher_ctx(tfm); 158 static int aria_avx512_init_tfm(struct crypto_skcipher *tfm) argument 160 crypto_skcipher_set_reqsize(tfm, [all...] |
/linux-master/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce.h | 346 int sun8i_ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, 348 int sun8i_ce_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, 350 int sun8i_ce_cipher_init(struct crypto_tfm *tfm); 351 void sun8i_ce_cipher_exit(struct crypto_tfm *tfm); 360 int sun8i_ce_hash_init_tfm(struct crypto_ahash *tfm); 361 void sun8i_ce_hash_exit_tfm(struct crypto_ahash *tfm); 371 int sun8i_ce_prng_generate(struct crypto_rng *tfm, const u8 *src, 373 int sun8i_ce_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen); 374 void sun8i_ce_prng_exit(struct crypto_tfm *tfm); 375 int sun8i_ce_prng_init(struct crypto_tfm *tfm); [all...] |
/linux-master/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss.h | 288 int sun8i_ss_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, 290 int sun8i_ss_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, 292 int sun8i_ss_cipher_init(struct crypto_tfm *tfm); 293 void sun8i_ss_cipher_exit(struct crypto_tfm *tfm); 301 int sun8i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src, 303 int sun8i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen); 304 int sun8i_ss_prng_init(struct crypto_tfm *tfm); 305 void sun8i_ss_prng_exit(struct crypto_tfm *tfm); 307 int sun8i_ss_hash_init_tfm(struct crypto_ahash *tfm); 308 void sun8i_ss_hash_exit_tfm(struct crypto_ahash *tfm); [all...] |
/linux-master/include/crypto/internal/ |
H A D | skcipher.h | 225 static inline void *crypto_skcipher_ctx(struct crypto_skcipher *tfm) argument 227 return crypto_tfm_ctx(&tfm->base); 230 static inline void *crypto_lskcipher_ctx(struct crypto_lskcipher *tfm) argument 232 return crypto_tfm_ctx(&tfm->base); 235 static inline void *crypto_skcipher_ctx_dma(struct crypto_skcipher *tfm) argument 237 return crypto_tfm_ctx_dma(&tfm->base); 265 skcipher_cipher_simple(struct crypto_skcipher *tfm) argument 267 struct skcipher_ctx_simple *ctx = crypto_skcipher_ctx(tfm); 284 struct crypto_lskcipher *tfm) 286 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm); 283 lskcipher_cipher_simple( struct crypto_lskcipher *tfm) argument [all...] |
/linux-master/crypto/asymmetric_keys/ |
H A D | x509_public_key.c | 28 struct crypto_shash *tfm; local 44 tfm = crypto_alloc_shash(sig->hash_algo, 0, 0); 45 if (IS_ERR(tfm)) { 46 if (PTR_ERR(tfm) == -ENOENT) { 50 return PTR_ERR(tfm); 53 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); 54 sig->digest_size = crypto_shash_digestsize(tfm); 65 desc->tfm = tfm; 97 crypto_free_shash(tfm); [all...] |