Lines Matching refs:ctx
105 int (*sha_init)(struct udevice *dev, sha_context *ctx);
107 int (*sha_final)(struct udevice *dev, sha_context *ctx, u8 *output);
110 int (*rsa_verify)(struct udevice *dev, rsa_key *ctx,
114 int (*ec_verify)(struct udevice *dev, ec_key *ctx,
118 int (*hmac_init)(struct udevice *dev, sha_context *ctx,
121 int (*hmac_final)(struct udevice *dev, sha_context *ctx, u8 *output);
124 int (*cipher_crypt)(struct udevice *dev, cipher_context *ctx,
128 int (*cipher_mac)(struct udevice *dev, cipher_context *ctx,
132 int (*cipher_ae)(struct udevice *dev, cipher_context *ctx,
137 int (*cipher_fw_crypt)(struct udevice *dev, cipher_fw_context *ctx,
169 int crypto_sha_init(struct udevice *dev, sha_context *ctx);
191 int crypto_sha_final(struct udevice *dev, sha_context *ctx, u8 *output);
204 int crypto_sha_csum(struct udevice *dev, sha_context *ctx,
218 int crypto_sha_regions_csum(struct udevice *dev, sha_context *ctx,
232 int crypto_rsa_verify(struct udevice *dev, rsa_key *ctx, u8 *sign, u8 *output);
245 int crypto_ec_verify(struct udevice *dev, ec_key *ctx, u8 *hash, u32 hash_len, u8 *sign);
255 int crypto_hmac_init(struct udevice *dev, sha_context *ctx,
278 int crypto_hmac_final(struct udevice *dev, sha_context *ctx, u8 *output);
291 int crypto_cipher(struct udevice *dev, cipher_context *ctx,
304 int crypto_mac(struct udevice *dev, cipher_context *ctx,
320 int crypto_ae(struct udevice *dev, cipher_context *ctx,
335 int crypto_fw_cipher(struct udevice *dev, cipher_fw_context *ctx,