Searched refs:hash_parms (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/drivers/crypto/bcm/ |
| D | spu.c | 591 struct spu_hash_parms *hash_parms, in spum_create_request() argument 607 unsigned int cipher_len = hash_parms->prebuf_len + data_size + in spum_create_request() 608 hash_parms->pad_len; in spum_create_request() 617 hash_parms->prebuf_len, in spum_create_request() 621 hash_parms->pad_len); in spum_create_request() 632 cipher_len -= hash_parms->digestsize; in spum_create_request() 635 auth_len -= hash_parms->digestsize; in spum_create_request() 637 if ((hash_parms->alg == HASH_ALG_AES) && in spum_create_request() 638 (hash_parms->mode == HASH_MODE_XCBC)) { in spum_create_request() 639 auth_len -= hash_parms->pad_len; in spum_create_request() [all …]
|
| D | spu2.c | 942 struct spu_hash_parms *hash_parms, in spu2_create_request() argument 959 hash_parms->prebuf_len + data_size + hash_parms->pad_len - in spu2_create_request() 961 hash_parms->digestsize : 0); in spu2_create_request() 971 hash_parms->prebuf_len, in spu2_create_request() 975 hash_parms->pad_len); in spu2_create_request() 1005 hash_parms->alg, hash_parms->mode, hash_parms->type); in spu2_create_request() 1006 flow_log(" digestsize: %u\n", hash_parms->digestsize); in spu2_create_request() 1007 flow_log(" authkey: %d\n", hash_parms->key_len); in spu2_create_request() 1008 flow_dump(" authkey: ", hash_parms->key_buf, hash_parms->key_len); in spu2_create_request() 1010 flow_log(" prebuf_len:%u\n", hash_parms->prebuf_len); in spu2_create_request() [all …]
|
| D | cipher.c | 682 struct spu_hash_parms hash_parms; in handle_ahash_req() local 701 memset(&hash_parms, 0, sizeof(hash_parms)); in handle_ahash_req() 705 hash_parms.alg = ctx->auth.alg; in handle_ahash_req() 706 hash_parms.mode = ctx->auth.mode; in handle_ahash_req() 707 hash_parms.type = HASH_TYPE_NONE; in handle_ahash_req() 708 hash_parms.key_buf = (u8 *)ctx->authkey; in handle_ahash_req() 709 hash_parms.key_len = ctx->authkeylen; in handle_ahash_req() 774 if (hash_parms.alg == HASH_ALG_AES) in handle_ahash_req() 775 hash_parms.type = (enum hash_type)cipher_parms.type; in handle_ahash_req() 777 hash_parms.type = spu->spu_hash_type(rctx->total_sent); in handle_ahash_req() [all …]
|
| D | spu2.h | 195 struct spu_hash_parms *hash_parms,
|
| D | spu.h | 244 struct spu_hash_parms *hash_parms,
|
| D | cipher.h | 382 struct spu_hash_parms *hash_parms,
|