Lines Matching refs:param1
66 alg_list[index].param1 = &aead_list[i]; in test_ipsec_alg_list_populate()
73 alg_list[index].param1 = &cipher_list[i]; in test_ipsec_alg_list_populate()
86 ah_alg_list[index].param1 = &auth_list[i]; in test_ipsec_ah_alg_list_populate()
93 ah_alg_list[index].param1 = &cipher_list[0]; in test_ipsec_ah_alg_list_populate()
369 test_ipsec_td_prepare(const struct crypto_param *param1, in test_ipsec_td_prepare() argument
386 if (param1->type == RTE_CRYPTO_SYM_XFORM_AEAD) { in test_ipsec_td_prepare()
394 td->xform.aead.aead.algo = param1->alg.aead; in test_ipsec_td_prepare()
395 td->xform.aead.aead.key.length = param1->key_length; in test_ipsec_td_prepare()
407 if (param1->type == RTE_CRYPTO_SYM_XFORM_AUTH) { in test_ipsec_td_prepare()
409 param1->alg.auth; in test_ipsec_td_prepare()
411 param1->key_length; in test_ipsec_td_prepare()
413 param1->digest_length; in test_ipsec_td_prepare()
418 param1->iv_length; in test_ipsec_td_prepare()
423 param1->alg.cipher; in test_ipsec_td_prepare()
425 param1->key_length; in test_ipsec_td_prepare()
427 param1->iv_length; in test_ipsec_td_prepare()
546 test_ipsec_display_alg(const struct crypto_param *param1, in test_ipsec_display_alg() argument
549 if (param1->type == RTE_CRYPTO_SYM_XFORM_AEAD) { in test_ipsec_display_alg()
551 rte_crypto_aead_algorithm_strings[param1->alg.aead], in test_ipsec_display_alg()
552 param1->key_length * 8); in test_ipsec_display_alg()
553 } else if (param1->type == RTE_CRYPTO_SYM_XFORM_AUTH) { in test_ipsec_display_alg()
555 rte_crypto_auth_algorithm_strings[param1->alg.auth]); in test_ipsec_display_alg()
556 if (param1->alg.auth != RTE_CRYPTO_AUTH_NULL) in test_ipsec_display_alg()
557 printf(" [%dB ICV]", param1->digest_length); in test_ipsec_display_alg()
560 rte_crypto_cipher_algorithm_strings[param1->alg.cipher]); in test_ipsec_display_alg()
561 if (param1->alg.cipher != RTE_CRYPTO_CIPHER_NULL) in test_ipsec_display_alg()
562 printf(" [%d]", param1->key_length * 8); in test_ipsec_display_alg()