Searched refs:ciphertext (Results 1 – 4 of 4) sorted by relevance
| /optee_test/ta/crypt/ |
| A D | aes_taf.c | 51 const unsigned char *ciphertext = params[0].memref.buffer; in ta_entry_aes256ecb_encrypt() local 55 &ciphertext[i * (AES_BLOCK_SIZE / 8)], in ta_entry_aes256ecb_encrypt() 92 const unsigned char *ciphertext = params[0].memref.buffer; in ta_entry_aes256ecb_decrypt() local 96 &ciphertext[i * (AES_BLOCK_SIZE / 8)], in ta_entry_aes256ecb_decrypt()
|
| A D | aes_impl.c | 696 #define PUTU32(ciphertext, st) { (ciphertext)[0] = (u8)((st) >> 24); \ argument 699 (ciphertext)[3] = (u8)(st); } 839 u8 ciphertext[16]) in rijndaelEncrypt() 1026 PUTU32(ciphertext, s0); in rijndaelEncrypt() 1031 PUTU32(ciphertext + 4, s1); in rijndaelEncrypt() 1036 PUTU32(ciphertext + 8, s2); in rijndaelEncrypt() 1041 PUTU32(ciphertext + 12, s3); in rijndaelEncrypt() 1063 s0 = GETU32(ciphertext) ^ rk[0]; in rijndaelDecrypt() 1064 s1 = GETU32(ciphertext + 4) ^ rk[1]; in rijndaelDecrypt() 1065 s2 = GETU32(ciphertext + 8) ^ rk[2]; in rijndaelDecrypt() [all …]
|
| /optee_test/ta/crypt/include/ |
| A D | aes_impl.h | 18 unsigned char ciphertext[16]); 21 const unsigned char ciphertext[16],
|
| /optee_test/host/xtest/ |
| A D | pkcs11_1000.c | 7184 uint8_t ciphertext[512] = { 0 }; in test_rsa_oaep_operations() local 7286 memset(ciphertext, 0, sizeof(ciphertext)); in test_rsa_oaep_operations() 7303 rv = C_Encrypt(session, plaintext, plaintext_len, ciphertext, in test_rsa_oaep_operations() 7321 rv = C_Decrypt(session, ciphertext, ciphertext_len, NULL, in test_rsa_oaep_operations() 7326 rv = C_Decrypt(session, ciphertext, ciphertext_len, plaintext, in test_rsa_oaep_operations()
|
Completed in 27 milliseconds