The CTR stream cipher mode. CTR is a stream cipher which is built from a block cipher. The underlying block cipher is determined by the key type. For example, to use AES-128-CTR, use this algorithm with a key of type #PSA_KEY_TYPE_AES and a length of 128 bits (16 bytes).