nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ ocrypto_aes_gcm_update_dec()

void ocrypto_aes_gcm_update_dec ( ocrypto_aes_gcm_ctx *  ctx,
uint8_t *  pt,
const uint8_t *  ct,
size_t  ct_len 
)

#include <crypto/nrf_oberon/include/ocrypto_aes_gcm.h>

AES-GCM incremental decryption.

The ciphertext ct is decrypted to the plaintext pt using the context ctx.

This function can be called repeatedly until the whole message is processed.

Parameters
ctxContext.
[out]ptPlaintext.
ctCiphertext.
ct_lenLength of ct and pt.
Remarks
ct may be same as pt.
Initialization of the context ctx through ocrypto_aes_gcm_init is required before this function can be called.