]> AND Private Git Repository - Cipher_code.git/blobdiff - Arduino/libraries/Arduino-crypto-master/Crypto.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
code for Sbox AES
[Cipher_code.git] / Arduino / libraries / Arduino-crypto-master / Crypto.h
index 651d9f82467a471a2a635fe4adbe190590685126..8959817de643fde897f785540ba4414391bdc70b 100644 (file)
@@ -124,6 +124,7 @@ class AES
          * Note: the length must be a multiple of 16 bytes
          */
         void process(const uint8_t *in, uint8_t *out, int length);
          * Note: the length must be a multiple of 16 bytes
          */
         void process(const uint8_t *in, uint8_t *out, int length);
+       void encryptCTR(const uint8_t *in, uint8_t *out, int length);
        void encryptCBC(const uint8_t *in, uint8_t *out, int length);
         void decryptCBC(const uint8_t *in, uint8_t *out, int length);
         void convertKey();
        void encryptCBC(const uint8_t *in, uint8_t *out, int length);
         void decryptCBC(const uint8_t *in, uint8_t *out, int length);
         void convertKey();