Lines Matching defs:kaes
31 struct crypto_cipher *kaes;
825 crypto_cipher_encrypt_one(ctx->kaes, areq->result, areq->result);
2093 crypto_cipher_clear_flags(ctx->kaes, CRYPTO_TFM_REQ_MASK);
2094 crypto_cipher_set_flags(ctx->kaes, crypto_ahash_get_flags(tfm) &
2096 ret = crypto_cipher_setkey(ctx->kaes, key, len);
2100 crypto_cipher_encrypt_one(ctx->kaes, (u8 *)key_tmp + 2 * AES_BLOCK_SIZE,
2102 crypto_cipher_encrypt_one(ctx->kaes, (u8 *)key_tmp,
2104 crypto_cipher_encrypt_one(ctx->kaes, (u8 *)key_tmp + AES_BLOCK_SIZE,
2109 crypto_cipher_clear_flags(ctx->kaes, CRYPTO_TFM_REQ_MASK);
2110 crypto_cipher_set_flags(ctx->kaes, crypto_ahash_get_flags(tfm) &
2112 ret = crypto_cipher_setkey(ctx->kaes,
2131 ctx->kaes = crypto_alloc_cipher("aes", 0, 0);
2132 return PTR_ERR_OR_ZERO(ctx->kaes);
2139 crypto_free_cipher(ctx->kaes);
2193 crypto_cipher_clear_flags(ctx->kaes, CRYPTO_TFM_REQ_MASK);
2194 crypto_cipher_set_flags(ctx->kaes, crypto_ahash_get_flags(tfm) &
2196 ret = crypto_cipher_setkey(ctx->kaes, key, len);
2203 crypto_cipher_encrypt_one(ctx->kaes, (u8 *)consts, (u8 *)consts);