Home
last modified time | relevance | path

Searched refs:cipher_ctx (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/crypto/rockchip/
H A Dcrypto_ce.c917 cipher_context cipher_ctx; in rockchip_crypto_fw_cipher() local
919 memset(&cipher_ctx, 0x00, sizeof(cipher_ctx)); in rockchip_crypto_fw_cipher()
921 cipher_ctx.algo = ctx->algo; in rockchip_crypto_fw_cipher()
922 cipher_ctx.mode = ctx->mode; in rockchip_crypto_fw_cipher()
923 cipher_ctx.key_len = ctx->key_len; in rockchip_crypto_fw_cipher()
924 cipher_ctx.iv = ctx->iv; in rockchip_crypto_fw_cipher()
925 cipher_ctx.iv_len = ctx->iv_len; in rockchip_crypto_fw_cipher()
927 return rk_crypto_cipher(dev, &cipher_ctx, in, out, len, enc, NULL, 0, NULL); in rockchip_crypto_fw_cipher()
/rk3399_rockchip-uboot/tools/
H A Dmxsimage.c177 EVP_CIPHER_CTX *cipher_ctx; member
217 ictx->cipher_ctx = ctx; in sb_aes_init()
225 EVP_CIPHER_CTX *ctx = ictx->cipher_ctx; in sb_aes_crypt()
256 EVP_CIPHER_CTX *ctx = ictx->cipher_ctx; in sb_aes_reinit()
434 sb_aes_deinit(ictx->cipher_ctx); in sb_encrypt_image()
2122 sb_aes_deinit(ictx->cipher_ctx); in sb_build_tree_from_img()