Lines Matching defs:tfm

122 /*! \fn int aes_set_key (struct crypto_tfm *tfm, const uint8_t *in_key, unsigned int key_len)
125 * \param tfm linux crypto algo transform
130 int aes_set_key (struct crypto_tfm *tfm, const u8 *in_key, unsigned int key_len)
132 struct aes_ctx *ctx = crypto_tfm_ctx(tfm);
133 unsigned long *flags = (unsigned long *) &tfm->crt_flags;
265 * \fn int ctr_rfc3686_aes_set_key (struct crypto_tfm *tfm, const uint8_t *in_key, unsigned int key_len)
268 * \param tfm linux crypto algo transform
274 int ctr_rfc3686_aes_set_key (struct crypto_tfm *tfm, const uint8_t *in_key, unsigned int key_len)
276 struct aes_ctx *ctx = crypto_tfm_ctx(tfm);
277 unsigned long *flags = (unsigned long *)&tfm->crt_flags;
404 /*! \fn void aes_encrypt (struct crypto_tfm *tfm, uint8_t *out, const uint8_t *in)
407 * \param tfm linux crypto algo transform
411 void aes_encrypt (struct crypto_tfm *tfm, uint8_t *out, const uint8_t *in)
413 struct aes_ctx *ctx = crypto_tfm_ctx(tfm);
418 /*! \fn void aes_decrypt (struct crypto_tfm *tfm, uint8_t *out, const uint8_t *in)
421 * \param tfm linux crypto algo transform
425 void aes_decrypt (struct crypto_tfm *tfm, uint8_t *out, const uint8_t *in)
427 struct aes_ctx *ctx = crypto_tfm_ctx(tfm);
467 struct aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
498 struct aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
553 struct aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
585 struct aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
642 struct aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
674 struct aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
731 struct aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
771 struct aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);