Searched refs:private (Results 1 – 6 of 6) sorted by relevance
/crypto/ |
D | algif_rng.c | 112 struct rng_ctx *ctx = ask->private; in rng_recvmsg() 122 struct rng_ctx *ctx = ask->private; in rng_test_recvmsg() 137 struct rng_ctx *ctx = ask->private; in rng_test_sendmsg() 221 static void rng_release(void *private) in rng_release() argument 223 struct rng_parent_ctx *pctx = private; in rng_release() 235 struct rng_ctx *ctx = ask->private; in rng_sock_destruct() 242 static int rng_accept_parent(void *private, struct sock *sk) in rng_accept_parent() argument 245 struct rng_parent_ctx *pctx = private; in rng_accept_parent() 264 ask->private = ctx; in rng_accept_parent() 277 static int rng_setkey(void *private, const u8 *seed, unsigned int seedlen) in rng_setkey() argument [all …]
|
D | algif_skcipher.c | 44 struct crypto_skcipher *tfm = pask->private; in skcipher_sendmsg() 57 struct af_alg_ctx *ctx = ask->private; in _skcipher_recvmsg() 58 struct crypto_skcipher *tfm = pask->private; in _skcipher_recvmsg() 217 tfm = pask->private; in skcipher_check_key() 298 static void skcipher_release(void *private) in skcipher_release() argument 300 crypto_free_skcipher(private); in skcipher_release() 303 static int skcipher_setkey(void *private, const u8 *key, unsigned int keylen) in skcipher_setkey() argument 305 return crypto_skcipher_setkey(private, key, keylen); in skcipher_setkey() 311 struct af_alg_ctx *ctx = ask->private; in skcipher_sock_destruct() 314 struct crypto_skcipher *tfm = pask->private; in skcipher_sock_destruct() [all …]
|
D | algif_aead.c | 49 struct af_alg_ctx *ctx = ask->private; in aead_sufficient_data() 50 struct aead_tfm *aeadc = pask->private; in aead_sufficient_data() 67 struct aead_tfm *aeadc = pask->private; in aead_sendmsg() 95 struct af_alg_ctx *ctx = ask->private; in _aead_recvmsg() 96 struct aead_tfm *aeadc = pask->private; in _aead_recvmsg() 391 tfm = pask->private; in aead_check_key() 496 static void aead_release(void *private) in aead_release() argument 498 struct aead_tfm *tfm = private; in aead_release() 505 static int aead_setauthsize(void *private, unsigned int authsize) in aead_setauthsize() argument 507 struct aead_tfm *tfm = private; in aead_setauthsize() [all …]
|
D | algif_hash.c | 69 struct hash_ctx *ctx = ask->private; in hash_sendmsg() 136 struct hash_ctx *ctx = ask->private; in hash_sendpage() 188 struct hash_ctx *ctx = ask->private; in hash_recvmsg() 235 struct hash_ctx *ctx = ask->private; in hash_accept() 258 ctx2 = ask2->private; in hash_accept() 307 tfm = pask->private; in hash_check_key() 399 static void hash_release(void *private) in hash_release() argument 401 crypto_free_ahash(private); in hash_release() 404 static int hash_setkey(void *private, const u8 *key, unsigned int keylen) in hash_setkey() argument 406 return crypto_ahash_setkey(private, key, keylen); in hash_setkey() [all …]
|
D | af_alg.c | 110 static void alg_do_release(const struct af_alg_type *type, void *private) in alg_do_release() argument 115 type->release(private); in alg_do_release() 152 void *private; in alg_bind() local 181 private = type->bind(sa->salg_name, sa->salg_feat, sa->salg_mask); in alg_bind() 182 if (IS_ERR(private)) { in alg_bind() 184 return PTR_ERR(private); in alg_bind() 193 swap(ask->private, private); in alg_bind() 200 alg_do_release(type, private); in alg_bind() 220 err = type->setkey(ask->private, key, keylen); in alg_setkey() 260 err = type->setauthsize(ask->private, optlen); in alg_setsockopt() [all …]
|
/crypto/asymmetric_keys/ |
D | Kconfig | 26 tristate "Asymmetric TPM backed private key subtype" 33 This option provides support for TPM backed private key type handling. 35 the TPM after the private key is loaded. 48 tristate "PKCS#8 private key parser" 54 private key data and provides the ability to instantiate a crypto key 58 tristate "TPM private key parser" 63 private key data and provides the ability to instantiate a crypto key
|