Decrypt ciphertext in GCM using a 32‐bit CTR stream acceleration callback.
Synopsis
Declared in <openssl/modes.h>
int
CRYPTO_gcm128_decrypt_ctr32(
GCM128_CONTEXT* ctx,
unsigned char const* in,
unsigned char* out,
size_t len,
ctr128_f stream);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
ctx |
GCM context ready for decryption. |
in |
Ciphertext bytes of length |
out |
Plaintext buffer of length |
len |
Number of bytes to decrypt. |
stream |
Multi‐block CTR function for the underlying cipher. |
Created with MrDocs