Lines Matching refs:aead_parms

681 	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()
1334 aead_parms.ret_iv_len = 0; in handle_aead_req()
1345 if (aead_parms.assoc_size) in handle_aead_req()
1347 aead_parms.assoc_size); in handle_aead_req()
1354 aead_parms.assoc_size, in handle_aead_req()
1355 aead_parms.ret_iv_len, in handle_aead_req()
1359 aead_parms.iv_len = spu->spu_aead_ivlen(ctx->cipher.mode, in handle_aead_req()
1366 aead_parms.aad_pad_len = spu->spu_gcm_ccm_pad_len(ctx->cipher.mode, in handle_aead_req()
1367 aead_parms.assoc_size); in handle_aead_req()
1370 aead_parms.data_pad_len = spu->spu_gcm_ccm_pad_len(ctx->cipher.mode, in handle_aead_req()
1378 aead_parms.aad_pad_len = spu->spu_gcm_ccm_pad_len( in handle_aead_req()
1380 aead_parms.assoc_size + 2); in handle_aead_req()
1387 aead_parms.data_pad_len = in handle_aead_req()
1402 aead_parms.aad_pad_len = 0; in handle_aead_req()
1404 aead_parms.data_pad_len = spu->spu_gcm_ccm_pad_len( in handle_aead_req()
1406 aead_parms.assoc_size + chunksize - in handle_aead_req()
1409 aead_parms.data_pad_len = spu->spu_gcm_ccm_pad_len( in handle_aead_req()
1411 aead_parms.assoc_size + chunksize); in handle_aead_req()
1435 &aead_parms, chunksize); in handle_aead_req()
1438 db_size = spu_real_db_size(aead_parms.assoc_size, aead_parms.iv_len, 0, in handle_aead_req()
1439 chunksize, aead_parms.aad_pad_len, in handle_aead_req()
1440 aead_parms.data_pad_len, 0); in handle_aead_req()
1446 pad_len = aead_parms.data_pad_len + stat_pad_len; in handle_aead_req()
1450 aead_parms.data_pad_len, 0, in handle_aead_req()
1457 dump_sg(rctx->assoc, 0, aead_parms.assoc_size); in handle_aead_req()
1458 packet_dump(" aead iv: ", rctx->msg_buf.iv_ctr, aead_parms.iv_len); in handle_aead_req()
1495 aead_parms.assoc_size, in handle_aead_req()
1496 aead_parms.ret_iv_len, resp_len, digestsize, in handle_aead_req()
1504 if (aead_parms.aad_pad_len) in handle_aead_req()
1506 if (aead_parms.iv_len) in handle_aead_req()
1511 rctx->assoc, aead_parms.assoc_size, in handle_aead_req()
1512 assoc_nents, aead_parms.iv_len, chunksize, in handle_aead_req()
1513 aead_parms.aad_pad_len, pad_len, incl_icv); in handle_aead_req()