Consts
AES_CTR_IV_SIZE = 8
AES_CTR_KEY_SIZE = 16
Procs
proc av_aes_ctr_alloc(): ptr AVAESCTR {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_aes_ctr_crypt(a: ptr AVAESCTR; dst, src: ptr uint8; size: cint) {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_aes_ctr_free(a: ptr AVAESCTR) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_aes_ctr_get_iv(a: ptr AVAESCTR): ptr uint8 {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_aes_ctr_increment_iv(a: ptr AVAESCTR) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_aes_ctr_init(a: ptr AVAESCTR; key: ptr uint8): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_aes_ctr_set_full_iv(a: ptr AVAESCTR; iv: ptr uint8) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_aes_ctr_set_iv(a: ptr AVAESCTR; iv: ptr uint8) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_aes_ctr_set_random_iv(a: ptr AVAESCTR) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}