• Home
  • Raw
  • Download

Lines Matching refs:cipher

1511 static int ablkcipher_setkey(struct crypto_ablkcipher *cipher,  in ablkcipher_setkey()  argument
1514 struct talitos_ctx *ctx = crypto_ablkcipher_ctx(cipher); in ablkcipher_setkey()
1518 crypto_ablkcipher_set_flags(cipher, CRYPTO_TFM_RES_BAD_KEY_LEN); in ablkcipher_setkey()
1522 if (unlikely(crypto_ablkcipher_get_flags(cipher) & in ablkcipher_setkey()
1525 crypto_ablkcipher_set_flags(cipher, CRYPTO_TFM_RES_WEAK_KEY); in ablkcipher_setkey()
1535 static int ablkcipher_aes_setkey(struct crypto_ablkcipher *cipher, in ablkcipher_aes_setkey() argument
1540 return ablkcipher_setkey(cipher, key, keylen); in ablkcipher_aes_setkey()
1542 crypto_ablkcipher_set_flags(cipher, CRYPTO_TFM_RES_BAD_KEY_LEN); in ablkcipher_aes_setkey()
1567 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_done() local
1568 struct talitos_ctx *ctx = crypto_ablkcipher_ctx(cipher); in ablkcipher_done()
1569 unsigned int ivsize = crypto_ablkcipher_ivsize(cipher); in ablkcipher_done()
1588 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in common_nonsnoop() local
1589 struct talitos_ctx *ctx = crypto_ablkcipher_ctx(cipher); in common_nonsnoop()
1593 unsigned int ivsize = crypto_ablkcipher_ivsize(cipher); in common_nonsnoop()
1661 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_edesc_alloc() local
1662 struct talitos_ctx *ctx = crypto_ablkcipher_ctx(cipher); in ablkcipher_edesc_alloc()
1663 unsigned int ivsize = crypto_ablkcipher_ivsize(cipher); in ablkcipher_edesc_alloc()
1672 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_encrypt() local
1673 struct talitos_ctx *ctx = crypto_ablkcipher_ctx(cipher); in ablkcipher_encrypt()
1676 crypto_tfm_alg_blocksize(crypto_ablkcipher_tfm(cipher)); in ablkcipher_encrypt()
1697 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_decrypt() local
1698 struct talitos_ctx *ctx = crypto_ablkcipher_ctx(cipher); in ablkcipher_decrypt()
1701 crypto_tfm_alg_blocksize(crypto_ablkcipher_tfm(cipher)); in ablkcipher_decrypt()