encryption method supported | developer.brewmp.com encryption method supported | developer.brewmp.com

Developer

encryption method supported

Forums:

Hi,

How do I find out the (de)encryption algorithms a phone or SDK support (besides create a prototype and run it on the phone, I don't have all the phones)? I need to find out if any phones/SDK support 3DES and/or AES algorithm.

Thanks.

From SDK:
/*======================================================
FILE: AEESecurity.h
SERVICES: AEE Security Interface
DESCRIPTION: This file provides definitions for the Security interfaces made available by the AEE to application developers. This is a standard header file that must be included by all applications using the security services of the AEE.
There are 3 interfaces
IHash - Does MD5, MD2, and SHA1.
Also Supports HMAC for all of the above
ICipher - Does ArcFour (Stream cipher), DES, 3DES (block ciphers)
CLASS IDs: AEECLSID_MD5
AEECLSID_MD2
AEECLSID_SHA1
AEECLSID_SHA1CTX
AEECLSID_HMAC_SHA1
AEECLSID_HMAC_SHA1CTX
AEECLSID_ARC4
AEECLSID_DES_ENCRYPT
AEECLSID_DES_DECRYPT
AEECLSID_3DES_ENCRYPT
AEECLSID_3DES_DECRYPT
Copyright © 1999-2006 QUALCOMM Incorporated.
All Rights Reserved.
QUALCOMM Proprietary/GTDR
=====================================================*/

From SDK:
/*======================================================
FILE: AEESecurity.h
SERVICES: AEE Security Interface
DESCRIPTION: This file provides definitions for the Security interfaces made available by the AEE to application developers. This is a standard header file that must be included by all applications using the security services of the AEE.
There are 3 interfaces
IHash - Does MD5, MD2, and SHA1.
Also Supports HMAC for all of the above
ICipher - Does ArcFour (Stream cipher), DES, 3DES (block ciphers)
CLASS IDs: AEECLSID_MD5
AEECLSID_MD2
AEECLSID_SHA1
AEECLSID_SHA1CTX
AEECLSID_HMAC_SHA1
AEECLSID_HMAC_SHA1CTX
AEECLSID_ARC4
AEECLSID_DES_ENCRYPT
AEECLSID_DES_DECRYPT
AEECLSID_3DES_ENCRYPT
AEECLSID_3DES_DECRYPT
Copyright © 1999-2006 QUALCOMM Incorporated.
All Rights Reserved.
QUALCOMM Proprietary/GTDR
=====================================================*/

Viorel M wrote:From SDK:
/*======================================================
FILE: AEESecurity.h
SERVICES: AEE Security Interface
DESCRIPTION: This file provides definitions for the Security interfaces made available by the AEE to application developers. This is a standard header file that must be included by all applications using the security services of the AEE.
There are 3 interfaces
IHash - Does MD5, MD2, and SHA1.
Also Supports HMAC for all of the above
ICipher - Does ArcFour (Stream cipher), DES, 3DES (block ciphers)
CLASS IDs: AEECLSID_MD5
AEECLSID_MD2
AEECLSID_SHA1
AEECLSID_SHA1CTX
AEECLSID_HMAC_SHA1
AEECLSID_HMAC_SHA1CTX
AEECLSID_ARC4
AEECLSID_DES_ENCRYPT
AEECLSID_DES_DECRYPT
AEECLSID_3DES_ENCRYPT
AEECLSID_3DES_DECRYPT
Copyright © 1999-2006 QUALCOMM Incorporated.
All Rights Reserved.
QUALCOMM Proprietary/GTDR
=====================================================*/
Thank you for your reply. I noticed this before. Just because ClassIDs are there, that does not mean all phones support all the encryption algorithms. Have you tried them on phones with a specific SDK? For example, SDK 2.1 supports AEECLSID_3DES_ENCRYPT.
Thanks.

Viorel M wrote:From SDK:
/*======================================================
FILE: AEESecurity.h
SERVICES: AEE Security Interface
DESCRIPTION: This file provides definitions for the Security interfaces made available by the AEE to application developers. This is a standard header file that must be included by all applications using the security services of the AEE.
There are 3 interfaces
IHash - Does MD5, MD2, and SHA1.
Also Supports HMAC for all of the above
ICipher - Does ArcFour (Stream cipher), DES, 3DES (block ciphers)
CLASS IDs: AEECLSID_MD5
AEECLSID_MD2
AEECLSID_SHA1
AEECLSID_SHA1CTX
AEECLSID_HMAC_SHA1
AEECLSID_HMAC_SHA1CTX
AEECLSID_ARC4
AEECLSID_DES_ENCRYPT
AEECLSID_DES_DECRYPT
AEECLSID_3DES_ENCRYPT
AEECLSID_3DES_DECRYPT
Copyright © 1999-2006 QUALCOMM Incorporated.
All Rights Reserved.
QUALCOMM Proprietary/GTDR
=====================================================*/
Thank you for your reply. I noticed this before. Just because ClassIDs are there, that does not mean all phones support all the encryption algorithms. Have you tried them on phones with a specific SDK? For example, SDK 2.1 supports AEECLSID_3DES_ENCRYPT.
Thanks.

I have tried AEECLSID_MD5 on different handsets with BREW 2.1 and one on BREW 3.1.2 and it worked ok on all of them.
I am not sure but I don’t think that encryption supported methods is a phone characteristic. I think it’s more about BREW version. I have tried to search this, in different device specifications and I couldn’t find anything about encryption related to certain device.

I have tried AEECLSID_MD5 on different handsets with BREW 2.1 and one on BREW 3.1.2 and it worked ok on all of them.
I am not sure but I don’t think that encryption supported methods is a phone characteristic. I think it’s more about BREW version. I have tried to search this, in different device specifications and I couldn’t find anything about encryption related to certain device.

Viorel M wrote:I have tried AEECLSID_MD5 on different handsets with BREW 2.1 and one on BREW 3.1.2 and it worked ok on all of them.
I am not sure but I don’t think that encryption supported methods is a phone characteristic. I think it’s more about BREW version. I have tried to search this, in different device specifications and I couldn’t find anything about encryption related to certain device.
Hi, Viorel. Have you tried block ciphers in BLOCK_CIPHER.bid using ICipherFactory? Are they supported as stated in 3.x? I think this may depends on phone/OEM, not just SDK.

Viorel M wrote:I have tried AEECLSID_MD5 on different handsets with BREW 2.1 and one on BREW 3.1.2 and it worked ok on all of them.
I am not sure but I don’t think that encryption supported methods is a phone characteristic. I think it’s more about BREW version. I have tried to search this, in different device specifications and I couldn’t find anything about encryption related to certain device.
Hi, Viorel. Have you tried block ciphers in BLOCK_CIPHER.bid using ICipherFactory? Are they supported as stated in 3.x? I think this may depends on phone/OEM, not just SDK.