Searched refs:ciphertext (Results 1 – 10 of 10) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/stream/salsa20/ |
A D | xsalsa20_test.c | 47 unsigned char ciphertext[17]; in xsalsa20_test() 53 if ((err = salsa20_crypt(&st, msg, msglen, ciphertext)) != CRYPT_OK) return err; in xsalsa20_test() 57 if ((err = salsa20_crypt(&st, ciphertext, msglen, msg2)) != CRYPT_OK) return err; in xsalsa20_test() 64 …alsa20_memory(key, sizeof(key), 20, nonce, sizeof(nonce), msg, msglen, ciphertext)) != CRYPT_OK) … in xsalsa20_test() 65 …if ((err = xsalsa20_memory(key, sizeof(key), 20, nonce, sizeof(nonce), ciphertext, msglen, msg2)) … in xsalsa20_test()
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | ccm.c | 475 unsigned char ciphertext[CCM_SELFTEST_CT_MAX_LEN]; in mbedtls_ccm_self_test() local 496 memset( ciphertext, 0, CCM_SELFTEST_CT_MAX_LEN ); in mbedtls_ccm_self_test() 502 plaintext, ciphertext, in mbedtls_ccm_self_test() 503 ciphertext + msg_len_test_data[i], in mbedtls_ccm_self_test() 507 memcmp( ciphertext, res_test_data[i], in mbedtls_ccm_self_test() 520 ciphertext, plaintext, in mbedtls_ccm_self_test() 521 ciphertext + msg_len_test_data[i], in mbedtls_ccm_self_test()
|
/optee_os/core/lib/libtomcrypt/src/ciphers/ |
A D | anubis.c | 1030 static void anubis_crypt(const unsigned char *plaintext, unsigned char *ciphertext, in anubis_crypt() argument 1116 ciphertext[pos ] = (unsigned char)(w >> 24); in anubis_crypt() 1117 ciphertext[pos + 1] = (unsigned char)(w >> 16); in anubis_crypt() 1118 ciphertext[pos + 2] = (unsigned char)(w >> 8); in anubis_crypt() 1119 ciphertext[pos + 3] = (unsigned char)(w ); in anubis_crypt()
|
A D | khazad.c | 672 static void khazad_crypt(const unsigned char *plaintext, unsigned char *ciphertext, in khazad_crypt() argument 724 ciphertext[0] = (unsigned char)(state >> 56); in khazad_crypt() 725 ciphertext[1] = (unsigned char)(state >> 48); in khazad_crypt() 726 ciphertext[2] = (unsigned char)(state >> 40); in khazad_crypt() 727 ciphertext[3] = (unsigned char)(state >> 32); in khazad_crypt() 728 ciphertext[4] = (unsigned char)(state >> 24); in khazad_crypt() 729 ciphertext[5] = (unsigned char)(state >> 16); in khazad_crypt() 730 ciphertext[6] = (unsigned char)(state >> 8); in khazad_crypt() 731 ciphertext[7] = (unsigned char)(state ); in khazad_crypt()
|
/optee_os/core/lib/libtomcrypt/src/encauth/eax/ |
A D | eax_test.c | 38 ciphertext[MAXBLOCKSIZE], in eax_test() 234 … compare_testvector(outct, tests[x].msglen, tests[x].ciphertext, tests[x].msglen, "EAX CT", x)) { in eax_test()
|
/optee_os/scripts/ |
A D | sign_helper_kms.py | 86 def decrypt(self, ciphertext: bytes, padding: AsymmetricPadding) -> bytes:
|
A D | sign_encrypt.py | 235 ciphertext = out[:-16] 265 f.write(ciphertext)
|
/optee_os/out/arm/export-ta_arm32/scripts/ |
A D | sign_encrypt.py | 235 ciphertext = out[:-16] 265 f.write(ciphertext)
|
/optee_os/out/arm/export-ta_arm64/scripts/ |
A D | sign_encrypt.py | 235 ciphertext = out[:-16] 265 f.write(ciphertext)
|
/optee_os/lib/libmbedtls/mbedtls/ |
A D | ChangeLog | 340 these new functions always append the tag to the ciphertext, and include 341 the tag in the ciphertext length.
|
Completed in 25 milliseconds