Home
last modified time | relevance | path

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

/optee_test/ta/crypt/
A Daes_taf.c52 unsigned char *plaintext = params[1].memref.buffer; in ta_entry_aes256ecb_encrypt() local
56 &plaintext[i * (AES_BLOCK_SIZE / 8)]); in ta_entry_aes256ecb_encrypt()
93 unsigned char *plaintext = params[1].memref.buffer; in ta_entry_aes256ecb_decrypt() local
97 &plaintext[i * (AES_BLOCK_SIZE / 8)]); in ta_entry_aes256ecb_decrypt()
A Daes_impl.c691 #define GETU32(plaintext) (((u32)(plaintext)[0] << 24) ^ \ argument
692 ((u32)(plaintext)[1] << 16) ^ \
693 ((u32)(plaintext)[2] << 8) ^ \
694 ((u32)(plaintext)[3]))
856 s0 = GETU32(plaintext) ^ rk[0]; in rijndaelEncrypt()
857 s1 = GETU32(plaintext + 4) ^ rk[1]; in rijndaelEncrypt()
1045 u8 plaintext[16]) in rijndaelDecrypt()
1233 PUTU32(plaintext, s0); in rijndaelDecrypt()
1238 PUTU32(plaintext + 4, s1); in rijndaelDecrypt()
1243 PUTU32(plaintext + 8, s2); in rijndaelDecrypt()
[all …]
/optee_test/ta/crypt/include/
A Daes_impl.h17 const unsigned char plaintext[16],
22 unsigned char plaintext[16]);
/optee_test/host/xtest/
A Dpkcs11_1000.c7186 uint8_t plaintext[512] = { 0 }; in test_rsa_oaep_operations() local
7287 memset(plaintext, 0, sizeof(plaintext)); in test_rsa_oaep_operations()
7291 memcpy(plaintext, rsa_oaep_message, sizeof(rsa_oaep_message)); in test_rsa_oaep_operations()
7298 rv = C_Encrypt(session, plaintext, plaintext_len, NULL, in test_rsa_oaep_operations()
7303 rv = C_Encrypt(session, plaintext, plaintext_len, ciphertext, in test_rsa_oaep_operations()
7314 memset(plaintext, 0, sizeof(plaintext)); in test_rsa_oaep_operations()
7326 rv = C_Decrypt(session, ciphertext, ciphertext_len, plaintext, in test_rsa_oaep_operations()
7330 sizeof(rsa_oaep_message), plaintext, in test_rsa_oaep_operations()

Completed in 18 milliseconds