Home
last modified time | relevance | path

Searched refs:plaintext (Results 1 – 25 of 30) sorted by relevance

12

/f-stack/freebsd/contrib/openzfs/module/icp/io/
H A Daes.c528 ASSERT(plaintext != NULL); in aes_decrypt()
576 plaintext->cd_offset = plaintext->cd_length; in aes_decrypt()
577 plaintext->cd_length = saved_length - plaintext->cd_length; in aes_decrypt()
584 plaintext->cd_length = in aes_decrypt()
594 plaintext->cd_offset = plaintext->cd_length; in aes_decrypt()
595 plaintext->cd_length = saved_length - plaintext->cd_length; in aes_decrypt()
601 plaintext->cd_length = in aes_decrypt()
761 plaintext->cd_length = in aes_decrypt_update()
1166 plaintext->cd_length = in aes_decrypt_atomic()
1179 plaintext->cd_length = in aes_decrypt_atomic()
[all …]
/f-stack/dpdk/app/test/
H A Dtest_cryptodev_aead_test_vectors.h51 } plaintext; member
78 } plaintext; member
106 .plaintext = {
143 .plaintext = {
181 .plaintext = {
233 .plaintext = {
288 .plaintext = {
344 .plaintext = {
399 .plaintext = {
454 .plaintext = {
[all …]
H A Dtest_cryptodev_security_docsis_test_vectors.h32 } plaintext; member
59 .plaintext = {
108 .plaintext = {
157 .plaintext = {
208 .plaintext = {
261 .plaintext = {
324 .plaintext = {
389 .plaintext = {
454 .plaintext = {
503 .plaintext = {
[all …]
H A Dtest_cryptodev_zuc_test_vectors.h22 } plaintext; member
72 .plaintext = {
113 .plaintext = {
172 .plaintext = {
255 .plaintext = {
376 .plaintext = {
535 .plaintext = {
590 .plaintext = {
663 .plaintext = {
691 .plaintext = {
[all …]
H A Dtest_cryptodev_kasumi_hash_test_vectors.h22 } plaintext; member
38 .plaintext = {
61 .plaintext = {
85 .plaintext = {
111 .plaintext = {
138 .plaintext = {
174 .plaintext = {
207 .plaintext = {
H A Dtest_cryptodev_snow3g_hash_test_vectors.h22 } plaintext; member
49 .plaintext = {
84 .plaintext = {
129 .plaintext = {
415 .plaintext = {
447 .plaintext = {
480 .plaintext = {
H A Dtest_cryptodev_kasumi_test_vectors.h27 } plaintext; member
73 .plaintext = {
131 .plaintext = {
179 .plaintext = {
228 .plaintext = {
268 .plaintext = {
328 .plaintext = {
377 .plaintext = {
H A Dtest_cryptodev_snow3g_test_vectors.h22 } plaintext; member
78 .plaintext = {
147 .plaintext = {
206 .plaintext = {
260 .plaintext = {
303 .plaintext = {
374 .plaintext = {
443 .plaintext = {
535 .plaintext = {
628 .plaintext = {
[all …]
H A Dtest_cryptodev_des_test_vectors.h120 .plaintext = {
146 .plaintext = {
181 .plaintext = {
292 .plaintext = {
319 .plaintext = {
355 .plaintext = {
534 .plaintext = {
560 .plaintext = {
595 .plaintext = {
706 .plaintext = {
[all …]
H A Dtest_cryptodev_aes_test_vectors.h734 .plaintext = {
759 .plaintext = {
785 .plaintext = {
809 .plaintext = {
834 .plaintext = {
860 .plaintext = {
884 .plaintext = {
911 .plaintext = {
956 .plaintext = {
1001 .plaintext = {
[all …]
H A Dtest_cryptodev.c4064 memcpy(plaintext, tdata->plaintext.data, (tdata->plaintext.len >> 3)); in test_snow3g_encryption_offset_oop()
6304 output->plaintext.len = pattern->plaintext.len; in snow3g_hash_test_vector_setup()
7524 memcpy(plaintext, tdata->plaintext.data, tdata->plaintext.len); in create_aead_operation()
8648 if (memcmp(plaintext, d_td->plaintext.data, in test_docsis_proto_uplink()
8728 memcpy(plaintext, d_td->plaintext.data, d_td->plaintext.len); in test_docsis_proto_downlink()
10180 memcpy(*plaintext, test_case->plaintext.data, in MD5_HMAC_create_op()
10932 memcpy(plaintext, tdata->plaintext.data, tdata->plaintext.len); in test_AES_GMAC_authentication()
11062 memcpy(plaintext, tdata->plaintext.data, tdata->plaintext.len); in test_AES_GMAC_authentication_verify()
11796 memcpy(plaintext, reference->plaintext.data, reference->plaintext.len); in test_authentication_verify_fail_when_data_corruption()
11878 memcpy(plaintext, reference->plaintext.data, reference->plaintext.len); in test_authentication_verify_GMAC_fail_when_corruption()
[all …]
H A Dtest_cryptodev_mixed_test_vectors.h47 } plaintext; member
112 .plaintext = {
211 .plaintext = {
294 .plaintext = {
490 .plaintext = {
577 .plaintext = {
657 .plaintext = {
733 .plaintext = {
929 .plaintext = {
1008 .plaintext = {
[all …]
H A Dtest_cryptodev_hmac_test_vectors.h21 } plaintext; member
38 .plaintext = {
71 .plaintext = {
H A Dtest_cryptodev_blockcipher.c204 pktmbuf_write(ibuf, 0, tdata->plaintext.len, in test_blockcipher_one_case()
205 tdata->plaintext.data); in test_blockcipher_one_case()
268 pktmbuf_write(ibuf, 0, tdata->plaintext.len, in test_blockcipher_one_case()
269 tdata->plaintext.data); in test_blockcipher_one_case()
544 compare_ref = tdata->plaintext.data + in test_blockcipher_one_case()
546 compare_len = tdata->plaintext.len - in test_blockcipher_one_case()
H A Dtest_cryptodev_blockcipher.h68 } plaintext; member
/f-stack/freebsd/contrib/openzfs/module/icp/api/
H A Dkcf_cipher.c335 plaintext, ciphertext, tmpl); in crypto_encrypt_prov()
365 plaintext->cd_length)) == NULL) { in crypto_encrypt()
617 ciphertext, plaintext, tmpl); in crypto_decrypt_prov()
753 crypto_data_t *plaintext, crypto_call_req_t *cr) in crypto_decrypt_update() argument
772 plaintext, NULL); in crypto_decrypt_update()
831 error = KCF_PROV_DECRYPT_FINAL(pd, ctx, plaintext, in crypto_decrypt_final()
866 error = KCF_PROV_ENCRYPT(pd, ctx, plaintext, in crypto_encrypt_single()
871 NULL, NULL, plaintext, ciphertext, NULL); in crypto_encrypt_single()
885 crypto_data_t *plaintext, crypto_call_req_t *cr) in crypto_decrypt_single() argument
902 plaintext, NULL); in crypto_decrypt_single()
[all …]
/f-stack/freebsd/contrib/openzfs/module/icp/include/sys/crypto/
H A Dimpl.h674 plaintext, req) : \
853 plaintext, req) ( \ argument
869 plaintext, req) ( \ argument
893 ctx, plaintext, ciphertext, mac, req) : \
900 ctx, plaintext, ciphertext, req) : \
911 mac_mech, mac_key, plaintext, ciphertext, mac, \ argument
917 mac_mech, mac_key, plaintext, ciphertext, mac, \
934 ctx, ciphertext, mac, plaintext, req) : \
941 ctx, ciphertext, plaintext, req) : \
948 ctx, mac, plaintext, req) : \
[all …]
/f-stack/dpdk/app/test-crypto-perf/
H A Dcperf_test_vector_parsing.c27 rte_free(vector->plaintext.data); in free_test_vector()
47 if (test_vector->plaintext.data) { in show_test_vector()
49 for (i = 0; i < test_vector->plaintext.length; ++i) { in show_test_vector()
52 if (i == test_vector->plaintext.length - 1) in show_test_vector()
54 test_vector->plaintext.data[i]); in show_test_vector()
57 test_vector->plaintext.data[i]); in show_test_vector()
306 rte_free(vector->plaintext.data); in parse_entry()
307 vector->plaintext.data = data; in parse_entry()
309 vector->plaintext.length = data_length; in parse_entry()
316 vector->plaintext.length = opts->max_buffer_size; in parse_entry()
H A Dmain.c391 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
394 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
396 if (test_vec->plaintext.length < opts->max_buffer_size) in cperf_check_test_vector()
415 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
417 if (test_vec->plaintext.length < opts->max_buffer_size) in cperf_check_test_vector()
439 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
441 if (test_vec->plaintext.length < opts->max_buffer_size) in cperf_check_test_vector()
444 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
446 if (test_vec->plaintext.length < opts->max_buffer_size) in cperf_check_test_vector()
477 if (test_vec->plaintext.data == NULL) in cperf_check_test_vector()
[all …]
H A Dcperf_test_vectors.c10 uint8_t plaintext[2048] = { variable
412 t_vec->plaintext.data = plaintext; in cperf_test_vector_get_dummy()
413 t_vec->plaintext.length = options->max_buffer_size; in cperf_test_vector_get_dummy()
418 t_vec->ciphertext.data = plaintext; in cperf_test_vector_get_dummy()
476 t_vec->ciphertext.data = plaintext; in cperf_test_vector_get_dummy()
H A Dcperf_test_verify.c183 vector->plaintext.data, in cperf_verify_op()
211 test_vector->plaintext.data : in cperf_mbuf_set()
216 test_vector->plaintext.data : in cperf_mbuf_set()
H A Dcperf_test_vectors.h14 } plaintext; member
/f-stack/freebsd/crypto/camellia/
H A Dcamellia.h51 const unsigned char *plaintext,
58 unsigned char *plaintext);
/f-stack/freebsd/contrib/openzfs/include/sys/crypto/
H A Dapi.h171 extern int crypto_encrypt(crypto_mechanism_t *mech, crypto_data_t *plaintext,
183 crypto_data_t *plaintext, crypto_data_t *ciphertext,
192 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *plaintext,
204 crypto_data_t *ciphertext, crypto_data_t *plaintext,
206 extern int crypto_decrypt_final(crypto_context_t ctx, crypto_data_t *plaintext,
/f-stack/dpdk/doc/guides/tools/
H A Dcryptoperf.rst115 Set the size of single packet (plaintext or ciphertext in it).
337 typically information about plaintext, ciphertext, cipher key, auth key,
358 * ``plaintext``
360 Original plaintext to be encrypted.
364 Encrypted plaintext string.
426 plaintext =

12