Searched refs:init_tfm (Results 1 – 16 of 16) sorted by relevance
| /OK3568_Linux_fs/kernel/crypto/ |
| H A D | fips140-alg-registration.c | 160 int (*init_tfm)(struct crypto_ahash *tfm) = in fips140_ahash_init_tfm() local 164 WRITE_ONCE(alg->init_tfm, init_tfm); in fips140_ahash_init_tfm() 165 return init_tfm ? init_tfm(tfm) : 0; in fips140_ahash_init_tfm() 171 int (*init_tfm)(struct crypto_shash *tfm) = in fips140_shash_init_tfm() local 175 WRITE_ONCE(alg->init_tfm, init_tfm); in fips140_shash_init_tfm() 176 return init_tfm ? init_tfm(tfm) : 0; in fips140_shash_init_tfm() 220 return prepare_alg(alg, &alg->halg.base, init_tfm, in fips140_prepare_ahash_alg() 235 return prepare_alg(alg, &alg->base, init_tfm, fips140_shash_init_tfm); in fips140_prepare_shash_alg()
|
| H A D | kpp.c | 73 .init_tfm = crypto_kpp_init_tfm,
|
| H A D | ahash.c | 481 return alg->init_tfm ? alg->init_tfm(hash) : 0; in crypto_ahash_init_tfm() 534 .init_tfm = crypto_ahash_init_tfm,
|
| H A D | shash.c | 437 if (!alg->init_tfm) in crypto_shash_init_tfm() 440 err = alg->init_tfm(hash); in crypto_shash_init_tfm() 496 .init_tfm = crypto_shash_init_tfm,
|
| H A D | akcipher.c | 81 .init_tfm = crypto_akcipher_init_tfm,
|
| H A D | rng.c | 99 .init_tfm = crypto_rng_init_tfm,
|
| H A D | acompress.c | 94 .init_tfm = crypto_acomp_init_tfm,
|
| H A D | scompress.c | 246 .init_tfm = crypto_scomp_init_tfm,
|
| H A D | hmac.c | 225 inst->alg.init_tfm = hmac_init_tfm; in hmac_create()
|
| H A D | aead.c | 193 .init_tfm = crypto_aead_init_tfm,
|
| H A D | api.c | 457 err = frontend->init_tfm(tfm); in crypto_create_tfm_node()
|
| H A D | skcipher.c | 738 .init_tfm = crypto_skcipher_init_tfm,
|
| /OK3568_Linux_fs/kernel/include/crypto/ |
| H A D | hash.h | 144 int (*init_tfm)(struct crypto_ahash *tfm); member 211 int (*init_tfm)(struct crypto_shash *tfm); member
|
| H A D | algapi.h | 35 int (*init_tfm)(struct crypto_tfm *tfm); member
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | padlock-sha.c | 228 .init_tfm = padlock_init_tfm, 251 .init_tfm = padlock_init_tfm,
|
| H A D | ixp4xx_crypto.c | 575 static int init_tfm(struct crypto_tfm *tfm) in init_tfm() function 594 return init_tfm(crypto_skcipher_tfm(tfm)); in init_tfm_ablk() 600 return init_tfm(crypto_aead_tfm(tfm)); in init_tfm_aead()
|