Searched refs:cipher_parms (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/drivers/crypto/bcm/ |
| D | spu.c | 594 struct spu_cipher_parms *cipher_parms, in spum_create_request() argument 651 spu_alg_name(cipher_parms->alg, cipher_parms->mode), in spum_create_request() 652 cipher_parms->alg, cipher_parms->mode, cipher_parms->type); in spum_create_request() 653 flow_log(" key: %d\n", cipher_parms->key_len); in spum_create_request() 654 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spum_create_request() 655 flow_log(" iv: %d\n", cipher_parms->iv_len); in spum_create_request() 656 flow_dump(" iv: ", cipher_parms->iv_buf, cipher_parms->iv_len); in spum_create_request() 694 cipher_bits |= cipher_parms->alg << CIPHER_ALG_SHIFT; in spum_create_request() 695 cipher_bits |= cipher_parms->mode << CIPHER_MODE_SHIFT; in spum_create_request() 696 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, 213 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, 270 struct spu_cipher_parms *cipher_parms,
|
| D | cipher.h | 379 struct spu_cipher_parms *cipher_parms, 384 struct spu_cipher_parms *cipher_parms); 388 struct spu_cipher_parms *cipher_parms, 400 struct spu_cipher_parms *cipher_parms,
|
| D | cipher.c | 310 struct spu_cipher_parms cipher_parms; in handle_ablkcipher_req() local 329 cipher_parms.alg = ctx->cipher.alg; in handle_ablkcipher_req() 330 cipher_parms.mode = ctx->cipher.mode; in handle_ablkcipher_req() 331 cipher_parms.type = ctx->cipher_type; in handle_ablkcipher_req() 332 cipher_parms.key_len = ctx->enckeylen; in handle_ablkcipher_req() 333 cipher_parms.key_buf = ctx->enckey; in handle_ablkcipher_req() 334 cipher_parms.iv_buf = local_iv_ctr; in handle_ablkcipher_req() 335 cipher_parms.iv_len = rctx->iv_ctr_len; in handle_ablkcipher_req() 401 cipher_parms.key_buf = rctx->msg_buf.c.supdt_tweak; in handle_ablkcipher_req() 403 cipher_parms.type = CIPHER_TYPE_UPDT; in handle_ablkcipher_req() [all …]
|