Home
last modified time | relevance | path

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

/linux/drivers/crypto/bcm/
A Dspu.c645 spu_alg_name(cipher_parms->alg, cipher_parms->mode), in spum_create_request()
646 cipher_parms->alg, cipher_parms->mode, cipher_parms->type); in spum_create_request()
650 flow_dump(" iv: ", cipher_parms->iv_buf, cipher_parms->iv_len); in spum_create_request()
749 if (cipher_parms->iv_buf && cipher_parms->iv_len) { in spum_create_request()
754 memcpy(ptr, cipher_parms->iv_buf, cipher_parms->iv_len); in spum_create_request()
843 cipher_parms->mode, cipher_parms->type); in spum_cipher_req_init()
887 if (cipher_parms->alg && cipher_parms->key_len) in spum_cipher_req_init()
888 memcpy(spuh + 1, cipher_parms->key_buf, cipher_parms->key_len); in spum_cipher_req_init()
949 memset(cipher_parms->iv_buf, 0, cipher_parms->iv_len); in spum_cipher_req_finish()
968 if (cipher_parms->alg && cipher_parms->iv_buf && cipher_parms->iv_len) in spum_cipher_req_finish()
[all …]
A Dspu2.c1001 cipher_parms->mode, cipher_parms->type); in spu2_create_request()
1022 err = spu2_cipher_xlate(cipher_parms->alg, cipher_parms->mode, in spu2_create_request()
1083 cipher_parms->key_len, cipher_parms->iv_len); in spu2_create_request()
1097 memcpy(ptr, cipher_parms->key_buf, cipher_parms->key_len); in spu2_create_request()
1102 memcpy(ptr, cipher_parms->iv_buf, cipher_parms->iv_len); in spu2_create_request()
1136 cipher_parms->mode, cipher_parms->type); in spu2_cipher_req_init()
1160 if (cipher_parms->key_buf && cipher_parms->key_len) in spu2_cipher_req_init()
1161 memcpy(omd, cipher_parms->key_buf, cipher_parms->key_len); in spu2_cipher_req_init()
1215 if (cipher_parms->alg && cipher_parms->iv_buf && cipher_parms->iv_len) { in spu2_cipher_req_finish()
1217 memcpy(omd + cipher_parms->key_len, cipher_parms->iv_buf, in spu2_cipher_req_finish()
[all …]
A Dspu2.h194 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,
A Dspu.h244 struct spu_cipher_parms *cipher_parms,
249 u16 spum_cipher_req_init(u8 *spu_hdr, struct spu_cipher_parms *cipher_parms);
254 struct spu_cipher_parms *cipher_parms,
270 struct spu_cipher_parms *cipher_parms,
A Dcipher.h382 struct spu_cipher_parms *cipher_parms,
387 struct spu_cipher_parms *cipher_parms);
391 struct spu_cipher_parms *cipher_parms,
402 struct spu_cipher_parms *cipher_parms,
A Dcipher.c307 struct spu_cipher_parms cipher_parms; in handle_skcipher_req() local
325 cipher_parms.alg = ctx->cipher.alg; in handle_skcipher_req()
326 cipher_parms.mode = ctx->cipher.mode; in handle_skcipher_req()
327 cipher_parms.type = ctx->cipher_type; in handle_skcipher_req()
329 cipher_parms.key_buf = ctx->enckey; in handle_skcipher_req()
330 cipher_parms.iv_buf = local_iv_ctr; in handle_skcipher_req()
404 &cipher_parms, chunksize); in handle_skcipher_req()
699 memset(&cipher_parms, 0, sizeof(cipher_parms)); in handle_ahash_req()
821 &req_opts, &cipher_parms, in handle_ahash_req()
1865 cipher_parms.iv_buf = NULL; in skcipher_setkey()
[all …]

Completed in 22 milliseconds