Searched refs:crypto_skcipher (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/include/crypto/ |
D | skcipher.h | 55 struct crypto_skcipher { struct 56 int (*setkey)(struct crypto_skcipher *tfm, const u8 *key, argument 180 static inline struct crypto_skcipher *__crypto_skcipher_cast( in __crypto_skcipher_cast() 183 return container_of(tfm, struct crypto_skcipher, base); in __crypto_skcipher_cast() 200 struct crypto_skcipher *crypto_alloc_skcipher(const char *alg_name, 204 struct crypto_skcipher *tfm) in crypto_skcipher_tfm() 213 static inline void crypto_free_skcipher(struct crypto_skcipher *tfm) in crypto_free_skcipher() 244 static inline unsigned int crypto_skcipher_ivsize(struct crypto_skcipher *tfm) in crypto_skcipher_ivsize() 260 struct crypto_skcipher *tfm) in crypto_skcipher_blocksize() 266 struct crypto_skcipher *tfm) in crypto_skcipher_alignmask() [all …]
|
/linux-4.4.14/crypto/ |
D | skcipher.c | 34 static int skcipher_setkey_blkcipher(struct crypto_skcipher *tfm, in skcipher_setkey_blkcipher() 57 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in skcipher_crypt_blkcipher() 71 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in skcipher_encrypt_blkcipher() 80 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in skcipher_decrypt_blkcipher() 97 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); in crypto_init_skcipher_ops_blkcipher() 126 static int skcipher_setkey_ablkcipher(struct crypto_skcipher *tfm, in skcipher_setkey_ablkcipher() 148 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in skcipher_crypt_ablkcipher() 163 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in skcipher_encrypt_ablkcipher() 172 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in skcipher_decrypt_ablkcipher() 189 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); in crypto_init_skcipher_ops_ablkcipher() [all …]
|
D | algif_skcipher.c | 35 struct crypto_skcipher *skcipher; 302 struct crypto_skcipher *tfm = skc->skcipher; in skcipher_sendmsg() 508 struct crypto_skcipher *tfm = skc->skcipher; in skcipher_recvmsg_async() 644 struct crypto_skcipher *tfm = skc->skcipher; in skcipher_recvmsg_sync() 859 struct crypto_skcipher *skcipher; in skcipher_bind() 909 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(&ctx->req); in skcipher_sock_destruct() 925 struct crypto_skcipher *skcipher = tfm->skcipher; in skcipher_accept_parent_nokey()
|
D | testmgr.c | 925 static int __test_skcipher(struct crypto_skcipher *tfm, int enc, in __test_skcipher() 1183 static int test_skcipher(struct crypto_skcipher *tfm, int enc, in test_skcipher() 1595 struct crypto_skcipher *tfm; in alg_test_skcipher()
|
/linux-4.4.14/include/crypto/internal/ |
D | skcipher.h | 110 static inline void *crypto_skcipher_ctx(struct crypto_skcipher *tfm) in crypto_skcipher_ctx()
|