Home
last modified time | relevance | path

Searched refs:ciphertext (Results 1 – 25 of 28) sorted by relevance

12

/f-stack/freebsd/contrib/openzfs/module/icp/io/
H A Daes.c411 ASSERT(ciphertext != NULL); in aes_encrypt()
462 ciphertext->cd_offset = ciphertext->cd_length; in aes_encrypt()
463 ciphertext->cd_length = saved_length - ciphertext->cd_length; in aes_encrypt()
471 ciphertext->cd_length = in aes_encrypt()
483 ciphertext->cd_offset = ciphertext->cd_length; in aes_encrypt()
484 ciphertext->cd_length = saved_length - ciphertext->cd_length; in aes_encrypt()
493 ciphertext->cd_length = in aes_encrypt()
633 ASSERT(ciphertext != NULL); in aes_encrypt_update()
680 ciphertext->cd_length = in aes_encrypt_update()
945 ASSERT(ciphertext != NULL); in aes_encrypt_atomic()
[all …]
/f-stack/dpdk/app/test/
H A Dtest_cryptodev_security_docsis_test_vectors.h41 } ciphertext; member
75 .ciphertext = {
124 .ciphertext = {
174 .ciphertext = {
226 .ciphertext = {
284 .ciphertext = {
348 .ciphertext = {
413 .ciphertext = {
470 .ciphertext = {
527 .ciphertext = {
[all …]
H A Dtest_cryptodev_aead_test_vectors.h56 } ciphertext; member
111 .ciphertext = {
149 .ciphertext = {
193 .ciphertext = {
246 .ciphertext = {
301 .ciphertext = {
357 .ciphertext = {
412 .ciphertext = {
715 .ciphertext = {
1015 .ciphertext = {
[all …]
H A Dtest_cryptodev_hash_test_vectors.h44 .ciphertext = {
60 .ciphertext = {
84 .ciphertext = {
102 .ciphertext = {
128 .ciphertext = {
147 .ciphertext = {
175 .ciphertext = {
194 .ciphertext = {
222 .ciphertext = {
243 .ciphertext = {
[all …]
H A Dtest_cryptodev_kasumi_test_vectors.h36 } ciphertext; member
91 .ciphertext = {
144 .ciphertext = {
187 .ciphertext = {
237 .ciphertext = {
287 .ciphertext = {
336 .ciphertext = {
398 .ciphertext = {
H A Dtest_cryptodev_snow3g_test_vectors.h27 } ciphertext; member
96 .ciphertext = {
160 .ciphertext = {
213 .ciphertext = {
269 .ciphertext = {
322 .ciphertext = {
385 .ciphertext = {
464 .ciphertext = {
557 .ciphertext = {
637 .ciphertext = {
[all …]
H A Dtest_cryptodev_des_test_vectors.h124 .ciphertext = {
150 .ciphertext = {
185 .ciphertext = {
296 .ciphertext = {
323 .ciphertext = {
359 .ciphertext = {
538 .ciphertext = {
564 .ciphertext = {
599 .ciphertext = {
710 .ciphertext = {
[all …]
H A Dtest_cryptodev_aes_test_vectors.h738 .ciphertext = {
763 .ciphertext = {
789 .ciphertext = {
813 .ciphertext = {
838 .ciphertext = {
864 .ciphertext = {
888 .ciphertext = {
915 .ciphertext = {
960 .ciphertext = {
1005 .ciphertext = {
[all …]
H A Dtest_cryptodev_mixed_test_vectors.h52 } ciphertext; member
133 .ciphertext = {
226 .ciphertext = {
363 .ciphertext = {
505 .ciphertext = {
588 .ciphertext = {
668 .ciphertext = {
802 .ciphertext = {
940 .ciphertext = {
1019 .ciphertext = {
[all …]
H A Dtest_cryptodev_zuc_test_vectors.h27 } ciphertext; member
81 .ciphertext = {
131 .ciphertext = {
202 .ciphertext = {
304 .ciphertext = {
444 .ciphertext = {
544 .ciphertext = {
608 .ciphertext = {
1092 .ciphertext = {
H A Dtest_cryptodev.c3236 ciphertext, in test_kasumi_encryption()
3340 ciphertext, in test_kasumi_encryption_sgl()
4661 tdata->ciphertext.data, tdata->ciphertext.len >> 3); in test_snow3g_auth_cipher()
4865 tdata->ciphertext.data, tdata->ciphertext.len >> 3); in test_snow3g_auth_cipher_sgl()
5061 tdata->ciphertext.data, tdata->ciphertext.len >> 3); in test_kasumi_auth_cipher()
5266 tdata->ciphertext.data, tdata->ciphertext.len >> 3); in test_kasumi_auth_cipher_sgl()
7545 memcpy(ciphertext, tdata->ciphertext.data, in create_aead_operation()
8552 memcpy(ciphertext, d_td->ciphertext.data, d_td->ciphertext.len); in test_docsis_proto_uplink()
8823 if (memcmp(ciphertext, d_td->ciphertext.data, d_td->ciphertext.len)) { in test_docsis_proto_downlink()
11968 memcpy(ciphertext, reference->ciphertext.data, in test_authenticated_decryption_fail_when_corruption()
[all …]
H A Dtest_cryptodev_blockcipher.c90 uint32_t buf_len = tdata->ciphertext.len; in test_blockcipher_one_case()
190 tdata->ciphertext.len, nb_segs, src_pattern); in test_blockcipher_one_case()
207 pktmbuf_write(ibuf, 0, tdata->ciphertext.len, in test_blockcipher_one_case()
208 tdata->ciphertext.data); in test_blockcipher_one_case()
261 rte_pktmbuf_append(ibuf, tdata->ciphertext.len); in test_blockcipher_one_case()
271 pktmbuf_write(ibuf, 0, tdata->ciphertext.len, in test_blockcipher_one_case()
272 tdata->ciphertext.data); in test_blockcipher_one_case()
412 uint32_t digest_offset = tdata->ciphertext.len; in test_blockcipher_one_case()
539 compare_ref = tdata->ciphertext.data + in test_blockcipher_one_case()
541 compare_len = tdata->ciphertext.len - in test_blockcipher_one_case()
[all …]
H A Dtest_cryptodev_blockcipher.h73 } ciphertext; member
/f-stack/freebsd/contrib/openzfs/module/icp/api/
H A Dkcf_cipher.c335 plaintext, ciphertext, tmpl); in crypto_encrypt_prov()
402 mech, key, plaintext, ciphertext, spi_ctx_tmpl); in crypto_encrypt()
470 crypto_data_t *ciphertext, crypto_call_req_t *cr) in crypto_encrypt_update() argument
489 ciphertext, NULL); in crypto_encrypt_update()
617 ciphertext, plaintext, tmpl); in crypto_decrypt_prov()
648 ciphertext->cd_length)) == NULL) { in crypto_decrypt()
850 crypto_data_t *ciphertext, crypto_call_req_t *cr) in crypto_encrypt_single() argument
867 ciphertext, NULL); in crypto_encrypt_single()
871 NULL, NULL, plaintext, ciphertext, NULL); in crypto_encrypt_single()
901 error = KCF_PROV_DECRYPT(pd, ctx, ciphertext, in crypto_decrypt_single()
[all …]
/f-stack/freebsd/contrib/libsodium/test/default/
H A Daead_aes256gcm.c3083 unsigned char *ciphertext; in tv() local
3135 ciphertext = (unsigned char *) sodium_malloc(ciphertext_len); in tv()
3150 ciphertext, ciphertext_len); in tv()
3155 crypto_aead_aes256gcm_encrypt(ciphertext, &found_ciphertext_len, in tv()
3160 if (memcmp(ciphertext, expected_ciphertext, ciphertext_len) != 0) { in tv()
3164 ciphertext, ciphertext_len); in tv()
3172 NULL, ciphertext, in tv()
3189 NULL, ciphertext, ciphertext_len, in tv()
3194 NULL, ciphertext, ciphertext_len, in tv()
3216 sodium_free(ciphertext); in tv()
/f-stack/freebsd/contrib/openzfs/module/icp/include/sys/crypto/
H A Dimpl.h644 ciphertext, req) : \
845 ciphertext, req) ( \ argument
861 ciphertext, req) ( \ argument
893 ctx, plaintext, ciphertext, mac, req) : \
900 ctx, plaintext, ciphertext, req) : \
907 ctx, ciphertext, mac, 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) : \
[all …]
/f-stack/dpdk/app/test-crypto-perf/
H A Dcperf_test_vectors.c185 uint8_t ciphertext[2048] = { variable
418 t_vec->ciphertext.data = plaintext; in cperf_test_vector_get_dummy()
422 t_vec->ciphertext.data = ciphertext; in cperf_test_vector_get_dummy()
439 t_vec->ciphertext.length = options->max_buffer_size; in cperf_test_vector_get_dummy()
476 t_vec->ciphertext.data = plaintext; in cperf_test_vector_get_dummy()
480 t_vec->ciphertext.data = ciphertext; in cperf_test_vector_get_dummy()
497 t_vec->ciphertext.length = options->max_buffer_size; in cperf_test_vector_get_dummy()
H A Dcperf_test_vector_parsing.c30 rte_free(vector->ciphertext.data); in free_test_vector()
144 if (test_vector->ciphertext.data) { in show_test_vector()
146 for (i = 0; i < test_vector->ciphertext.length; ++i) { in show_test_vector()
149 if (i == test_vector->ciphertext.length - 1) in show_test_vector()
151 test_vector->ciphertext.data[i]); in show_test_vector()
154 test_vector->ciphertext.data[i]); in show_test_vector()
404 rte_free(vector->ciphertext.data); in parse_entry()
405 vector->ciphertext.data = data; in parse_entry()
407 vector->ciphertext.length = data_length; in parse_entry()
414 vector->ciphertext.length = opts->max_buffer_size; in parse_entry()
H A Dcperf_test_vectors.h49 } ciphertext; member
76 extern uint8_t ciphertext[2048];
H A Dmain.c398 if (test_vec->ciphertext.data == NULL) in cperf_check_test_vector()
400 if (test_vec->ciphertext.length < opts->max_buffer_size) in cperf_check_test_vector()
448 if (test_vec->ciphertext.data == NULL) in cperf_check_test_vector()
450 if (test_vec->ciphertext.length < opts->max_buffer_size) in cperf_check_test_vector()
481 if (test_vec->ciphertext.data == NULL) in cperf_check_test_vector()
483 if (test_vec->ciphertext.length < opts->max_buffer_size) in cperf_check_test_vector()
H A Dcperf_test_verify.c179 vector->ciphertext.data, in cperf_verify_op()
212 test_vector->ciphertext.data; in cperf_mbuf_set()
217 test_vector->ciphertext.data; in cperf_mbuf_set()
/f-stack/freebsd/contrib/openzfs/include/sys/crypto/
H A Dapi.h172 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext,
183 crypto_data_t *plaintext, crypto_data_t *ciphertext,
186 crypto_data_t *ciphertext, crypto_call_req_t *cr);
191 extern int crypto_decrypt(crypto_mechanism_t *mech, crypto_data_t *ciphertext,
204 crypto_data_t *ciphertext, crypto_data_t *plaintext,
/f-stack/freebsd/crypto/camellia/
H A Dcamellia.c1274 unsigned char *ciphertext) in Camellia_EncryptBlock() argument
1296 PUTU32(ciphertext, tmp[0]); in Camellia_EncryptBlock()
1297 PUTU32(ciphertext+4, tmp[1]); in Camellia_EncryptBlock()
1298 PUTU32(ciphertext+8, tmp[2]); in Camellia_EncryptBlock()
1299 PUTU32(ciphertext+12, tmp[3]); in Camellia_EncryptBlock()
1304 const unsigned char *ciphertext, in Camellia_DecryptBlock() argument
1310 tmp[0] = GETU32(ciphertext); in Camellia_DecryptBlock()
1311 tmp[1] = GETU32(ciphertext + 4); in Camellia_DecryptBlock()
1312 tmp[2] = GETU32(ciphertext + 8); in Camellia_DecryptBlock()
1313 tmp[3] = GETU32(ciphertext + 12); in Camellia_DecryptBlock()
/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,
362 * ``ciphertext``
431 ciphertext =
/f-stack/freebsd/crypto/openssl/arm/
H A Dbsaes-armv7.S2491 @ calculate one round of extra tweak for the stolen ciphertext

12