GCM.getOutputSize

return the size of the output buffer required for a processBytes plus a doFinal with an input of len bytes.

struct GCM(T)
nothrow @nogc pure
size_t
getOutputSize
(
size_t len
)
if (
is(T == void) ||
(
isBlockCipher!T &&
T.blockSize == 16
)
)

Return Value

Type: size_t

the space required to accommodate a call to processBytes and doFinal with len bytes of input.

Meta