Searched refs:cipher_parms (Results 1 – 6 of 6) sorted by relevance
| /drivers/crypto/bcm/ |
| A D | spu.c | 645 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() 842 cipher_parms->mode, cipher_parms->type); in spum_cipher_req_init() 882 if (cipher_parms->alg && cipher_parms->key_len) in spum_cipher_req_init() 883 memcpy(spuh + 1, cipher_parms->key_buf, cipher_parms->key_len); in spum_cipher_req_init() 944 memset(cipher_parms->iv_buf, 0, cipher_parms->iv_len); in spum_cipher_req_finish() 963 if (cipher_parms->alg && cipher_parms->iv_buf && cipher_parms->iv_len) in spum_cipher_req_finish() [all …]
|
| A D | spu2.c | 1002 cipher_parms->mode, cipher_parms->type); in spu2_create_request() 1023 err = spu2_cipher_xlate(cipher_parms->alg, cipher_parms->mode, in spu2_create_request() 1084 cipher_parms->key_len, cipher_parms->iv_len); in spu2_create_request() 1098 memcpy(ptr, cipher_parms->key_buf, cipher_parms->key_len); in spu2_create_request() 1103 memcpy(ptr, cipher_parms->iv_buf, cipher_parms->iv_len); in spu2_create_request() 1137 cipher_parms->mode, cipher_parms->type); in spu2_cipher_req_init() 1161 if (cipher_parms->key_buf && cipher_parms->key_len) in spu2_cipher_req_init() 1162 memcpy(omd, cipher_parms->key_buf, cipher_parms->key_len); in spu2_cipher_req_init() 1216 if (cipher_parms->alg && cipher_parms->iv_buf && cipher_parms->iv_len) { in spu2_cipher_req_finish() 1218 memcpy(omd + cipher_parms->key_len, cipher_parms->iv_buf, in spu2_cipher_req_finish() [all …]
|
| A 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,
|
| A D | spu.h | 244 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 D | cipher.h | 379 struct spu_cipher_parms *cipher_parms, 384 struct spu_cipher_parms *cipher_parms); 388 struct spu_cipher_parms *cipher_parms, 399 struct spu_cipher_parms *cipher_parms,
|
| A D | cipher.c | 307 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 18 milliseconds