Galois/Counter mode of the Advanced Encryption Standard: A mode of operation of the AES block cipher which both encrypts and authenticates its input data.
Questions tagged [aes-gcm]
393 questions
0
votes
1 answer
Support of AES 256 with GCM not possible in iOS?
Currently the encryption mode supported with AES 256 is CBC. But I want to use AES 256 encryption with GCM mode along with PKCS5Padding / PKCS7Padding.
Do let me know how it can be done ?

BSNayal
- 1
- 1
- 1
0
votes
0 answers
Does AES-NI supports the AES-GCM Cipher?
AES-NI is to improve the speed of applications performing encryption and decryption using the Advanced Encryption Standard (AES).
Does AES-NI supports the AES-GCM cipher as well along AES-CBC? may i know why aesni_gcm_cipher is defined in…

rakesh sharma
- 129
- 2
- 8
0
votes
0 answers
Java SSLSocket inefficient GCM
I am using Java's SSLSocket with cipher suite: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
Which turned out to be very inefficient.
I want to still use the above cipher suite and override the Java's default algorithm with my implementation.
What is the…

Saar peer
- 817
- 6
- 21
0
votes
2 answers
AES 128 GCM objective C osx
I am trying to encrypt/decrypt a string in an AES-128 GCM format in objective c. I have looked everywhere but can't seem to find a working solution.

Samantha Black
- 11
- 5
0
votes
1 answer
Implementing Galois Counter Mode
I'm looking to Implement Galois Counter Mode (not, use, implement) for a proprietary TLS implementation. The problem I'm having is that I can't figure out if the 128-bit sizes for the standard NIST design are coupled to the 128-bit sizes for the…

dciliske
- 157
- 2
- 9
0
votes
0 answers
AES-GCM-256 encryption
We need to encrypt a UUID string using AES-GCM-256 and consumer will decrypt it using the same AES-GCM-256.As per the recommendation (RFC) the IV(initialization vector) must be unique for each invocation,I am confused how IV values will be common or…

dReAmEr
- 6,986
- 7
- 36
- 63
0
votes
0 answers
Notification receiver failed to catch the GCM message in particular devices
When am receiving GCM Notification am getting the below error log.
W/GCM-DMM: broadcast intent callback: result=CANCELLED forIntent {act=com.google.android.c2dm.intent.RECEIVE pkg=****** (has extras) }
Condition:
1. At the time my application is not…

Naveen Kumar Kuppan
- 1,424
- 1
- 10
- 12
0
votes
1 answer
Possible faults in AES implementation in Android
I'm trying to implement AES encryption ,in Android, which uses a pass phrase to generate the SecretKey. I'm passing the same byte[]
as initialization vector to the ciphers and as salt when generating the SecretKey with PBKDF2.
The passphrase is…

guy.gc
- 3,359
- 2
- 24
- 39
0
votes
0 answers
Using AES symmetric key for generating tokens
I'm working on encrypting and decryption of authentication token.I'm very much new to security.
I have few questions can anyone help me
What is the most secure way to store AES secretkey ?
Is there any advantage of using KeyStore file over just…

amer
- 121
- 1
- 15
0
votes
1 answer
InvalidTag error decrypting pushbullet notification with python-cryptography
I am trying to implement End-to-end encryption support for pushbullet ephemeral messages in python3.
I'm using python-cryptography, but I get an InvalidTag-Exception while decrypting. I have double checked the key, iv and tag, but I can't figure out…

Benjamin Maurer
- 3,602
- 5
- 28
- 49
0
votes
1 answer
Unable to get correct output from AES-128-GCM
The following test code should theoretically give me the result from the NIST test suite of 58e2fccefa7e3061367f1d57a4e7455a , however a hexdump of the output yields 9eeaed13b5f591104e2cda197fb99eeaed13b5f591104e2cda197fb9 instead ?
#include…

Little Code
- 1,315
- 2
- 16
- 37
0
votes
1 answer
How do I strip the signature from an AES-GCM cipher text?
We have a requirement to encrypt a string and see if the encrypted string already exists in a database.
If we use AES-GCM the same unencrypted data results in a different encrypted string each time. This renders the matching useless.
Is there a…

s.k
- 519
- 4
- 7
- 23
0
votes
1 answer
GCM authenticated encryption function for PHP
I need to run the following on a shared web hosting account running PHP engine Version 5.4.34. (I.e. I can't install any 3rd party libraries.)
Is there a standard function to implement Galois/Counter Mode (GCM) authenticated encryption (of AES…

c00000fd
- 20,994
- 29
- 177
- 400
0
votes
0 answers
How to implement AES-GCM encryption using kernel Crypto API?
Hi I am working on a stackable filesystem WrapFS and trying to implement AES-GCM cipher on it to encrypt the data stored in the underlying file system. I am having major troubles in handling the GCM mode for AES at kernel level. However I was…

bawejakunal
- 1,678
- 2
- 25
- 54
0
votes
1 answer
Decrypting data, using aes gcm with the openssl evp interface in IOS
I've got the following code for decrypting the data:
-(NSString*)_decrypte:(NSString*)encrypted
{
NSString *decrypted;
NSData *enc = [[NSData alloc]initWithBase64EncodedString:encrypted options:0];
int len = (int)[enc length];
Byte…

Terry
- 332
- 1
- 15