×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Nov 2004
    Location
    minsk
    Posts
    432

    Question PIPS doesnot have public api's for AES

    Hi,
    I couldnot find public api's for AES on PIPS (open c/c++ pack) , Am i missing somethin g or it doesnot support Aes? , i Know ther is a diff set of cryptography apis but i want to use open c ones. any one have any experience in this field?

    -Julie
    Note: can anyone move this to http://www.developer.nokia.com/Commu...p?137-Open-C-C (open c c++) forum please?
    Last edited by julie_777; 2011-08-08 at 08:57.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: PIPS doesnot have public api's for AES

    Actually I can see an aes.h in stdapis\openssl, have you checked it? Moved the thread to the Open C/C++ board.

  3. #3
    Regular Contributor
    Join Date
    Nov 2004
    Location
    minsk
    Posts
    432

    Re: PIPS doesnot have public api's for AES

    I found that aes.h and managed to encrypt a srtring using 'aes ecb 128' mode, but the output is different from the crypto api!! might b the modes is different(you cannot mention mode in crypto api CAESencryptor)
    after encrypting I tried to derypt it using the openssl tool(windows installation) it couldnt decrypt the output! and i tried to make an encrypted string using windows openssl using same settings the output differs from pips one!! I wonder whats goin on!

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: PIPS doesnot have public api's for AES

    First I would check decryption with the same API.

  5. #5
    Registered User
    Join Date
    Jul 2011
    Posts
    20

    Re: PIPS doesnot have public api's for AES

    the same api set decrypts properly ,

  6. #6
    Regular Contributor
    Join Date
    Nov 2004
    Location
    minsk
    Posts
    432

    Re: PIPS doesnot have public api's for AES

    I tried to decrypt with same api lib I used for encryption , Interestingly it works , so I wonder whats wrong, who has the set the standards!!
    Last edited by julie_777; 2011-08-09 at 09:11.

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: PIPS doesnot have public api's for AES

    Ok, it was just a suggestion for a sanity check. It would have been pointless to fight with the other API-s on other platforms if it was not working on its own.

  8. #8
    Regular Contributor
    Join Date
    Nov 2004
    Location
    minsk
    Posts
    432

    Re: PIPS doesnot have public api's for AES

    i found the issue!! ,

    key[] ={1,2,3,4,5}
    and key[]= "12345" differ in memory
    thats was casuing the issue
    so my password ended up as wrong one!
    Last edited by julie_777; 2011-08-11 at 13:17.

Similar Threads

  1. How to run swf on Nokia 3500c which doesnot have flashlite player
    By bhanuj in forum [Archived] Flash Lite on Nokia Devices
    Replies: 7
    Last Post: 2010-12-10, 05:54
  2. [moved] Why the difference in response using HTTP Api's and RSocket API's?
    By newbie2201 in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2010-02-19, 18:39
  3. Public API's to read emails from Mail For Exchange
    By Priju Jacob Paul in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2009-03-20, 06:30
  4. AES encryption API's
    By PopAndDestroy in forum Symbian
    Replies: 9
    Last Post: 2008-11-04, 18:31
  5. Application doesnot get build for the Device
    By yogesh14 in forum Symbian
    Replies: 2
    Last Post: 2005-09-16, 12:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×