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

/linux-master/drivers/crypto/bcm/
H A Dspu2.c601 * @is_inbound: true if decrypting. false if encrypting.
610 bool is_inbound, bool auth_first,
619 if ((cipher_type != SPU2_CIPHER_TYPE_NONE) && !is_inbound)
631 if (is_inbound && (auth_type != SPU2_HASH_TYPE_NONE))
644 * @is_inbound: true if decrypting. false if encrypting.
661 static void spu2_fmd_ctrl1_write(struct SPU2_FMD *fmd, bool is_inbound, argument
671 if (is_inbound && digest_size)
965 ((req_opts->is_aead && req_opts->is_inbound) ?
989 req_opts->auth_first = req_opts->is_inbound;
995 req_opts->auth_first = !req_opts->is_inbound;
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) 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) argument
[all...]
H A Dspu.c629 if (req_opts->is_aead && req_opts->is_inbound)
632 if (req_opts->is_aead && req_opts->is_inbound)
643 req_opts->is_inbound, req_opts->auth_first);
682 if (req_opts->is_inbound)
716 if (!req_opts->is_inbound) {
767 if (req_opts->is_inbound)
914 * @is_inbound: 0 encrypt, 1 decrypt
924 unsigned int is_inbound,
937 flow_log(" in: %u\n", is_inbound);
963 if (is_inbound)
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) argument
[all...]
H A Dspu.h108 bool is_inbound; member in struct:spu_request_opts
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);

Completed in 153 milliseconds