header update crypt

 avatar
Huongnm
c_cpp
a month ago
351 B
6
Indexable
#define AES_KEY_BIT_SIZE    256
#define AES_IV_SIZE         12
#define AES_TAG_SIZE        16

// Cấu trúc này sẽ được ghi xuống Secure Storage thay vì PasswordEntry thô
typedef struct {
    uint8_t iv[AES_IV_SIZE];
        uint8_t tag[AES_TAG_SIZE];
            uint8_t ciphertext[MAX_SIZE];
            } EncryptedPayload;
            
Editor is loading...
Leave a Comment