cisco/libsrtp

consider merging the gcm encrypt and get tag functions of cipher api

pabuhler opened this issue · 0 comments

The gcm encryption is a one shot function, it is always only called only once. The tag is often generated at this point by the underling crypto engine (see aes_gcm_nss.c), it would be clear to append the tag to the out immediately instead of caching it. This would match the decrypt function.