Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
A Dccm.c474 unsigned char plaintext[CCM_SELFTEST_PT_MAX_LEN]; in mbedtls_ccm_self_test() local
495 memset( plaintext, 0, CCM_SELFTEST_PT_MAX_LEN ); in mbedtls_ccm_self_test()
497 memcpy( plaintext, msg_test_data, msg_len_test_data[i] ); in mbedtls_ccm_self_test()
502 plaintext, ciphertext, in mbedtls_ccm_self_test()
515 memset( plaintext, 0, CCM_SELFTEST_PT_MAX_LEN ); in mbedtls_ccm_self_test()
520 ciphertext, plaintext, in mbedtls_ccm_self_test()
525 memcmp( plaintext, msg_test_data, msg_len_test_data[i] ) != 0 ) in mbedtls_ccm_self_test()
/optee_os/core/lib/libtomcrypt/src/encauth/eax/
A Deax_test.c37 plaintext[MAXBLOCKSIZE], in eax_test()
230 tests[x].plaintext, tests[x].msglen, outct, outtag, &len)) != CRYPT_OK) { in eax_test()
244 …if ((res != 1) || compare_testvector(outct, tests[x].msglen, tests[x].plaintext, tests[x].msglen, … in eax_test()
/optee_os/core/lib/libtomcrypt/src/ciphers/
A Danubis.c1030 static void anubis_crypt(const unsigned char *plaintext, unsigned char *ciphertext, in anubis_crypt() argument
1042 (((ulong32)plaintext[pos ]) << 24) ^ in anubis_crypt()
1043 (((ulong32)plaintext[pos + 1]) << 16) ^ in anubis_crypt()
1044 (((ulong32)plaintext[pos + 2]) << 8) ^ in anubis_crypt()
1045 (((ulong32)plaintext[pos + 3]) ) ^ in anubis_crypt()
A Dkhazad.c672 static void khazad_crypt(const unsigned char *plaintext, unsigned char *ciphertext, in khazad_crypt() argument
681 ((ulong64)plaintext[0] << 56) ^ in khazad_crypt()
682 ((ulong64)plaintext[1] << 48) ^ in khazad_crypt()
683 ((ulong64)plaintext[2] << 40) ^ in khazad_crypt()
684 ((ulong64)plaintext[3] << 32) ^ in khazad_crypt()
685 ((ulong64)plaintext[4] << 24) ^ in khazad_crypt()
686 ((ulong64)plaintext[5] << 16) ^ in khazad_crypt()
687 ((ulong64)plaintext[6] << 8) ^ in khazad_crypt()
688 ((ulong64)plaintext[7] ) ^ in khazad_crypt()
/optee_os/lib/libmbedtls/mbedtls/
A DChangeLog544 * Zeroising of plaintext buffers in mbedtls_ssl_read() to erase unused
642 plaintext after repeated timing measurements under some conditions.
1299 a plaintext for RSA PKCS#1 v1.5 decryption but only observe the timing
1522 partially recover the plaintext of messages under some conditions by
1536 plaintext of messages under some conditions by using a cache attack
1546 to partially recover the plaintext of messages under some conditions (see
1728 * Return the plaintext data more quickly on unpadded CBC decryption, as

Completed in 14 milliseconds