/linux-master/drivers/infiniband/sw/rxe/ |
H A D | rxe_icrc.c | 20 struct crypto_shash *tfm; local 22 tfm = crypto_alloc_shash("crc32", 0, 0); 23 if (IS_ERR(tfm)) { 25 PTR_ERR(tfm)); 26 return PTR_ERR(tfm); 29 rxe->tfm = tfm; 48 SHASH_DESC_ON_STACK(shash, rxe->tfm); 50 shash->tfm = rxe->tfm; [all...] |
/linux-master/drivers/crypto/nx/ |
H A D | nx.h | 145 int nx_crypto_ctx_aes_ccm_init(struct crypto_aead *tfm); 146 int nx_crypto_ctx_aes_gcm_init(struct crypto_aead *tfm); 147 int nx_crypto_ctx_aes_xcbc_init(struct crypto_tfm *tfm); 148 int nx_crypto_ctx_aes_ctr_init(struct crypto_skcipher *tfm); 149 int nx_crypto_ctx_aes_cbc_init(struct crypto_skcipher *tfm); 150 int nx_crypto_ctx_aes_ecb_init(struct crypto_skcipher *tfm); 151 int nx_crypto_ctx_sha_init(struct crypto_tfm *tfm); 152 void nx_crypto_ctx_exit(struct crypto_tfm *tfm); 153 void nx_crypto_ctx_skcipher_exit(struct crypto_skcipher *tfm); 154 void nx_crypto_ctx_aead_exit(struct crypto_aead *tfm); [all...] |
H A D | nx-aes-ctr.c | 22 static int ctr_aes_nx_set_key(struct crypto_skcipher *tfm, argument 26 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); 54 static int ctr3686_aes_nx_set_key(struct crypto_skcipher *tfm, argument 58 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); 69 return ctr_aes_nx_set_key(tfm, in_key, key_len); 74 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 75 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); 117 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 118 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm);
|
/linux-master/arch/powerpc/crypto/ |
H A D | aes_xts.c | 26 static int p8_aes_xts_init(struct crypto_skcipher *tfm) argument 28 struct p8_aes_xts_ctx *ctx = crypto_skcipher_ctx(tfm); 40 crypto_skcipher_set_reqsize(tfm, sizeof(struct skcipher_request) + 46 static void p8_aes_xts_exit(struct crypto_skcipher *tfm) argument 48 struct p8_aes_xts_ctx *ctx = crypto_skcipher_ctx(tfm); 53 static int p8_aes_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 56 struct p8_aes_xts_ctx *ctx = crypto_skcipher_ctx(tfm); 59 ret = xts_verify_key(tfm, key, keylen); 80 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 81 const struct p8_aes_xts_ctx *ctx = crypto_skcipher_ctx(tfm); [all...] |
H A D | aes_ctr.c | 23 static int p8_aes_ctr_init(struct crypto_skcipher *tfm) argument 25 struct p8_aes_ctr_ctx *ctx = crypto_skcipher_ctx(tfm); 37 crypto_skcipher_set_reqsize(tfm, sizeof(struct skcipher_request) + 43 static void p8_aes_ctr_exit(struct crypto_skcipher *tfm) argument 45 struct p8_aes_ctr_ctx *ctx = crypto_skcipher_ctx(tfm); 50 static int p8_aes_ctr_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 53 struct p8_aes_ctr_ctx *ctx = crypto_skcipher_ctx(tfm); 92 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 93 const struct p8_aes_ctr_ctx *ctx = crypto_skcipher_ctx(tfm);
|
/linux-master/crypto/ |
H A D | curve25519-generic.c | 9 static int curve25519_set_secret(struct crypto_kpp *tfm, const void *buf, argument 12 u8 *secret = kpp_tfm_ctx(tfm); 26 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); local 27 const u8 *secret = kpp_tfm_ctx(tfm); 57 static unsigned int curve25519_max_size(struct crypto_kpp *tfm) argument
|
H A D | arc4.c | 19 static int crypto_arc4_setkey(struct crypto_lskcipher *tfm, const u8 *in_key, argument 22 struct arc4_ctx *ctx = crypto_lskcipher_ctx(tfm); 27 static int crypto_arc4_crypt(struct crypto_lskcipher *tfm, const u8 *src, argument 30 struct arc4_ctx *ctx = crypto_lskcipher_ctx(tfm); 41 static int crypto_arc4_init(struct crypto_lskcipher *tfm) argument
|
H A D | akcipher.c | 44 static void crypto_akcipher_exit_tfm(struct crypto_tfm *tfm) argument 46 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); 52 static int crypto_akcipher_init_tfm(struct crypto_tfm *tfm) argument 54 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); 150 static int akcipher_default_set_key(struct crypto_akcipher *tfm, argument 194 unsigned int reqsize = crypto_akcipher_reqsize(data->tfm); 215 akcipher_request_set_tfm(req, data->tfm); 245 int crypto_akcipher_sync_encrypt(struct crypto_akcipher *tfm, argument 250 .tfm = tfm, 263 crypto_akcipher_sync_decrypt(struct crypto_akcipher *tfm, const void *src, unsigned int slen, void *dst, unsigned int dlen) argument 282 crypto_exit_akcipher_ops_sig(struct crypto_tfm *tfm) argument 289 crypto_init_akcipher_ops_sig(struct crypto_tfm *tfm) argument [all...] |
H A D | ctr.c | 29 struct crypto_cipher *tfm) 31 unsigned int bsize = crypto_cipher_blocksize(tfm); 32 unsigned long alignmask = crypto_cipher_alignmask(tfm); 40 crypto_cipher_encrypt_one(tfm, keystream, ctrblk); 47 struct crypto_cipher *tfm) 50 crypto_cipher_alg(tfm)->cia_encrypt; 51 unsigned int bsize = crypto_cipher_blocksize(tfm); 59 fn(crypto_cipher_tfm(tfm), dst, ctrblk); 73 struct crypto_cipher *tfm) 76 crypto_cipher_alg(tfm) 28 crypto_ctr_crypt_final(struct skcipher_walk *walk, struct crypto_cipher *tfm) argument 46 crypto_ctr_crypt_segment(struct skcipher_walk *walk, struct crypto_cipher *tfm) argument 72 crypto_ctr_crypt_inplace(struct skcipher_walk *walk, struct crypto_cipher *tfm) argument 101 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 192 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 218 crypto_rfc3686_init_tfm(struct crypto_skcipher *tfm) argument 242 crypto_rfc3686_exit_tfm(struct crypto_skcipher *tfm) argument [all...] |
H A D | ecdh.c | 21 static inline struct ecdh_ctx *ecdh_get_ctx(struct crypto_kpp *tfm) argument 23 return kpp_tfm_ctx(tfm); 26 static int ecdh_set_secret(struct crypto_kpp *tfm, const void *buf, argument 29 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); 52 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); local 53 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); 118 static unsigned int ecdh_max_size(struct crypto_kpp *tfm) argument 120 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); 126 static int ecdh_nist_p192_init_tfm(struct crypto_kpp *tfm) argument 128 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); 151 ecdh_nist_p256_init_tfm(struct crypto_kpp *tfm) argument 176 ecdh_nist_p384_init_tfm(struct crypto_kpp *tfm) argument [all...] |
H A D | crc32c_generic.c | 59 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); 72 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, argument 75 struct chksum_ctx *mctx = crypto_shash_ctx(tfm); 117 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); 122 static int crc32c_cra_init(struct crypto_tfm *tfm) argument 124 struct chksum_ctx *mctx = crypto_tfm_ctx(tfm);
|
/linux-master/drivers/crypto/cavium/zip/ |
H A D | zip_crypto.c | 199 int zip_alloc_comp_ctx_deflate(struct crypto_tfm *tfm) argument 201 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); 206 int zip_alloc_comp_ctx_lzs(struct crypto_tfm *tfm) argument 208 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); 213 void zip_free_comp_ctx(struct crypto_tfm *tfm) argument 215 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); 220 int zip_comp_compress(struct crypto_tfm *tfm, argument 224 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); 229 int zip_comp_decompress(struct crypto_tfm *tfm, argument 233 struct zip_kernel_ctx *zip_ctx = crypto_tfm_ctx(tfm); 239 zip_alloc_scomp_ctx_deflate(struct crypto_scomp *tfm) argument 258 zip_alloc_scomp_ctx_lzs(struct crypto_scomp *tfm) argument 277 zip_free_scomp_ctx(struct crypto_scomp *tfm, void *ctx) argument 285 zip_scomp_compress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 294 zip_scomp_decompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument [all...] |
/linux-master/security/keys/ |
H A D | dh.c | 69 struct crypto_shash *tfm; local 72 tfm = crypto_alloc_shash(hashname, 0, 0); 73 if (IS_ERR(tfm)) { 75 return PTR_ERR(tfm); 78 if (crypto_shash_digestsize(tfm) == 0) { 79 crypto_free_shash(tfm); 83 *hash = tfm; 134 struct crypto_kpp *tfm; local 210 tfm = crypto_alloc_kpp("dh", 0, 0); 211 if (IS_ERR(tfm)) { [all...] |
/linux-master/arch/s390/crypto/ |
H A D | aes_s390.c | 72 static int setkey_fallback_cip(struct crypto_tfm *tfm, const u8 *in_key, argument 75 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); 78 sctx->fallback.cip->base.crt_flags |= (tfm->crt_flags & 84 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, argument 87 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); 98 return setkey_fallback_cip(tfm, in_key, key_len); 105 static void crypto_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument 107 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); 116 static void crypto_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument 118 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); 128 fallback_init_cip(struct crypto_tfm *tfm) argument 145 fallback_exit_cip(struct crypto_tfm *tfm) argument 175 setkey_fallback_skcipher(struct crypto_skcipher *tfm, const u8 *key, unsigned int len) argument 201 ecb_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int key_len) argument 224 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 254 fallback_init_skcipher(struct crypto_skcipher *tfm) argument 273 fallback_exit_skcipher(struct crypto_skcipher *tfm) argument 297 cbc_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int key_len) argument 320 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 378 xts_fallback_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int len) argument 390 xts_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int key_len) argument 420 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 486 xts_fallback_init(struct crypto_skcipher *tfm) argument 504 xts_fallback_exit(struct crypto_skcipher *tfm) argument 529 ctr_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int key_len) argument 567 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 631 gcm_aes_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument 655 gcm_aes_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 828 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local [all...] |
H A D | des_s390.c | 35 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, argument 38 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); 41 err = crypto_des_verify_key(tfm, key); 49 static int des_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, argument 52 return des_setkey(crypto_skcipher_tfm(tfm), key, key_len); 55 static void s390_des_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument 57 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); 62 static void s390_des_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument 64 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); 91 struct crypto_skcipher *tfm local 110 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 200 des3_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key_len) argument 214 des3_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, unsigned int key_len) argument 220 des3_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 227 des3_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 320 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
/linux-master/arch/sparc/crypto/ |
H A D | des_glue.c | 45 static int des_set_key(struct crypto_tfm *tfm, const u8 *key, argument 48 struct des_sparc64_ctx *dctx = crypto_tfm_ctx(tfm); 55 err = crypto_des_verify_key(tfm, key); 65 static int des_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *key, argument 68 return des_set_key(crypto_skcipher_tfm(tfm), key, keylen); 74 static void sparc_des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 76 struct des_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); 82 static void sparc_des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 84 struct des_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); 97 struct crypto_skcipher *tfm local 138 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 181 des3_ede_set_key(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) argument 214 des3_ede_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 223 sparc_des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 231 sparc_des3_ede_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 246 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 292 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
H A D | camellia_glue.c | 37 static int camellia_set_key(struct crypto_tfm *tfm, const u8 *_in_key, argument 40 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); 53 static int camellia_set_key_skcipher(struct crypto_skcipher *tfm, argument 56 return camellia_set_key(crypto_skcipher_tfm(tfm), in_key, key_len); 62 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 64 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); 71 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 73 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); 90 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 91 const struct camellia_sparc64_ctx *ctx = crypto_skcipher_ctx(tfm); 140 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 169 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
/linux-master/crypto/asymmetric_keys/ |
H A D | public_key.c | 163 struct crypto_akcipher *tfm; local 214 tfm = crypto_alloc_akcipher(alg_name, 0, 0); 215 if (IS_ERR(tfm)) { 216 ret = PTR_ERR(tfm); 221 ret = crypto_akcipher_set_priv_key(tfm, key, pkey->keylen); 223 ret = crypto_akcipher_set_pub_key(tfm, key, pkey->keylen); 227 len = crypto_akcipher_maxsize(tfm); 266 crypto_free_akcipher(tfm); 281 struct crypto_akcipher *tfm; local 323 tfm 386 struct crypto_sig *tfm; local [all...] |
/linux-master/net/bluetooth/ |
H A D | ecdh_helper.c | 38 * @tfm: KPP tfm handle allocated with crypto_alloc_kpp(). 44 int compute_ecdh_secret(struct crypto_kpp *tfm, const u8 public_key[64], argument 57 req = kpp_request_alloc(tfm, GFP_KERNEL); 95 * @tfm: KPP tfm handle allocated with crypto_alloc_kpp(). 101 int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 private_key[32]) argument 128 err = crypto_kpp_set_secret(tfm, buf, buf_len); 140 * @tfm: KPP tfm handl 145 generate_ecdh_public_key(struct crypto_kpp *tfm, u8 public_key[64]) argument 194 generate_ecdh_keys(struct crypto_kpp *tfm, u8 public_key[64]) argument [all...] |
/linux-master/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-prng.c | 17 int sun8i_ce_prng_init(struct crypto_tfm *tfm) argument 19 struct sun8i_ce_rng_tfm_ctx *ctx = crypto_tfm_ctx(tfm); 25 void sun8i_ce_prng_exit(struct crypto_tfm *tfm) argument 27 struct sun8i_ce_rng_tfm_ctx *ctx = crypto_tfm_ctx(tfm); 34 int sun8i_ce_prng_seed(struct crypto_rng *tfm, const u8 *seed, argument 37 struct sun8i_ce_rng_tfm_ctx *ctx = crypto_rng_ctx(tfm); 55 int sun8i_ce_prng_generate(struct crypto_rng *tfm, const u8 *src, argument 58 struct sun8i_ce_rng_tfm_ctx *ctx = crypto_rng_ctx(tfm); 59 struct rng_alg *alg = crypto_rng_alg(tfm);
|
H A D | sun8i-ce-cipher.c | 26 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 28 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); 40 if (areq->cryptlen < crypto_skcipher_ivsize(tfm)) { 91 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 92 struct sun8i_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); 97 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); 123 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 124 struct sun8i_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); 127 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); 144 crypto_tfm_alg_name(areq->base.tfm), 306 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 350 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(breq); local 377 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 396 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 413 sun8i_ce_cipher_init(struct crypto_tfm *tfm) argument 452 sun8i_ce_cipher_exit(struct crypto_tfm *tfm) argument 461 sun8i_ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 490 sun8i_ce_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument [all...] |
/linux-master/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-prng.c | 19 int sun8i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, argument 22 struct sun8i_ss_rng_tfm_ctx *ctx = crypto_rng_ctx(tfm); 40 int sun8i_ss_prng_init(struct crypto_tfm *tfm) argument 42 struct sun8i_ss_rng_tfm_ctx *ctx = crypto_tfm_ctx(tfm); 48 void sun8i_ss_prng_exit(struct crypto_tfm *tfm) argument 50 struct sun8i_ss_rng_tfm_ctx *ctx = crypto_tfm_ctx(tfm); 57 int sun8i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src, argument 60 struct sun8i_ss_rng_tfm_ctx *ctx = crypto_rng_ctx(tfm); 61 struct rng_alg *alg = crypto_rng_alg(tfm);
|
/linux-master/net/mac80211/ |
H A D | fils_aead.c | 25 static int aes_s2v(struct crypto_shash *tfm, argument 29 SHASH_DESC_ON_STACK(desc, tfm); 32 desc->tfm = tfm; 72 struct crypto_shash *tfm; local 87 tfm = crypto_alloc_shash("cmac(aes)", 0, 0); 88 if (IS_ERR(tfm)) 89 return PTR_ERR(tfm); 91 res = crypto_shash_setkey(tfm, key, key_len); 93 res = aes_s2v(tfm, num_ele 149 struct crypto_shash *tfm; local [all...] |
/linux-master/include/crypto/internal/ |
H A D | aead.h | 37 static inline void *crypto_aead_ctx(struct crypto_aead *tfm) argument 39 return crypto_tfm_ctx(&tfm->base); 42 static inline void *crypto_aead_ctx_dma(struct crypto_aead *tfm) argument 44 return crypto_tfm_ctx_dma(&tfm->base); 146 * @tfm: cipher handle 155 static inline unsigned int crypto_aead_chunksize(struct crypto_aead *tfm) argument 157 return crypto_aead_alg_chunksize(crypto_aead_alg(tfm));
|
/linux-master/net/sunrpc/auth_gss/ |
H A D | gss_krb5_keys.c | 305 krb5_cmac_Ki(struct crypto_shash *tfm, const struct xdr_netobj *constant, argument 309 SHASH_DESC_ON_STACK(desc, tfm); 314 desc->tfm = tfm; 377 struct crypto_shash *tfm; local 386 tfm = crypto_alloc_shash(gk5e->cksum_name, 0, 0); 387 if (IS_ERR(tfm)) { 388 ret = PTR_ERR(tfm); 391 ret = crypto_shash_setkey(tfm, inkey->data, inkey->len); 395 blocksize = crypto_shash_digestsize(tfm); 444 krb5_hmac_K1(struct crypto_shash *tfm, const struct xdr_netobj *label, u32 outlen, struct xdr_netobj *K1) argument 506 struct crypto_shash *tfm; local [all...] |