Searched refs:hash_parms (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/crypto/bcm/ |
D | spu.c | 609 struct spu_hash_parms *hash_parms, in spum_create_request() argument 625 unsigned int cipher_len = hash_parms->prebuf_len + data_size + in spum_create_request() 626 hash_parms->pad_len; in spum_create_request() 635 hash_parms->prebuf_len, in spum_create_request() 639 hash_parms->pad_len); in spum_create_request() 650 cipher_len -= hash_parms->digestsize; in spum_create_request() 653 auth_len -= hash_parms->digestsize; in spum_create_request() 655 if ((hash_parms->alg == HASH_ALG_AES) && in spum_create_request() 656 (hash_parms->mode == HASH_MODE_XCBC)) { in spum_create_request() 657 auth_len -= hash_parms->pad_len; in spum_create_request() [all …]
|
D | spu2.c | 953 struct spu_hash_parms *hash_parms, in spu2_create_request() argument 970 hash_parms->prebuf_len + data_size + hash_parms->pad_len - in spu2_create_request() 972 hash_parms->digestsize : 0); in spu2_create_request() 982 hash_parms->prebuf_len, in spu2_create_request() 986 hash_parms->pad_len); in spu2_create_request() 1016 hash_parms->alg, hash_parms->mode, hash_parms->type); in spu2_create_request() 1017 flow_log(" digestsize: %u\n", hash_parms->digestsize); in spu2_create_request() 1018 flow_log(" authkey: %d\n", hash_parms->key_len); in spu2_create_request() 1019 flow_dump(" authkey: ", hash_parms->key_buf, hash_parms->key_len); in spu2_create_request() 1021 flow_log(" prebuf_len:%u\n", hash_parms->prebuf_len); in spu2_create_request() [all …]
|
D | cipher.c | 728 struct spu_hash_parms hash_parms; in handle_ahash_req() local 747 memset(&hash_parms, 0, sizeof(hash_parms)); in handle_ahash_req() 751 hash_parms.alg = ctx->auth.alg; in handle_ahash_req() 752 hash_parms.mode = ctx->auth.mode; in handle_ahash_req() 753 hash_parms.type = HASH_TYPE_NONE; in handle_ahash_req() 754 hash_parms.key_buf = (u8 *)ctx->authkey; in handle_ahash_req() 755 hash_parms.key_len = ctx->authkeylen; in handle_ahash_req() 820 if (hash_parms.alg == HASH_ALG_AES) in handle_ahash_req() 821 hash_parms.type = (enum hash_type)cipher_parms.type; in handle_ahash_req() 823 hash_parms.type = spu->spu_hash_type(rctx->total_sent); in handle_ahash_req() [all …]
|
D | spu2.h | 206 struct spu_hash_parms *hash_parms,
|
D | spu.h | 255 struct spu_hash_parms *hash_parms,
|
D | cipher.h | 393 struct spu_hash_parms *hash_parms,
|