Searched refs:nx_crypto_ctx_init (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/crypto/nx/ |
H A D | nx.c | 654 static int nx_crypto_ctx_init(struct nx_crypto_ctx *nx_ctx, u32 fc, u32 mode) in nx_crypto_ctx_init() function 698 return nx_crypto_ctx_init(crypto_aead_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_ccm_init() 705 return nx_crypto_ctx_init(crypto_aead_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_gcm_init() 711 return nx_crypto_ctx_init(crypto_skcipher_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_ctr_init() 717 return nx_crypto_ctx_init(crypto_skcipher_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_cbc_init() 723 return nx_crypto_ctx_init(crypto_skcipher_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_ecb_init() 729 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_SHA, NX_MODE_SHA); in nx_crypto_ctx_sha_init() 734 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_xcbc_init()
|