Lines Matching defs:ctx
359 static void hw_hash_clean_ctx(struct rk_hash_ctx *ctx) in hw_hash_clean_ctx()
516 int rk_hash_update(void *ctx, const u8 *data, u32 data_len) in rk_hash_update()
539 int rk_hash_final(void *ctx, u8 *digest, size_t len) in rk_hash_final()
598 static int rockchip_crypto_sha_init(struct udevice *dev, sha_context *ctx) in rockchip_crypto_sha_init()
657 sha_context *ctx, u8 *output) in rockchip_crypto_sha_final()
705 sha_context *ctx, u8 *key, u32 key_len) in rockchip_crypto_hmac_init()
740 sha_context *ctx, u8 *output) in rockchip_crypto_hmac_final()
1293 int rockchip_crypto_cipher(struct udevice *dev, cipher_context *ctx, in rockchip_crypto_cipher()
1353 int rockchip_crypto_mac(struct udevice *dev, cipher_context *ctx, in rockchip_crypto_mac()
1400 int rockchip_crypto_ae(struct udevice *dev, cipher_context *ctx, in rockchip_crypto_ae()
1418 int rockchip_crypto_fw_cipher(struct udevice *dev, cipher_fw_context *ctx, in rockchip_crypto_fw_cipher()
1456 static int rockchip_crypto_rsa_verify(struct udevice *dev, rsa_key *ctx, in rockchip_crypto_rsa_verify()
1517 static int rockchip_crypto_ec_verify(struct udevice *dev, ec_key *ctx, in rockchip_crypto_ec_verify()