Searched refs:crypto_cipher (Results 1 – 5 of 5) sorted by relevance
/linux/include/crypto/internal/ |
H A D | cipher.h | 16 struct crypto_cipher { struct 37 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast() argument 39 return (struct crypto_cipher *)tfm; in __crypto_cipher_cast() 56 static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name, in crypto_alloc_cipher() 66 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm() 75 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher() 109 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize() 114 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask() 119 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tfm) in crypto_cipher_get_flags() 124 static inline void crypto_cipher_set_flags(struct crypto_cipher *tfm, in crypto_cipher_set_flags() [all …]
|
/linux/crypto/ |
H A D | cipher.c | 20 static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key, in setkey_unaligned() 42 int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey() 58 static inline void cipher_crypt_one(struct crypto_cipher *tfm, in cipher_crypt_one() 79 void crypto_cipher_encrypt_one(struct crypto_cipher *tfm, in crypto_cipher_encrypt_one() 86 void crypto_cipher_decrypt_one(struct crypto_cipher *tfm, in crypto_cipher_decrypt_one() 93 struct crypto_cipher *crypto_clone_cipher(struct crypto_cipher *cipher) in crypto_clone_cipher() 97 struct crypto_cipher *ncipher; in crypto_clone_cipher()
|
H A D | testmgr.c | 2719 static int test_cipher(struct crypto_cipher *tfm, int enc, in test_cipher() 3511 struct crypto_cipher *tfm; in alg_test_cipher()
|
/linux/tools/testing/selftests/bpf/benchs/ |
H A D | bench_bpf_crypto.c | 17 char *crypto_cipher; member 20 .crypto_cipher = "ecb(aes)", 49 args.crypto_cipher = strdup(arg); in crypto_parse_arg() 50 if (!strlen(args.crypto_cipher) || in crypto_parse_arg() 51 strlen(args.crypto_cipher) > MAX_CIPHER_LEN) { in crypto_parse_arg() 99 snprintf(ctx.skel->bss->cipher, 128, "%s", args.crypto_cipher); in crypto_setup()
|
/linux/drivers/crypto/ |
H A D | geode-aes.h | 53 struct crypto_cipher *cip;
|