| /optee_os/core/lib/libtomcrypt/src/encauth/eax/ |
| H A D | eax_test.c | 30 plaintext[MAXBLOCKSIZE], in eax_test() 223 tests[x].plaintext, tests[x].msglen, outct, outtag, &len)) != CRYPT_OK) { in eax_test() 237 …if ((res != 1) || compare_testvector(outct, tests[x].msglen, tests[x].plaintext, tests[x].msglen, … in eax_test()
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | psa_crypto_aead.c | 123 const uint8_t *plaintext, size_t plaintext_length, in mbedtls_psa_aead_encrypt() argument 153 plaintext, ciphertext, in mbedtls_psa_aead_encrypt() 165 plaintext, ciphertext, in mbedtls_psa_aead_encrypt() 181 plaintext, in mbedtls_psa_aead_encrypt() 192 (void) plaintext; in mbedtls_psa_aead_encrypt() 236 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length) in mbedtls_psa_aead_decrypt() argument 264 ciphertext, plaintext, in mbedtls_psa_aead_decrypt() 277 ciphertext, plaintext)); in mbedtls_psa_aead_decrypt() 294 plaintext)); in mbedtls_psa_aead_decrypt() 302 (void) plaintext; in mbedtls_psa_aead_decrypt()
|
| H A D | psa_crypto_aead.h | 73 const uint8_t *plaintext, size_t plaintext_length, 137 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length);
|
| H A D | ccm.c | 689 unsigned char plaintext[CCM_SELFTEST_PT_MAX_LEN]; in mbedtls_ccm_self_test() local 710 memset(plaintext, 0, CCM_SELFTEST_PT_MAX_LEN); in mbedtls_ccm_self_test() 712 memcpy(plaintext, msg_test_data, msg_len_test_data[i]); in mbedtls_ccm_self_test() 717 plaintext, ciphertext, in mbedtls_ccm_self_test() 730 memset(plaintext, 0, CCM_SELFTEST_PT_MAX_LEN); in mbedtls_ccm_self_test() 735 ciphertext, plaintext, in mbedtls_ccm_self_test() 740 memcmp(plaintext, msg_test_data, msg_len_test_data[i]) != 0) { in mbedtls_ccm_self_test()
|
| H A D | psa_crypto_driver_wrappers.h | 1718 const uint8_t *plaintext, size_t plaintext_length, in psa_driver_wrapper_aead_encrypt() argument 1738 plaintext, plaintext_length, in psa_driver_wrapper_aead_encrypt() 1752 plaintext, plaintext_length, in psa_driver_wrapper_aead_encrypt() 1771 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) in psa_driver_wrapper_aead_decrypt() argument 1791 plaintext, plaintext_size, plaintext_length ); in psa_driver_wrapper_aead_decrypt() 1805 plaintext, plaintext_size, plaintext_length ) ); in psa_driver_wrapper_aead_decrypt() 2105 uint8_t *plaintext, in psa_driver_wrapper_aead_verify() argument 2121 plaintext, in psa_driver_wrapper_aead_verify() 2148 plaintext, plaintext_size, in psa_driver_wrapper_aead_verify() 2157 (void)plaintext; in psa_driver_wrapper_aead_verify()
|
| H A D | psa_crypto.c | 4939 LOCAL_INPUT_DECLARE(plaintext_external, plaintext); in psa_aead_encrypt() 4957 LOCAL_INPUT_ALLOC(plaintext_external, plaintext_length, plaintext); in psa_aead_encrypt() 4970 plaintext, plaintext_length, in psa_aead_encrypt() 4980 LOCAL_INPUT_FREE(plaintext_external, plaintext); in psa_aead_encrypt() 5006 LOCAL_OUTPUT_DECLARE(plaintext_external, plaintext); in psa_aead_decrypt() 5025 LOCAL_OUTPUT_ALLOC(plaintext_external, plaintext_size, plaintext); in psa_aead_decrypt() 5038 plaintext, plaintext_size, plaintext_length); in psa_aead_decrypt() 5041 memset(plaintext, 0, plaintext_size); in psa_aead_decrypt() 5048 LOCAL_OUTPUT_FREE(plaintext_external, plaintext); in psa_aead_decrypt() 5582 LOCAL_OUTPUT_DECLARE(plaintext_external, plaintext); in psa_aead_verify() [all …]
|
| /optee_os/core/lib/libtomcrypt/src/ciphers/ |
| H A D | anubis.c | 1023 static void anubis_crypt(const unsigned char *plaintext, unsigned char *ciphertext, in anubis_crypt() argument 1035 (((ulong32)plaintext[pos ]) << 24) ^ in anubis_crypt() 1036 (((ulong32)plaintext[pos + 1]) << 16) ^ in anubis_crypt() 1037 (((ulong32)plaintext[pos + 2]) << 8) ^ in anubis_crypt() 1038 (((ulong32)plaintext[pos + 3]) ) ^ in anubis_crypt()
|
| H A D | khazad.c | 665 static void khazad_crypt(const unsigned char *plaintext, unsigned char *ciphertext, in khazad_crypt() argument 674 ((ulong64)plaintext[0] << 56) ^ in khazad_crypt() 675 ((ulong64)plaintext[1] << 48) ^ in khazad_crypt() 676 ((ulong64)plaintext[2] << 40) ^ in khazad_crypt() 677 ((ulong64)plaintext[3] << 32) ^ in khazad_crypt() 678 ((ulong64)plaintext[4] << 24) ^ in khazad_crypt() 679 ((ulong64)plaintext[5] << 16) ^ in khazad_crypt() 680 ((ulong64)plaintext[6] << 8) ^ in khazad_crypt() 681 ((ulong64)plaintext[7] ) ^ in khazad_crypt()
|
| /optee_os/core/drivers/crypto/crypto_api/acipher/ |
| H A D | ecc.c | 375 cdata.plaintext.data = (uint8_t *)src; in ecc_sm2_encrypt() 376 cdata.plaintext.length = src_len; in ecc_sm2_encrypt() 460 cdata.plaintext.data = dst; in ecc_sm2_decrypt() 461 cdata.plaintext.length = plaintext_len; in ecc_sm2_decrypt() 467 *dst_len = cdata.plaintext.length; in ecc_sm2_decrypt()
|
| /optee_os/lib/libmbedtls/mbedtls/include/psa/ |
| H A D | crypto.h | 2127 const uint8_t *plaintext, 2202 uint8_t *plaintext, 2804 uint8_t *plaintext,
|
| /optee_os/core/drivers/crypto/crypto_api/include/ |
| H A D | drvcrypt_acipher.h | 145 struct drvcrypt_buf plaintext; /* Clear text message */ member
|
| /optee_os/lib/libmbedtls/mbedtls/ |
| H A D | ChangeLog | 62 ciphertexts to recover the plaintext through a timing oracle attack. 655 could be sufficient for an attacker to recover the plaintext. A local 1826 * Ignore plaintext/ciphertext lengths for CCM*-no-tag operations. 2648 * Zeroising of plaintext buffers in mbedtls_ssl_read() to erase unused 2746 plaintext after repeated timing measurements under some conditions. 3403 a plaintext for RSA PKCS#1 v1.5 decryption but only observe the timing 3626 partially recover the plaintext of messages under some conditions by 3640 plaintext of messages under some conditions by using a cache attack 3650 to partially recover the plaintext of messages under some conditions (see 3832 * Return the plaintext data more quickly on unpadded CBC decryption, as
|