Lines Matching refs:safexcel_cipher_ctx

34 struct safexcel_cipher_ctx {  struct
57 static void safexcel_skcipher_token(struct safexcel_cipher_ctx *ctx, u8 *iv, in safexcel_skcipher_token() argument
96 static void safexcel_aead_token(struct safexcel_cipher_ctx *ctx, u8 *iv, in safexcel_aead_token()
156 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_skcipher_aes_setkey()
189 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_aead_aes_setkey()
261 static int safexcel_context_control(struct safexcel_cipher_ctx *ctx, in safexcel_context_control()
378 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_send_req()
506 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_handle_inv_result()
605 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_cipher_send_inv()
623 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in safexcel_skcipher_send()
644 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in safexcel_aead_send()
666 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_cipher_exit_inv()
730 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(base->tfm); in safexcel_queue_req()
781 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_skcipher_cra_init()
798 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_cipher_cra_exit()
812 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_skcipher_cra_exit()
832 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_aead_cra_exit()
866 .cra_ctxsize = sizeof(struct safexcel_cipher_ctx),
906 .cra_ctxsize = sizeof(struct safexcel_cipher_ctx),
933 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_des_setkey()
976 .cra_ctxsize = sizeof(struct safexcel_cipher_ctx),
1016 .cra_ctxsize = sizeof(struct safexcel_cipher_ctx),
1043 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_des3_ede_setkey()
1080 .cra_ctxsize = sizeof(struct safexcel_cipher_ctx),
1120 .cra_ctxsize = sizeof(struct safexcel_cipher_ctx),
1147 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_aead_cra_init()
1165 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_aead_sha1_cra_init()
1189 .cra_ctxsize = sizeof(struct safexcel_cipher_ctx),
1200 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_aead_sha256_cra_init()
1224 .cra_ctxsize = sizeof(struct safexcel_cipher_ctx),
1235 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_aead_sha224_cra_init()
1259 .cra_ctxsize = sizeof(struct safexcel_cipher_ctx),
1270 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_aead_sha512_cra_init()
1294 .cra_ctxsize = sizeof(struct safexcel_cipher_ctx),
1305 struct safexcel_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in safexcel_aead_sha384_cra_init()
1329 .cra_ctxsize = sizeof(struct safexcel_cipher_ctx),