Home
last modified time | relevance | path

Searched refs:is_inbound (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/bcm/
H A Dspu2.c600 * @is_inbound: true if decrypting. false if encrypting.
609 bool is_inbound, bool auth_first, in spu2_fmd_ctrl0_write()
618 if ((cipher_type != SPU2_CIPHER_TYPE_NONE) && !is_inbound) in spu2_fmd_ctrl0_write()
630 if (is_inbound && (auth_type != SPU2_HASH_TYPE_NONE)) in spu2_fmd_ctrl0_write()
659 static void spu2_fmd_ctrl1_write(struct SPU2_FMD *fmd, bool is_inbound, in spu2_fmd_ctrl1_write() argument
669 if (is_inbound && digest_size) in spu2_fmd_ctrl1_write()
960 ((req_opts->is_aead && req_opts->is_inbound) ? in spu2_create_request()
986 req_opts->auth_first = req_opts->is_inbound; in spu2_create_request()
992 req_opts->auth_first = !req_opts->is_inbound; in spu2_create_request()
996 req_opts->is_inbound, req_opt in spu2_create_request()
608 spu2_fmd_ctrl0_write(struct SPU2_FMD *fmd, bool is_inbound, bool auth_first, enum spu2_proto_sel protocol, enum spu2_cipher_type cipher_type, enum spu2_cipher_mode cipher_mode, enum spu2_hash_type auth_type, enum spu2_hash_mode auth_mode) spu2_fmd_ctrl0_write() argument
1179 spu2_cipher_req_finish(u8 *spu_hdr, u16 spu_req_hdr_len, unsigned int is_inbound, struct spu_cipher_parms *cipher_parms, unsigned int data_size) spu2_cipher_req_finish() argument
[all...]
H A Dspu.c631 if (req_opts->is_aead && req_opts->is_inbound) in spum_create_request()
634 if (req_opts->is_aead && req_opts->is_inbound) in spum_create_request()
645 req_opts->is_inbound, req_opts->auth_first); in spum_create_request()
684 if (req_opts->is_inbound) in spum_create_request()
718 if (!req_opts->is_inbound) { in spum_create_request()
769 if (req_opts->is_inbound) in spum_create_request()
926 unsigned int is_inbound, in spum_cipher_req_finish()
939 flow_log(" in: %u\n", is_inbound); in spum_cipher_req_finish()
965 if (is_inbound) in spum_cipher_req_finish()
924 spum_cipher_req_finish(u8 *spu_hdr, u16 spu_req_hdr_len, unsigned int is_inbound, struct spu_cipher_parms *cipher_parms, unsigned int data_size) spum_cipher_req_finish() argument
H A Dspu.h107 bool is_inbound; member
252 unsigned int is_inbound,
H A Dspu2.h201 unsigned int is_inbound,
H A Dcipher.h389 unsigned int is_inbound,
H A Dcipher.c1298 req_opts.is_inbound = !(rctx->is_encrypt); in handle_aead_req()
/kernel/linux/linux-6.6/drivers/crypto/bcm/
H A Dspu2.c601 * @is_inbound: true if decrypting. false if encrypting.
610 bool is_inbound, bool auth_first, in spu2_fmd_ctrl0_write()
619 if ((cipher_type != SPU2_CIPHER_TYPE_NONE) && !is_inbound) in spu2_fmd_ctrl0_write()
631 if (is_inbound && (auth_type != SPU2_HASH_TYPE_NONE)) in spu2_fmd_ctrl0_write()
644 * @is_inbound: true if decrypting. false if encrypting.
661 static void spu2_fmd_ctrl1_write(struct SPU2_FMD *fmd, bool is_inbound, in spu2_fmd_ctrl1_write() argument
671 if (is_inbound && digest_size) in spu2_fmd_ctrl1_write()
965 ((req_opts->is_aead && req_opts->is_inbound) ? in spu2_create_request()
989 req_opts->auth_first = req_opts->is_inbound; in spu2_create_request()
995 req_opts->auth_first = !req_opts->is_inbound; in spu2_create_request()
609 spu2_fmd_ctrl0_write(struct SPU2_FMD *fmd, bool is_inbound, bool auth_first, enum spu2_proto_sel protocol, enum spu2_cipher_type cipher_type, enum spu2_cipher_mode cipher_mode, enum spu2_hash_type auth_type, enum spu2_hash_mode auth_mode) spu2_fmd_ctrl0_write() argument
1182 spu2_cipher_req_finish(u8 *spu_hdr, u16 spu_req_hdr_len, unsigned int is_inbound, struct spu_cipher_parms *cipher_parms, unsigned int data_size) spu2_cipher_req_finish() argument
[all...]
H A Dspu.c629 if (req_opts->is_aead && req_opts->is_inbound) in spum_create_request()
632 if (req_opts->is_aead && req_opts->is_inbound) in spum_create_request()
643 req_opts->is_inbound, req_opts->auth_first); in spum_create_request()
682 if (req_opts->is_inbound) in spum_create_request()
716 if (!req_opts->is_inbound) { in spum_create_request()
767 if (req_opts->is_inbound) in spum_create_request()
914 * @is_inbound: 0 encrypt, 1 decrypt
924 unsigned int is_inbound, in spum_cipher_req_finish()
937 flow_log(" in: %u\n", is_inbound); in spum_cipher_req_finish()
963 if (is_inbound) in spum_cipher_req_finish()
922 spum_cipher_req_finish(u8 *spu_hdr, u16 spu_req_hdr_len, unsigned int is_inbound, struct spu_cipher_parms *cipher_parms, unsigned int data_size) spum_cipher_req_finish() argument
[all...]
H A Dspu.h108 bool is_inbound; member
253 unsigned int is_inbound,
H A Dspu2.h201 unsigned int is_inbound,
H A Dcipher.h387 unsigned int is_inbound,
H A Dcipher.c1295 req_opts.is_inbound = !(rctx->is_encrypt); in handle_aead_req()

Completed in 20 milliseconds