aead_parms 718 drivers/crypto/bcm/cipher.c struct spu_aead_parms aead_parms; aead_parms 737 drivers/crypto/bcm/cipher.c memset(&aead_parms, 0, sizeof(aead_parms)); aead_parms 858 drivers/crypto/bcm/cipher.c &hash_parms, &aead_parms, aead_parms 1314 drivers/crypto/bcm/cipher.c struct spu_aead_parms aead_parms; aead_parms 1331 drivers/crypto/bcm/cipher.c memset(&aead_parms, 0, sizeof(aead_parms)); aead_parms 1357 drivers/crypto/bcm/cipher.c aead_parms.assoc_size = req->assoclen; aead_parms 1364 drivers/crypto/bcm/cipher.c aead_parms.assoc_size -= GCM_RFC4106_IV_SIZE; aead_parms 1367 drivers/crypto/bcm/cipher.c aead_parms.return_iv = true; aead_parms 1368 drivers/crypto/bcm/cipher.c aead_parms.ret_iv_len = GCM_RFC4106_IV_SIZE; aead_parms 1369 drivers/crypto/bcm/cipher.c aead_parms.ret_iv_off = GCM_ESP_SALT_SIZE; aead_parms 1372 drivers/crypto/bcm/cipher.c aead_parms.ret_iv_len = 0; aead_parms 1383 drivers/crypto/bcm/cipher.c if (aead_parms.assoc_size) aead_parms 1385 drivers/crypto/bcm/cipher.c aead_parms.assoc_size); aead_parms 1392 drivers/crypto/bcm/cipher.c aead_parms.assoc_size, aead_parms 1393 drivers/crypto/bcm/cipher.c aead_parms.ret_iv_len, aead_parms 1397 drivers/crypto/bcm/cipher.c aead_parms.iv_len = spu->spu_aead_ivlen(ctx->cipher.mode, aead_parms 1404 drivers/crypto/bcm/cipher.c aead_parms.aad_pad_len = spu->spu_gcm_ccm_pad_len(ctx->cipher.mode, aead_parms 1405 drivers/crypto/bcm/cipher.c aead_parms.assoc_size); aead_parms 1408 drivers/crypto/bcm/cipher.c aead_parms.data_pad_len = spu->spu_gcm_ccm_pad_len(ctx->cipher.mode, aead_parms 1416 drivers/crypto/bcm/cipher.c aead_parms.aad_pad_len = spu->spu_gcm_ccm_pad_len( aead_parms 1418 drivers/crypto/bcm/cipher.c aead_parms.assoc_size + 2); aead_parms 1425 drivers/crypto/bcm/cipher.c aead_parms.data_pad_len = aead_parms 1440 drivers/crypto/bcm/cipher.c aead_parms.aad_pad_len = 0; aead_parms 1442 drivers/crypto/bcm/cipher.c aead_parms.data_pad_len = spu->spu_gcm_ccm_pad_len( aead_parms 1444 drivers/crypto/bcm/cipher.c aead_parms.assoc_size + chunksize - aead_parms 1447 drivers/crypto/bcm/cipher.c aead_parms.data_pad_len = spu->spu_gcm_ccm_pad_len( aead_parms 1449 drivers/crypto/bcm/cipher.c aead_parms.assoc_size + chunksize); aead_parms 1473 drivers/crypto/bcm/cipher.c &aead_parms, chunksize); aead_parms 1476 drivers/crypto/bcm/cipher.c db_size = spu_real_db_size(aead_parms.assoc_size, aead_parms.iv_len, 0, aead_parms 1477 drivers/crypto/bcm/cipher.c chunksize, aead_parms.aad_pad_len, aead_parms 1478 drivers/crypto/bcm/cipher.c aead_parms.data_pad_len, 0); aead_parms 1484 drivers/crypto/bcm/cipher.c pad_len = aead_parms.data_pad_len + stat_pad_len; aead_parms 1488 drivers/crypto/bcm/cipher.c aead_parms.data_pad_len, 0, aead_parms 1495 drivers/crypto/bcm/cipher.c dump_sg(rctx->assoc, 0, aead_parms.assoc_size); aead_parms 1496 drivers/crypto/bcm/cipher.c packet_dump(" aead iv: ", rctx->msg_buf.iv_ctr, aead_parms.iv_len); aead_parms 1533 drivers/crypto/bcm/cipher.c aead_parms.assoc_size, aead_parms 1534 drivers/crypto/bcm/cipher.c aead_parms.ret_iv_len, resp_len, digestsize, aead_parms 1542 drivers/crypto/bcm/cipher.c if (aead_parms.aad_pad_len) aead_parms 1544 drivers/crypto/bcm/cipher.c if (aead_parms.iv_len) aead_parms 1549 drivers/crypto/bcm/cipher.c rctx->assoc, aead_parms.assoc_size, aead_parms 1550 drivers/crypto/bcm/cipher.c assoc_nents, aead_parms.iv_len, chunksize, aead_parms 1551 drivers/crypto/bcm/cipher.c aead_parms.aad_pad_len, pad_len, incl_icv); aead_parms 381 drivers/crypto/bcm/cipher.h struct spu_aead_parms *aead_parms, aead_parms 596 drivers/crypto/bcm/spu.c struct spu_aead_parms *aead_parms, aead_parms 615 drivers/crypto/bcm/spu.c unsigned int cipher_offset = aead_parms->assoc_size + aead_parms 616 drivers/crypto/bcm/spu.c aead_parms->iv_len + aead_parms->aad_pad_len; aead_parms 619 drivers/crypto/bcm/spu.c unsigned int real_db_size = spu_real_db_size(aead_parms->assoc_size, aead_parms 620 drivers/crypto/bcm/spu.c aead_parms->iv_len, aead_parms 623 drivers/crypto/bcm/spu.c aead_parms->aad_pad_len, aead_parms 624 drivers/crypto/bcm/spu.c aead_parms->data_pad_len, aead_parms 662 drivers/crypto/bcm/spu.c flow_log(" assoc_size:%u\n", aead_parms->assoc_size); aead_parms 669 drivers/crypto/bcm/spu.c flow_log(" aead_iv: %u\n", aead_parms->iv_len); aead_parms 719 drivers/crypto/bcm/spu.c offset_iv = aead_parms->assoc_size; aead_parms 775 drivers/crypto/bcm/spu.c offset_iv = aead_parms->assoc_size + data_size; aead_parms 778 drivers/crypto/bcm/spu.c auth_len = cipher_offset + aead_parms->data_pad_len; aead_parms 245 drivers/crypto/bcm/spu.h struct spu_aead_parms *aead_parms, aead_parms 943 drivers/crypto/bcm/spu2.c struct spu_aead_parms *aead_parms, aead_parms 964 drivers/crypto/bcm/spu2.c unsigned int cipher_offset = aead_parms->assoc_size + aead_parms 965 drivers/crypto/bcm/spu2.c aead_parms->aad_pad_len + aead_parms->iv_len; aead_parms 969 drivers/crypto/bcm/spu2.c unsigned int real_db_size = spu_real_db_size(aead_parms->assoc_size, aead_parms 970 drivers/crypto/bcm/spu2.c aead_parms->iv_len, aead_parms 973 drivers/crypto/bcm/spu2.c aead_parms->aad_pad_len, aead_parms 974 drivers/crypto/bcm/spu2.c aead_parms->data_pad_len, aead_parms 977 drivers/crypto/bcm/spu2.c unsigned int assoc_size = aead_parms->assoc_size; aead_parms 1016 drivers/crypto/bcm/spu2.c flow_log(" aead_iv: %u\n", aead_parms->iv_len); aead_parms 1074 drivers/crypto/bcm/spu2.c aead_parms->return_iv, aead_parms->ret_iv_len, aead_parms 1075 drivers/crypto/bcm/spu2.c aead_parms->ret_iv_off, aead_parms 196 drivers/crypto/bcm/spu2.h struct spu_aead_parms *aead_parms,