+ Post New Thread
Results 1 to 7 of 7
  1. #1
    Full Member level 3
    Points: 1,765, Level: 9

    Join Date
    Jun 2014
    Posts
    185
    Helped
    0 / 0
    Points
    1,765
    Level
    9

    Real time voice encryption/decryption with FPGA

    Hello,

    I have a FPGA where I am doing sampling in voice using A/D. I encrypt the data and I send them to the receiver. My question is how do I synchronize the transmitter with the receiver so that it decrypts the correct data? Any ideas? I use AES-128.

    Thank you...

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 77,099, Level: 67
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    15,620
    Helped
    3559 / 3559
    Points
    77,099
    Level
    67

    Re: Real time voice encryption/decryption with FPGA

    Hi,

    You need on the receiver side a FIFO and some kind of PLL to synchronize to the incoming data stream.

    Klaus
    Please don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



    •   AltAdvertisement

        
       

  3. #3
    Super Moderator
    Points: 31,335, Level: 43
    ads-ee's Avatar
    Join Date
    Sep 2013
    Location
    USA
    Posts
    7,235
    Helped
    1711 / 1711
    Points
    31,335
    Level
    43

    Re: Real time voice encryption/decryption with FPGA

    Quote Originally Posted by KlausST View Post
    Hi,

    You need on the receiver side a FIFO and some kind of PLL to synchronize to the incoming data stream.

    Klaus
    I think the question had more to do with framing the incoming data so they can tell where the AES blocks are.

    You should probably frame the AES blocks with some sort of encapsulation so you can tell where the blocks are (and you don't encrypt the encapsulation).


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  4. #4
    Advanced Member level 4
    Points: 6,208, Level: 18

    Join Date
    Feb 2015
    Posts
    1,020
    Helped
    286 / 286
    Points
    6,208
    Level
    18

    Re: Real time voice encryption/decryption with FPGA

    If blind decryption is needed, and if the AES mode allows, it should be possible to estimate which of the 128 different bit alignments is correct. decryption failures look like noise while success looks like your data. audio will have lower energy in 0hz and fs/2 because the analog frontend filters these out.


    1 members found this post helpful.

  5. #5
    Full Member level 5
    Points: 2,356, Level: 11

    Join Date
    May 2014
    Posts
    277
    Helped
    28 / 28
    Points
    2,356
    Level
    11

    Re: Real time voice encryption/decryption with FPGA

    Step1 Make sure you're not using any form of AES like CipherBlockChaining (at least not until you know where you are in the chain)
    Step2 Framing the data as outlined by #3 is a good place to start.
    example
    1234(AESword)4321-----1234(AESword)4321
    where 1234 is a delimiter

    Could you provide more information on your system please?


    1 members found this post helpful.

  6. #6
    Full Member level 3
    Points: 1,765, Level: 9

    Join Date
    Jun 2014
    Posts
    185
    Helped
    0 / 0
    Points
    1,765
    Level
    9

    Re: Real time voice encryption/decryption with FPGA

    Quote Originally Posted by wesleytaylor View Post
    Step1 Make sure you're not using any form of AES like CipherBlockChaining (at least not until you know where you are in the chain)
    Step2 Framing the data as outlined by #3 is a good place to start.
    example
    1234(AESword)4321-----1234(AESword)4321
    where 1234 is a delimiter

    Could you provide more information on your system please?
    Now, I use a Xilinx SPARTAN 3E, but if the receiver does not work correctly, I can use a Virtex 5.



    •   AltAdvertisement

        
       

  7. #7
    Advanced Member level 4
    Points: 6,208, Level: 18

    Join Date
    Feb 2015
    Posts
    1,020
    Helped
    286 / 286
    Points
    6,208
    Level
    18

    Re: Real time voice encryption/decryption with FPGA

    how do you send data to the receiver? can you make changes to how you send data to the receiver?



--[[ ]]--