crypto/aesni_mb: add aes-gcm support
cover crypto/aesni_mb: add aes-gcm support
This patchset adds the AES-GCM algorithm support to AESNI-MB Cryptodev PMD and updates the unit test and documentations along.
Fan Zhang (3):
crypto/aesni_mb: add aes-gcm algorithm support test/test_cryptodev: add AES-GCM tests to AESNI-MB
doc: update cryptodev and release note
doc/guides/cryptodevs/aesni_mb.rst | 1 + doc/guides/rel_notes/release_18_11.rst | 5 + drivers/crypto/aesni_mb/aesni_mb_ops.h | 28 +++- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 159 +++++++++++++++------ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 30 ++++ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 3 + test/test/test_cryptodev.c | 126 +++++++++++++++- 7 files changed, 298 insertions(+), 54 deletions(-)
Signature · 1 line
2.13.6
PATCH 1/3 crypto/aesni_mb: add aes-gcm algorithm support
This patch adds AES-GCM algorithm support to AESNI-MB PMD.
--- drivers/crypto/aesni_mb/aesni_mb_ops.h | 28 +++- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 159 +++++++++++++++------ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 30 ++++ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 3 + 4 files changed, 172 insertions(+), 48 deletions(-)
drivers/crypto/aesni_mb/aesni_mb_ops.h +24 -4
@@ -39,6 +39,8 @@ typedef void (*aes_cmac_sub_key_gen_t) (const void *exp_key, void *k2, void *k3);typedef void (*aes_cmac_keyexp_t ) (const void *key,void *keyexp); +typedef void (*aes_gcm_keyexp_t ) + (const void *key,struct gcm_key_data *keyexp);/** Multi-buffer library function pointer table */ struct aesni_mb_op_fns {
@@ -86,6 +88,12 @@ struct aesni_mb_op_fns {/**< AES CMAC subkey expansions */ aes_cmac_keyexp_t aes_cmac_expkey;/**< AES CMAC key expansions */ +aes_gcm_keyexp_t aes_gcm_128; +/**< AES GCM 128 key expansions */ +aes_gcm_keyexp_t aes_gcm_192; +/**< AES GCM 192 key expansions */ +aes_gcm_keyexp_t aes_gcm_256; +/**< AES GCM 256 key expansions */ } keyexp;/**< Key expansion functions */ } aux;
@@ -130,7 +138,10 @@ static const struct aesni_mb_op_fns job_ops[] = { aes_keyexp_256_sse, aes_xcbc_expand_key_sse, aes_cmac_subkey_gen_sse, - aes_keyexp_128_enc_sse + aes_keyexp_128_enc_sse, + aes_gcm_pre_128_sse, + aes_gcm_pre_192_sse, + aes_gcm_pre_256_sse } } },
@@ -157,7 +168,10 @@ static const struct aesni_mb_op_fns job_ops[] = { aes_keyexp_256_avx, aes_xcbc_expand_key_avx, aes_cmac_subkey_gen_avx, - aes_keyexp_128_enc_avx + aes_keyexp_128_enc_avx, + aes_gcm_pre_128_avx_gen2, + aes_gcm_pre_192_avx_gen2, + aes_gcm_pre_256_avx_gen2 } } },
@@ -184,7 +198,10 @@ static const struct aesni_mb_op_fns job_ops[] = { aes_keyexp_256_avx2, aes_xcbc_expand_key_avx2, aes_cmac_subkey_gen_avx2, - aes_keyexp_128_enc_avx2 + aes_keyexp_128_enc_avx2, + aes_gcm_pre_128_avx_gen4, + aes_gcm_pre_192_avx_gen4, + aes_gcm_pre_256_avx_gen4 } } },
@@ -211,7 +228,10 @@ static const struct aesni_mb_op_fns job_ops[] = { aes_keyexp_256_avx512, aes_xcbc_expand_key_avx512, aes_cmac_subkey_gen_avx512, - aes_keyexp_128_enc_avx512 + aes_keyexp_128_enc_avx512, + aes_gcm_pre_128_avx_gen4, + aes_gcm_pre_192_avx_gen4, + aes_gcm_pre_256_avx_gen4 } } }
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c +115 -44
239 lines not on this page · raw message
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c +30 -0
@@ -330,6 +330,36 @@ static const struct rte_cryptodev_capabilities aesni_mb_pmd_capabilities[] = { }, } }, } }, + {/* AES GCM */ + .op = RTE_CRYPTO_OP_TYPE_SYMMETRIC, + {.sym = { + .xform_type =RTE_CRYPTO_SYM_XFORM_AEAD , + {.aead = { + .algo =RTE_CRYPTO_AEAD_AES_GCM , + .block_size = 16, + .key_size = { + .min =16 , + .max = 32, + .increment = 8 + }, + .digest_size = { + .min =8 , + .max = 16, + .increment = 4 + }, + .aad_size = { + .min =0 , + .max = 65535, + .increment = 1 + }, + .iv_size = { + .min =12 , + .max = 12, + .increment = 0 + } + }, } + }, } + },RTE_CRYPTODEV_END_OF_CAPABILITIES_LIST () };
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h +3 -0
@@ -91,6 +91,7 @@ static const unsigned auth_digest_byte_lengths[] = { [SHA_512] = 64, [AES_XCBC] = 16, [AES_CMAC] = 16, + [AES_GMAC] = 12, [NULL_HASH] = 0 };
@@ -180,6 +181,8 @@ struct aesni_mb_session {const void *ks_ptr[3 ];uint64_t key[3 ][16 ]; } exp_3des_keys; + +struct gcm_key_data gcm_key; };/**< Expanded AES keys - Allocating space to * contain the maximum expanded key size which
Signature · 1 line
2.13.6
PATCH 2/3 test/test_cryptodev: add AES-GCM tests to AESNI-MB
In reply to Fan Zhang--- test/test/test_cryptodev.c | 126 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 120 insertions(+), 6 deletions(-)
test/test/test_cryptodev.c +120 -6
@@ -1550,7 +1550,7 @@ test_AES_CBC_HMAC_SHA512_decrypt_perform(struct rte_cryptodev_sym_session *sess,return TEST_SUCCESS ; } -static int +static __rte_unused inttest_AES_cipheronly_mb_all (void ) {struct crypto_testsuite_params *ts_params = &testsuite_params;
@@ -1569,7 +1569,7 @@ test_AES_cipheronly_mb_all(void)return TEST_SUCCESS ; } -static int +static __rte_unused inttest_AES_docsis_mb_all (void ) {struct crypto_testsuite_params *ts_params = &testsuite_params;
@@ -1626,7 +1626,7 @@ test_DES_docsis_qat_all(void)return TEST_SUCCESS ; } -static int +static __rte_unused inttest_authonly_mb_all (void ) {struct crypto_testsuite_params *ts_params = &testsuite_params;
@@ -1663,7 +1663,7 @@ test_authonly_qat_all(void)return TEST_SUCCESS ; } -static int +static __rte_unused inttest_AES_chain_mb_all (void ) {struct crypto_testsuite_params *ts_params = &testsuite_params;
@@ -5002,7 +5002,7 @@ test_DES_docsis_openssl_all(void)return TEST_SUCCESS ; } -static int +static __rte_unused inttest_DES_cipheronly_mb_all (void ) {struct crypto_testsuite_params *ts_params = &testsuite_params;
@@ -5039,7 +5039,7 @@ test_3DES_cipheronly_mb_all(void)return TEST_SUCCESS ; } -static int +static __rte_unused inttest_DES_docsis_mb_all (void ) {struct crypto_testsuite_params *ts_params = &testsuite_params;
@@ -9042,6 +9042,120 @@ static struct unit_test_suite cryptodev_aesni_mb_testsuite = { .setup = testsuite_setup, .teardown = testsuite_teardown, .unit_test_cases = { +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_7), + +/** AES GCM Authenticated Decryption */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_7), + +/** AES GCM Authenticated Encryption 192 bits key */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_7), + +/** AES GCM Authenticated Decryption 192 bits key */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_7), + +/** AES GCM Authenticated Encryption 256 bits key */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_7), + +/** AES GCM Authenticated Decryption 256 bits key */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_7), + +/** AES GCM Authenticated Encryption big aad size */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_aad_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_aad_2), + +/** AES GCM Authenticated Decryption big aad size */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_aad_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_aad_2), + +/** Session-less tests */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_sessionless_test_case_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_sessionless_test_case_1), + +TEST_CASE_ST (ut_setup, ut_teardown, test_AES_chain_mb_all),TEST_CASE_ST (ut_setup, ut_teardown, test_AES_cipheronly_mb_all), TEST_CASE_ST(ut_setup, ut_teardown, test_AES_docsis_mb_all),
Signature · 1 line
2.13.6
PATCH 3/3 doc: update cryptodev and release note
In reply to Fan Zhang--- doc/guides/cryptodevs/aesni_mb.rst | 1 + doc/guides/rel_notes/release_18_11.rst | 5 +++++ 2 files changed, 6 insertions(+)
doc/guides/cryptodevs/aesni_mb.rst +1 -0
@@ -44,6 +44,7 @@ Hash algorithms: AEAD algorithms: * RTE_CRYPTO_AEAD_AES_CCM +* RTE_CRYPTO_AEAD_AES_GCM Limitations -----------
doc/guides/rel_notes/release_18_11.rst +5 -0
@@ -54,6 +54,11 @@ New Features Also, make sure to start the actual text at the margin. ========================================================= +* **Updated the AESNI MB PMD.** + + The AESNI MB PMD has been updated with additional support for: + + * AES-GCM algorithm support. API Changes -----------
Signature · 1 line
2.13.6
v2 cover crypto/aesni_mb: add aes-gcm support
In reply to Fan ZhangThis patchset adds the AES-GCM algorithm support to AESNI-MB Cryptodev PMD and updates the unit test and documentations along.
v2:
- rebased on top of latest dpdk-next-crypto.
- removed incorrect __rte_unused macros.
Fan Zhang (3):
crypto/aesni_mb: add aes-gcm algorithm support test/test_cryptodev: add AES-GCM tests to AESNI-MB
doc: update cryptodev and release note
doc/guides/cryptodevs/aesni_mb.rst | 1 + doc/guides/rel_notes/release_18_11.rst | 4 + drivers/crypto/aesni_mb/aesni_mb_ops.h | 28 +++- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 160 +++++++++++++++------ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 30 ++++ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 3 + test/test/test_cryptodev.c | 114 +++++++++++++++ 7 files changed, 293 insertions(+), 47 deletions(-)
Signature · 1 line
2.13.6
PATCH v2 1/3 crypto/aesni_mb: add aes-gcm algorithm support
This patch adds AES-GCM algorithm support to AESNI-MB PMD.
--- drivers/crypto/aesni_mb/aesni_mb_ops.h | 28 +++- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 160 +++++++++++++++------ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 30 ++++ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 3 + 4 files changed, 174 insertions(+), 47 deletions(-)
drivers/crypto/aesni_mb/aesni_mb_ops.h +24 -4
@@ -48,6 +48,8 @@ typedef void (*aes_cmac_sub_key_gen_t) (const void *exp_key, void *k2, void *k3);typedef void (*aes_cmac_keyexp_t ) (const void *key,void *keyexp); +typedef void (*aes_gcm_keyexp_t ) + (const void *key,struct gcm_key_data *keyexp);/** Multi-buffer library function pointer table */ struct aesni_mb_op_fns {
@@ -95,6 +97,12 @@ struct aesni_mb_op_fns {/**< AES CMAC subkey expansions */ aes_cmac_keyexp_t aes_cmac_expkey;/**< AES CMAC key expansions */ +aes_gcm_keyexp_t aes_gcm_128; +/**< AES GCM 128 key expansions */ +aes_gcm_keyexp_t aes_gcm_192; +/**< AES GCM 192 key expansions */ +aes_gcm_keyexp_t aes_gcm_256; +/**< AES GCM 256 key expansions */ } keyexp;/**< Key expansion functions */ #if IMB_VERSION_NUM >=IMB_VERSION (0 ,50 ,0 )
@@ -155,7 +163,10 @@ static const struct aesni_mb_op_fns job_ops[] = { aes_keyexp_256_sse, aes_xcbc_expand_key_sse, aes_cmac_subkey_gen_sse, - aes_keyexp_128_enc_sse + aes_keyexp_128_enc_sse, + aes_gcm_pre_128_sse, + aes_gcm_pre_192_sse, + aes_gcm_pre_256_sse }, #if IMB_VERSION_NUM >= IMB_VERSION(0, 50, 0) .multi_block = {
@@ -191,7 +202,10 @@ static const struct aesni_mb_op_fns job_ops[] = { aes_keyexp_256_avx, aes_xcbc_expand_key_avx, aes_cmac_subkey_gen_avx, - aes_keyexp_128_enc_avx + aes_keyexp_128_enc_avx, + aes_gcm_pre_128_avx_gen2, + aes_gcm_pre_192_avx_gen2, + aes_gcm_pre_256_avx_gen2 }, #if IMB_VERSION_NUM >= IMB_VERSION(0, 50, 0) .multi_block = {
@@ -227,7 +241,10 @@ static const struct aesni_mb_op_fns job_ops[] = { aes_keyexp_256_avx2, aes_xcbc_expand_key_avx2, aes_cmac_subkey_gen_avx2, - aes_keyexp_128_enc_avx2 + aes_keyexp_128_enc_avx2, + aes_gcm_pre_128_avx_gen4, + aes_gcm_pre_192_avx_gen4, + aes_gcm_pre_256_avx_gen4 }, #if IMB_VERSION_NUM >= IMB_VERSION(0, 50, 0) .multi_block = {
@@ -263,7 +280,10 @@ static const struct aesni_mb_op_fns job_ops[] = { aes_keyexp_256_avx512, aes_xcbc_expand_key_avx512, aes_cmac_subkey_gen_avx512, - aes_keyexp_128_enc_avx512 + aes_keyexp_128_enc_avx512, + aes_gcm_pre_128_avx_gen4, + aes_gcm_pre_192_avx_gen4, + aes_gcm_pre_256_avx_gen4 }, #if IMB_VERSION_NUM >= IMB_VERSION(0, 50, 0) .multi_block = {
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c +117 -43
240 lines not on this page · raw message
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c +30 -0
@@ -386,6 +386,36 @@ static const struct rte_cryptodev_capabilities aesni_mb_pmd_capabilities[] = { }, } }, } }, + {/* AES GCM */ + .op = RTE_CRYPTO_OP_TYPE_SYMMETRIC, + {.sym = { + .xform_type =RTE_CRYPTO_SYM_XFORM_AEAD , + {.aead = { + .algo =RTE_CRYPTO_AEAD_AES_GCM , + .block_size = 16, + .key_size = { + .min =16 , + .max = 32, + .increment = 8 + }, + .digest_size = { + .min =8 , + .max = 16, + .increment = 4 + }, + .aad_size = { + .min =0 , + .max = 65535, + .increment = 1 + }, + .iv_size = { + .min =12 , + .max = 12, + .increment = 0 + } + }, } + }, } + },RTE_CRYPTODEV_END_OF_CAPABILITIES_LIST () };
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h +3 -0
@@ -82,6 +82,7 @@ static const unsigned auth_digest_byte_lengths[] = { [SHA_512] = 64, [AES_XCBC] = 16, [AES_CMAC] = 16, + [AES_GMAC] = 12, [NULL_HASH] = 0 };
@@ -172,6 +173,8 @@ struct aesni_mb_session {const void *ks_ptr[3 ];uint64_t key[3 ][16 ]; } exp_3des_keys; + +struct gcm_key_data gcm_key; };/**< Expanded AES keys - Allocating space to * contain the maximum expanded key size which
Signature · 1 line
2.13.6
PATCH v2 2/3 test/test_cryptodev: add AES-GCM tests to AESNI-MB
In reply to Fan Zhang--- test/test/test_cryptodev.c | 114 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+)
test/test/test_cryptodev.c +114 -0
@@ -9132,6 +9132,120 @@ static struct unit_test_suite cryptodev_aesni_mb_testsuite = { .setup = testsuite_setup, .teardown = testsuite_teardown, .unit_test_cases = { +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_7), + +/** AES GCM Authenticated Decryption */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_7), + +/** AES GCM Authenticated Encryption 192 bits key */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_7), + +/** AES GCM Authenticated Decryption 192 bits key */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_7), + +/** AES GCM Authenticated Encryption 256 bits key */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_7), + +/** AES GCM Authenticated Decryption 256 bits key */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_7), + +/** AES GCM Authenticated Encryption big aad size */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_aad_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_aad_2), + +/** AES GCM Authenticated Decryption big aad size */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_aad_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_aad_2), + +/** Session-less tests */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_sessionless_test_case_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_sessionless_test_case_1), + +TEST_CASE_ST (ut_setup, ut_teardown, test_AES_chain_mb_all),TEST_CASE_ST (ut_setup, ut_teardown, test_AES_cipheronly_mb_all), TEST_CASE_ST(ut_setup, ut_teardown, test_AES_docsis_mb_all),
Signature · 1 line
2.13.6
PATCH v2 3/3 doc: update cryptodev and release note
In reply to Fan Zhang--- doc/guides/cryptodevs/aesni_mb.rst | 1 + doc/guides/rel_notes/release_18_11.rst | 4 ++++ 2 files changed, 5 insertions(+)
doc/guides/cryptodevs/aesni_mb.rst +1 -0
@@ -44,6 +44,7 @@ Hash algorithms: AEAD algorithms: * RTE_CRYPTO_AEAD_AES_CCM +* RTE_CRYPTO_AEAD_AES_GCM Limitations -----------
doc/guides/rel_notes/release_18_11.rst +4 -0
@@ -104,6 +104,10 @@ New Features the specified port. The port must be stopped before the command call in order to reconfigure queues. +* **Updated the AESNI MB PMD.** + + The AESNI MB PMD has been updated with additional support for AES-GCM + algorithm support. API Changes -----------
Signature · 1 line
2.13.6
Quoted 32 lines
-----Original Message-----
From: Zhang, Roy Fan
Sent: Tuesday, October 9, 2018 10:11 PM
To: [email protected]
Cc: [email protected]; Kusztal, ArkadiuszX <[email protected]>
Subject: [PATCH v2 0/3]crypto/aesni_mb: add aes-gcm supportThis patchset adds the AES-GCM algorithm support to AESNI-MB Cryptodev PMD and updates the unit test and documentations along.
v2:
- rebased on top of latest dpdk-next-crypto.
- removed incorrect__rte_unusedmacros.Fan Zhang (3):
crypto/aesni_mb: add aes-gcm algorithm support test/test_cryptodev: add AES-GCM tests to AESNI-MB
doc: update cryptodev and release notedoc/guides/cryptodevs/aesni_mb.rst | 1 + doc/guides/rel_notes/release_18_11.rst | 4 + drivers/crypto/aesni_mb/aesni_mb_ops.h | 28 +++- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 160 +++++++++++++++------ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 30 ++++ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 3 + test/test/test_cryptodev.c | 114 +++++++++++++++ 7 files changed, 293 insertions(+), 47 deletions(-)
Quoted 2 lines
--
2.13.6
Please add appropriate patch description.
you can send another version/reply to the mail.
Quoted 21 lines · Fan Zhang
This patchset adds the AES-GCM algorithm support to AESNI-MB Cryptodev PMD and updates the unit test and documentations along.
v2:
- rebased on top of latest dpdk-next-crypto.
- removed incorrect__rte_unusedmacros.Fan Zhang (3):
crypto/aesni_mb: add aes-gcm algorithm support test/test_cryptodev: add AES-GCM tests to AESNI-MB
doc: update cryptodev and release notedoc/guides/cryptodevs/aesni_mb.rst | 1 + doc/guides/rel_notes/release_18_11.rst | 4 + drivers/crypto/aesni_mb/aesni_mb_ops.h | 28 +++- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 160 +++++++++++++++------ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 30 ++++ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 3 + test/test/test_cryptodev.c | 114 +++++++++++++++ 7 files changed, 293 insertions(+), 47 deletions(-)
v3 cover crypto/aesni_mb: add aes-gcm support
In reply to Fan ZhangThis patchset adds the AES-GCM algorithm support to AESNI-MB Cryptodev PMD and updates the unit test and documentations.
v3:
- updated patch descriptions.
v2:
- rebased on top of latest dpdk-next-crypto.
- removed incorrect __rte_unused macros.
Fan Zhang (3):
crypto/aesni_mb: add aes-gcm algorithm support test/test_cryptodev: add AES-GCM tests to AESNI-MB
doc: update cryptodev and release note
doc/guides/cryptodevs/aesni_mb.rst | 1 + doc/guides/rel_notes/release_18_11.rst | 4 + drivers/crypto/aesni_mb/aesni_mb_ops.h | 28 +++- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 160 +++++++++++++++------ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 30 ++++ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 3 + test/test/test_cryptodev.c | 114 +++++++++++++++ 7 files changed, 293 insertions(+), 47 deletions(-)
Signature · 1 line
2.13.6
PATCH v3 1/3 crypto/aesni_mb: add aes-gcm algorithm support
This patch updates the current AESNI-MB PMD with added AES-GCM algorithm support. The patch includes the necessary changes to the code including the capability update, control and data patch changes for the AES-GCM algorithm support.
--- drivers/crypto/aesni_mb/aesni_mb_ops.h | 28 +++- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 160 +++++++++++++++------ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 30 ++++ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 3 + 4 files changed, 174 insertions(+), 47 deletions(-)
drivers/crypto/aesni_mb/aesni_mb_ops.h +24 -4
@@ -48,6 +48,8 @@ typedef void (*aes_cmac_sub_key_gen_t) (const void *exp_key, void *k2, void *k3);typedef void (*aes_cmac_keyexp_t ) (const void *key,void *keyexp); +typedef void (*aes_gcm_keyexp_t ) + (const void *key,struct gcm_key_data *keyexp);/** Multi-buffer library function pointer table */ struct aesni_mb_op_fns {
@@ -95,6 +97,12 @@ struct aesni_mb_op_fns {/**< AES CMAC subkey expansions */ aes_cmac_keyexp_t aes_cmac_expkey;/**< AES CMAC key expansions */ +aes_gcm_keyexp_t aes_gcm_128; +/**< AES GCM 128 key expansions */ +aes_gcm_keyexp_t aes_gcm_192; +/**< AES GCM 192 key expansions */ +aes_gcm_keyexp_t aes_gcm_256; +/**< AES GCM 256 key expansions */ } keyexp;/**< Key expansion functions */ #if IMB_VERSION_NUM >=IMB_VERSION (0 ,50 ,0 )
@@ -155,7 +163,10 @@ static const struct aesni_mb_op_fns job_ops[] = { aes_keyexp_256_sse, aes_xcbc_expand_key_sse, aes_cmac_subkey_gen_sse, - aes_keyexp_128_enc_sse + aes_keyexp_128_enc_sse, + aes_gcm_pre_128_sse, + aes_gcm_pre_192_sse, + aes_gcm_pre_256_sse }, #if IMB_VERSION_NUM >= IMB_VERSION(0, 50, 0) .multi_block = {
@@ -191,7 +202,10 @@ static const struct aesni_mb_op_fns job_ops[] = { aes_keyexp_256_avx, aes_xcbc_expand_key_avx, aes_cmac_subkey_gen_avx, - aes_keyexp_128_enc_avx + aes_keyexp_128_enc_avx, + aes_gcm_pre_128_avx_gen2, + aes_gcm_pre_192_avx_gen2, + aes_gcm_pre_256_avx_gen2 }, #if IMB_VERSION_NUM >= IMB_VERSION(0, 50, 0) .multi_block = {
@@ -227,7 +241,10 @@ static const struct aesni_mb_op_fns job_ops[] = { aes_keyexp_256_avx2, aes_xcbc_expand_key_avx2, aes_cmac_subkey_gen_avx2, - aes_keyexp_128_enc_avx2 + aes_keyexp_128_enc_avx2, + aes_gcm_pre_128_avx_gen4, + aes_gcm_pre_192_avx_gen4, + aes_gcm_pre_256_avx_gen4 }, #if IMB_VERSION_NUM >= IMB_VERSION(0, 50, 0) .multi_block = {
@@ -263,7 +280,10 @@ static const struct aesni_mb_op_fns job_ops[] = { aes_keyexp_256_avx512, aes_xcbc_expand_key_avx512, aes_cmac_subkey_gen_avx512, - aes_keyexp_128_enc_avx512 + aes_keyexp_128_enc_avx512, + aes_gcm_pre_128_avx_gen4, + aes_gcm_pre_192_avx_gen4, + aes_gcm_pre_256_avx_gen4 }, #if IMB_VERSION_NUM >= IMB_VERSION(0, 50, 0) .multi_block = {
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c +117 -43
240 lines not on this page · raw message
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c +30 -0
@@ -386,6 +386,36 @@ static const struct rte_cryptodev_capabilities aesni_mb_pmd_capabilities[] = { }, } }, } }, + {/* AES GCM */ + .op = RTE_CRYPTO_OP_TYPE_SYMMETRIC, + {.sym = { + .xform_type =RTE_CRYPTO_SYM_XFORM_AEAD , + {.aead = { + .algo =RTE_CRYPTO_AEAD_AES_GCM , + .block_size = 16, + .key_size = { + .min =16 , + .max = 32, + .increment = 8 + }, + .digest_size = { + .min =8 , + .max = 16, + .increment = 4 + }, + .aad_size = { + .min =0 , + .max = 65535, + .increment = 1 + }, + .iv_size = { + .min =12 , + .max = 12, + .increment = 0 + } + }, } + }, } + },RTE_CRYPTODEV_END_OF_CAPABILITIES_LIST () };
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h +3 -0
@@ -82,6 +82,7 @@ static const unsigned auth_digest_byte_lengths[] = { [SHA_512] = 64, [AES_XCBC] = 16, [AES_CMAC] = 16, + [AES_GMAC] = 12, [NULL_HASH] = 0 };
@@ -172,6 +173,8 @@ struct aesni_mb_session {const void *ks_ptr[3 ];uint64_t key[3 ][16 ]; } exp_3des_keys; + +struct gcm_key_data gcm_key; };/**< Expanded AES keys - Allocating space to * contain the maximum expanded key size which
Signature · 1 line
2.13.6
PATCH v3 2/3 test/test_cryptodev: add AES-GCM tests to AESNI-MB
In reply to Fan ZhangSince AES-GCM algorithm is supported in AESNI-MB PMD, the unit test for the PMD should be updated as well. This patch updates the unit test suite with added AES-GCM test cases.
--- test/test/test_cryptodev.c | 114 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+)
test/test/test_cryptodev.c +114 -0
@@ -9132,6 +9132,120 @@ static struct unit_test_suite cryptodev_aesni_mb_testsuite = { .setup = testsuite_setup, .teardown = testsuite_teardown, .unit_test_cases = { +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_test_case_7), + +/** AES GCM Authenticated Decryption */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_test_case_7), + +/** AES GCM Authenticated Encryption 192 bits key */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_192_7), + +/** AES GCM Authenticated Decryption 192 bits key */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_192_7), + +/** AES GCM Authenticated Encryption 256 bits key */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_256_7), + +/** AES GCM Authenticated Decryption 256 bits key */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_2), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_3), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_4), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_5), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_6), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_256_7), + +/** AES GCM Authenticated Encryption big aad size */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_aad_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_encryption_test_case_aad_2), + +/** AES GCM Authenticated Decryption big aad size */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_aad_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_auth_decryption_test_case_aad_2), + +/** Session-less tests */ +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_encryption_sessionless_test_case_1), +TEST_CASE_ST (ut_setup, ut_teardown, + test_AES_GCM_authenticated_decryption_sessionless_test_case_1), + +TEST_CASE_ST (ut_setup, ut_teardown, test_AES_chain_mb_all),TEST_CASE_ST (ut_setup, ut_teardown, test_AES_cipheronly_mb_all), TEST_CASE_ST(ut_setup, ut_teardown, test_AES_docsis_mb_all),
Signature · 1 line
2.13.6
PATCH v3 3/3 doc: update cryptodev and release note
In reply to Fan ZhangThis patch updates the cryptodev AESNI-MB PMD documentation with added AES-GCM algorithm support listed, and the release note.
--- doc/guides/cryptodevs/aesni_mb.rst | 1 + doc/guides/rel_notes/release_18_11.rst | 4 ++++ 2 files changed, 5 insertions(+)
doc/guides/cryptodevs/aesni_mb.rst +1 -0
@@ -44,6 +44,7 @@ Hash algorithms: AEAD algorithms: * RTE_CRYPTO_AEAD_AES_CCM +* RTE_CRYPTO_AEAD_AES_GCM Limitations -----------
doc/guides/rel_notes/release_18_11.rst +4 -0
@@ -104,6 +104,10 @@ New Features the specified port. The port must be stopped before the command call in order to reconfigure queues. +* **Updated the AESNI MB PMD.** + + The AESNI MB PMD has been updated with additional support for AES-GCM + algorithm support. API Changes -----------
Signature · 1 line
2.13.6
Akhil Goyal
AppliedQuoted 15 lines · Fan Zhang
This patchset adds the AES-GCM algorithm support to AESNI-MB Cryptodev PMD and updates the unit test and documentations.
v3:
- updated patch descriptions.v2:
- rebased on top of latest dpdk-next-crypto.
- removed incorrect__rte_unusedmacros.Fan Zhang (3):
crypto/aesni_mb: add aes-gcm algorithm support test/test_cryptodev: add AES-GCM tests to AESNI-MB
doc: update cryptodev and release note
Quoted 9 lines
doc/guides/cryptodevs/aesni_mb.rst | 1 + doc/guides/rel_notes/release_18_11.rst | 4 + drivers/crypto/aesni_mb/aesni_mb_ops.h | 28 +++- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 160 +++++++++++++++------ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 30 ++++ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 3 + test/test/test_cryptodev.c | 114 +++++++++++++++ 7 files changed, 293 insertions(+), 47 deletions(-)
Applied to dpdk-next-crypto
Thanks