Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/bcm/
Dspu.c590 struct spu_aead_parms *aead_parms, in spum_create_request() argument
609 unsigned int cipher_offset = aead_parms->assoc_size + in spum_create_request()
610 aead_parms->iv_len + aead_parms->aad_pad_len; in spum_create_request()
613 unsigned int real_db_size = spu_real_db_size(aead_parms->assoc_size, in spum_create_request()
614 aead_parms->iv_len, in spum_create_request()
617 aead_parms->aad_pad_len, in spum_create_request()
618 aead_parms->data_pad_len, in spum_create_request()
656 flow_log(" assoc_size:%u\n", aead_parms->assoc_size); in spum_create_request()
663 flow_log(" aead_iv: %u\n", aead_parms->iv_len); in spum_create_request()
713 offset_iv = aead_parms->assoc_size; in spum_create_request()
[all …]
Dspu2.c948 struct spu_aead_parms *aead_parms, in spu2_create_request() argument
969 unsigned int cipher_offset = aead_parms->assoc_size + in spu2_create_request()
970 aead_parms->aad_pad_len + aead_parms->iv_len; in spu2_create_request()
973 unsigned int real_db_size = spu_real_db_size(aead_parms->assoc_size, in spu2_create_request()
974 aead_parms->iv_len, in spu2_create_request()
977 aead_parms->aad_pad_len, in spu2_create_request()
978 aead_parms->data_pad_len, in spu2_create_request()
980 unsigned int assoc_size = aead_parms->assoc_size; in spu2_create_request()
1019 flow_log(" aead_iv: %u\n", aead_parms->iv_len); in spu2_create_request()
1077 aead_parms->return_iv, aead_parms->ret_iv_len, in spu2_create_request()
[all …]
Dcipher.c681 struct spu_aead_parms aead_parms; in handle_ahash_req() local
700 memset(&aead_parms, 0, sizeof(aead_parms)); in handle_ahash_req()
821 &hash_parms, &aead_parms, in handle_ahash_req()
1276 struct spu_aead_parms aead_parms; in handle_aead_req() local
1293 memset(&aead_parms, 0, sizeof(aead_parms)); in handle_aead_req()
1319 aead_parms.assoc_size = req->assoclen; in handle_aead_req()
1326 aead_parms.assoc_size -= GCM_RFC4106_IV_SIZE; in handle_aead_req()
1329 aead_parms.return_iv = true; in handle_aead_req()
1330 aead_parms.ret_iv_len = GCM_RFC4106_IV_SIZE; in handle_aead_req()
1331 aead_parms.ret_iv_off = GCM_ESP_SALT_SIZE; in handle_aead_req()
[all …]
Dspu2.h196 struct spu_aead_parms *aead_parms,
Dspu.h246 struct spu_aead_parms *aead_parms,
Dcipher.h381 struct spu_aead_parms *aead_parms,