Searched refs:cipher_parms (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/drivers/crypto/bcm/ |
| D | spu.c | 590 struct spu_cipher_parms *cipher_parms, in spum_create_request() argument 647 spu_alg_name(cipher_parms->alg, cipher_parms->mode), in spum_create_request() 648 cipher_parms->alg, cipher_parms->mode, cipher_parms->type); in spum_create_request() 649 flow_log(" key: %d\n", cipher_parms->key_len); in spum_create_request() 650 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spum_create_request() 651 flow_log(" iv: %d\n", cipher_parms->iv_len); in spum_create_request() 652 flow_dump(" iv: ", cipher_parms->iv_buf, cipher_parms->iv_len); in spum_create_request() 690 cipher_bits |= cipher_parms->alg << CIPHER_ALG_SHIFT; in spum_create_request() 691 cipher_bits |= cipher_parms->mode << CIPHER_MODE_SHIFT; in spum_create_request() 692 cipher_bits |= cipher_parms->type << CIPHER_TYPE_SHIFT; in spum_create_request() [all …]
|
| D | spu2.c | 941 struct spu_cipher_parms *cipher_parms, in spu2_create_request() argument 980 (cipher_parms->alg == CIPHER_ALG_AES) && in spu2_create_request() 981 (cipher_parms->mode == CIPHER_MODE_GCM)) in spu2_create_request() 990 (cipher_parms->alg == CIPHER_ALG_AES) && in spu2_create_request() 991 (cipher_parms->mode == CIPHER_MODE_CCM)) in spu2_create_request() 997 flow_log(" cipher alg:%u mode:%u type %u\n", cipher_parms->alg, in spu2_create_request() 998 cipher_parms->mode, cipher_parms->type); in spu2_create_request() 1000 flow_log(" key: %d\n", cipher_parms->key_len); in spu2_create_request() 1001 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spu2_create_request() 1002 flow_log(" iv: %d\n", cipher_parms->iv_len); in spu2_create_request() [all …]
|
| D | spu2.h | 194 struct spu_cipher_parms *cipher_parms, 198 u16 spu2_cipher_req_init(u8 *spu_hdr, struct spu_cipher_parms *cipher_parms); 202 struct spu_cipher_parms *cipher_parms, 212 struct spu_cipher_parms *cipher_parms,
|
| D | spu.h | 243 struct spu_cipher_parms *cipher_parms, 248 u16 spum_cipher_req_init(u8 *spu_hdr, struct spu_cipher_parms *cipher_parms); 253 struct spu_cipher_parms *cipher_parms, 269 struct spu_cipher_parms *cipher_parms,
|
| D | cipher.h | 381 struct spu_cipher_parms *cipher_parms, 386 struct spu_cipher_parms *cipher_parms); 390 struct spu_cipher_parms *cipher_parms, 401 struct spu_cipher_parms *cipher_parms,
|
| D | cipher.c | 306 struct spu_cipher_parms cipher_parms; in handle_skcipher_req() local 324 cipher_parms.alg = ctx->cipher.alg; in handle_skcipher_req() 325 cipher_parms.mode = ctx->cipher.mode; in handle_skcipher_req() 326 cipher_parms.type = ctx->cipher_type; in handle_skcipher_req() 327 cipher_parms.key_len = ctx->enckeylen; in handle_skcipher_req() 328 cipher_parms.key_buf = ctx->enckey; in handle_skcipher_req() 329 cipher_parms.iv_buf = local_iv_ctr; in handle_skcipher_req() 330 cipher_parms.iv_len = rctx->iv_ctr_len; in handle_skcipher_req() 403 &cipher_parms, chunksize); in handle_skcipher_req() 681 struct spu_cipher_parms cipher_parms; in handle_ahash_req() local [all …]
|