Home
last modified time | relevance | path

Searched refs:cipher_parms (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/crypto/bcm/
Dspu.c608 struct spu_cipher_parms *cipher_parms, in spum_create_request() argument
665 spu_alg_name(cipher_parms->alg, cipher_parms->mode), in spum_create_request()
666 cipher_parms->alg, cipher_parms->mode, cipher_parms->type); in spum_create_request()
667 flow_log(" key: %d\n", cipher_parms->key_len); in spum_create_request()
668 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spum_create_request()
669 flow_log(" iv: %d\n", cipher_parms->iv_len); in spum_create_request()
670 flow_dump(" iv: ", cipher_parms->iv_buf, cipher_parms->iv_len); in spum_create_request()
708 cipher_bits |= cipher_parms->alg << CIPHER_ALG_SHIFT; in spum_create_request()
709 cipher_bits |= cipher_parms->mode << CIPHER_MODE_SHIFT; in spum_create_request()
710 cipher_bits |= cipher_parms->type << CIPHER_TYPE_SHIFT; in spum_create_request()
[all …]
Dspu2.c952 struct spu_cipher_parms *cipher_parms, in spu2_create_request() argument
991 (cipher_parms->alg == CIPHER_ALG_AES) && in spu2_create_request()
992 (cipher_parms->mode == CIPHER_MODE_GCM)) in spu2_create_request()
1001 (cipher_parms->alg == CIPHER_ALG_AES) && in spu2_create_request()
1002 (cipher_parms->mode == CIPHER_MODE_CCM)) in spu2_create_request()
1008 flow_log(" cipher alg:%u mode:%u type %u\n", cipher_parms->alg, in spu2_create_request()
1009 cipher_parms->mode, cipher_parms->type); in spu2_create_request()
1011 flow_log(" key: %d\n", cipher_parms->key_len); in spu2_create_request()
1012 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spu2_create_request()
1013 flow_log(" iv: %d\n", cipher_parms->iv_len); in spu2_create_request()
[all …]
Dspu2.h205 struct spu_cipher_parms *cipher_parms,
209 u16 spu2_cipher_req_init(u8 *spu_hdr, struct spu_cipher_parms *cipher_parms);
213 struct spu_cipher_parms *cipher_parms,
224 struct spu_cipher_parms *cipher_parms,
Dspu.h254 struct spu_cipher_parms *cipher_parms,
259 u16 spum_cipher_req_init(u8 *spu_hdr, struct spu_cipher_parms *cipher_parms);
264 struct spu_cipher_parms *cipher_parms,
281 struct spu_cipher_parms *cipher_parms,
Dcipher.h392 struct spu_cipher_parms *cipher_parms,
397 struct spu_cipher_parms *cipher_parms);
401 struct spu_cipher_parms *cipher_parms,
413 struct spu_cipher_parms *cipher_parms,
Dcipher.c321 struct spu_cipher_parms cipher_parms; in handle_ablkcipher_req() local
340 cipher_parms.alg = ctx->cipher.alg; in handle_ablkcipher_req()
341 cipher_parms.mode = ctx->cipher.mode; in handle_ablkcipher_req()
342 cipher_parms.type = ctx->cipher_type; in handle_ablkcipher_req()
343 cipher_parms.key_len = ctx->enckeylen; in handle_ablkcipher_req()
344 cipher_parms.key_buf = ctx->enckey; in handle_ablkcipher_req()
345 cipher_parms.iv_buf = local_iv_ctr; in handle_ablkcipher_req()
346 cipher_parms.iv_len = rctx->iv_ctr_len; in handle_ablkcipher_req()
412 cipher_parms.key_buf = rctx->msg_buf.c.supdt_tweak; in handle_ablkcipher_req()
414 cipher_parms.type = CIPHER_TYPE_UPDT; in handle_ablkcipher_req()
[all …]