/linux-master/crypto/ |
H A D | crc32c_generic.c | 60 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); local 86 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); local 94 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); local 109 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); local
|
H A D | crct10dif_generic.c | 44 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); local 54 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); local 62 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); local 77 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); local
|
H A D | cryptd.c | 230 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(parent); local 245 struct cryptd_skcipher_ctx *ctx; local 271 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); local 344 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); local 360 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); local 367 struct skcipherd_instance_ctx *ctx = skcipher_instance_ctx(inst); local 378 struct skcipherd_instance_ctx *ctx; local 435 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); local 453 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); local 466 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); local 474 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(parent); local 517 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); local 535 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); local 611 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); local 642 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(tfm); local 652 struct hashd_instance_ctx *ctx = ahash_instance_ctx(inst); local 662 struct hashd_instance_ctx *ctx; local 722 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); local 731 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); local 744 struct cryptd_aead_ctx *ctx; local 787 struct cryptd_aead_ctx *ctx; local 799 struct cryptd_aead_ctx *ctx; local 838 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(tfm); local 854 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(tfm); local 860 struct aead_instance_ctx *ctx = aead_instance_ctx(inst); local 871 struct aead_instance_ctx *ctx; local 953 struct cryptd_skcipher_ctx *ctx; local 978 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(&tfm->base); local 986 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(&tfm->base); local 994 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(&tfm->base); local 1005 struct cryptd_hash_ctx *ctx; local 1028 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); local 1043 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); local 1051 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); local 1062 struct cryptd_aead_ctx *ctx; local 1085 struct cryptd_aead_ctx *ctx; local 1093 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(&tfm->base); local 1101 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(&tfm->base); local [all...] |
H A D | ctr.c | 172 struct crypto_rfc3686_ctx *ctx = crypto_skcipher_ctx(parent); local 193 struct crypto_rfc3686_ctx *ctx = crypto_skcipher_ctx(tfm); local 222 struct crypto_rfc3686_ctx *ctx = crypto_skcipher_ctx(tfm); local 244 struct crypto_rfc3686_ctx *ctx = crypto_skcipher_ctx(tfm); local [all...] |
H A D | cts.c | 69 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); local 79 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(parent); local 147 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); local 241 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); local 287 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); local 313 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(tfm); local [all...] |
H A D | deflate.c | 42 static int deflate_comp_init(struct deflate_ctx *ctx) argument 67 static int deflate_decomp_init(struct deflate_ctx *ctx) argument 89 static void deflate_comp_exit(struct deflate_ctx *ctx) argument 95 static void deflate_decomp_exit(struct deflate_ctx *ctx) argument 101 __deflate_init(void *ctx) argument 117 struct deflate_ctx *ctx; local 135 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); local 140 __deflate_exit(void *ctx) argument 146 deflate_free_ctx(struct crypto_scomp *tfm, void *ctx) argument 154 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); local 159 __deflate_compress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 196 deflate_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 203 __deflate_decompress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 252 deflate_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument [all...] |
H A D | dh.c | 22 static void dh_clear_ctx(struct dh_ctx *ctx) argument 36 static int _compute_val(const struct dh_ctx *ctx, MPI base, MPI val) argument 55 static int dh_set_params(struct dh_ctx *ctx, struc argument 74 struct dh_ctx *ctx = dh_get_ctx(tfm); local 107 dh_is_pubkey_valid(struct dh_ctx *ctx, MPI y) argument 170 struct dh_ctx *ctx = dh_get_ctx(tfm); local 253 struct dh_ctx *ctx = dh_get_ctx(tfm); local 260 struct dh_ctx *ctx = dh_get_ctx(tfm); local 300 struct dh_safe_prime_instance_ctx *ctx = kpp_instance_ctx(inst); local 556 struct dh_safe_prime_instance_ctx *ctx; local [all...] |
H A D | drbg.c | 1660 char ctx[]; member in struct:sdesc
|
H A D | ecb.c | 37 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); local 48 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); local 59 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); local 71 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); local 86 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); local [all...] |
H A D | ecdh.c | 29 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); local 53 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); local 120 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); local 128 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); local 153 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); local 178 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); local [all...] |
H A D | ecdsa.c | 94 static int _ecdsa_verify(struct ecc_ctx *ctx, const u64 *hash, const u64 *r, const u64 *s) argument 140 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); local 188 static int ecdsa_ecc_ctx_init(struct ecc_ctx *ctx, unsigne argument 199 ecdsa_ecc_ctx_deinit(struct ecc_ctx *ctx) argument 204 ecdsa_ecc_ctx_reset(struct ecc_ctx *ctx) argument 224 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); local 256 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); local 263 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); local 270 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); local 292 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); local 314 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); local [all...] |
H A D | echainiv.c | 29 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); local 88 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); local
|
H A D | ecrdsa.c | 74 struct ecrdsa_ctx *ctx = akcipher_tfm_ctx(tfm); local 153 struct ecrdsa_ctx *ctx = context; local 166 struct ecrdsa_ctx *ctx = context; local 177 struct ecrdsa_ctx *ctx = context; local 194 struct ecrdsa_ctx *ctx = akcipher_tfm_ctx(tfm); local 254 struct ecrdsa_ctx *ctx = akcipher_tfm_ctx(tfm); local [all...] |
H A D | fcrypt.c | 235 const struct fcrypt_ctx *ctx = crypto_tfm_ctx(tfm); local 267 const struct fcrypt_ctx *ctx = crypto_tfm_ctx(tfm); local 302 struct fcrypt_ctx *ctx = crypto_tfm_ctx(tfm); local [all...] |
H A D | gcm.c | 95 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); local 181 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); local 400 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); local 523 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); local 559 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); local 567 struct gcm_instance_ctx *ctx = aead_instance_ctx(inst); local 582 struct gcm_instance_ctx *ctx; local 690 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); local 708 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); local 722 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(aead); local 789 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); local 812 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); local 898 struct crypto_rfc4543_ctx *ctx = crypto_aead_ctx(parent); local 916 struct crypto_rfc4543_ctx *ctx = crypto_aead_ctx(parent); local 927 struct crypto_rfc4543_ctx *ctx = crypto_aead_ctx(aead); local 958 struct crypto_rfc4543_ctx *ctx = crypto_aead_ctx(aead); local 988 struct crypto_rfc4543_ctx *ctx = crypto_aead_ctx(tfm); local 1023 struct crypto_rfc4543_ctx *ctx = crypto_aead_ctx(tfm); local 1031 struct crypto_rfc4543_instance_ctx *ctx = aead_instance_ctx(inst); local 1044 struct crypto_rfc4543_instance_ctx *ctx; local [all...] |
H A D | geniv.c | 22 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); local 30 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); local 111 struct aead_geniv_ctx *ctx = crypto_aead_ctx(aead); local 155 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); local [all...] |
H A D | ghash-generic.c | 58 struct ghash_ctx *ctx = crypto_shash_ctx(tfm); local 82 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); local 115 static void ghash_flush(struct ghash_ctx *ctx, struct ghash_desc_ctx *dctx) argument 134 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm); local 145 struct ghash_ctx *ctx = crypto_tfm_ctx(tfm); local [all...] |
H A D | khazad.c | 759 struct khazad_ctx *ctx = crypto_tfm_ctx(tfm); local 839 struct khazad_ctx *ctx local 845 struct khazad_ctx *ctx = crypto_tfm_ctx(tfm); local [all...] |
H A D | lrw.c | 71 struct lrw_tfm_ctx *ctx = crypto_skcipher_ctx(parent); local 144 const struct lrw_tfm_ctx *ctx local 224 const struct lrw_tfm_ctx *ctx = local 269 struct lrw_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); local 286 struct lrw_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); local [all...] |
H A D | lskcipher.c | 205 struct crypto_lskcipher **ctx = crypto_skcipher_ctx(skcipher); local 244 struct crypto_lskcipher **ctx = crypto_skcipher_ctx(skcipher); local 253 struct crypto_lskcipher **ctx = crypto_skcipher_ctx(skcipher); local 366 struct crypto_lskcipher **ctx = crypto_tfm_ctx(tfm); local 373 struct crypto_lskcipher **ctx = crypto_tfm_ctx(tfm); local 504 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm); local 519 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm); local [all...] |
H A D | md5.c | 123 static inline void md5_transform_helper(struct md5_state *ctx) argument 204 struct md5_state *ctx = shash_desc_ctx(desc); local 212 struct md5_state *ctx = shash_desc_ctx(desc); local [all...] |
H A D | michael_mic.c | 50 struct michael_mic_ctx *ctx = crypto_shash_ctx(desc->tfm); local
|
H A D | nhpoly1305.c | 128 struct nhpoly1305_key *ctx = crypto_shash_ctx(tfm); local
|
H A D | pcrypt.c | 45 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); local 53 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); local 99 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); local 148 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); local 180 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); local 205 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); local 212 struct pcrypt_instance_ctx *ctx = aead_instance_ctx(inst); local 239 struct pcrypt_instance_ctx *ctx; local [all...] |
H A D | polyval-generic.c | 122 struct polyval_tfm_ctx *ctx = crypto_shash_ctx(tfm); local 156 const struct polyval_tfm_ctx *ctx = crypto_shash_ctx(desc->tfm); local 196 const struct polyval_tfm_ctx *ctx = crypto_shash_ctx(desc->tfm); local 206 struct polyval_tfm_ctx *ctx local [all...] |