• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 use libc::*;
2 
3 use super::super::*;
4 
5 extern "C" {
CMAC_CTX_new() -> *mut CMAC_CTX6     pub fn CMAC_CTX_new() -> *mut CMAC_CTX;
CMAC_CTX_free(ctx: *mut CMAC_CTX)7     pub fn CMAC_CTX_free(ctx: *mut CMAC_CTX);
CMAC_Init( ctx: *mut CMAC_CTX, key: *const c_void, len: size_t, cipher: *const EVP_CIPHER, impl_: *mut ENGINE, ) -> c_int8     pub fn CMAC_Init(
9         ctx: *mut CMAC_CTX,
10         key: *const c_void,
11         len: size_t,
12         cipher: *const EVP_CIPHER,
13         impl_: *mut ENGINE,
14     ) -> c_int;
CMAC_Update(ctx: *mut CMAC_CTX, data: *const c_void, len: size_t) -> c_int15     pub fn CMAC_Update(ctx: *mut CMAC_CTX, data: *const c_void, len: size_t) -> c_int;
CMAC_Final(ctx: *mut CMAC_CTX, out: *mut c_uchar, len: *mut size_t) -> c_int16     pub fn CMAC_Final(ctx: *mut CMAC_CTX, out: *mut c_uchar, len: *mut size_t) -> c_int;
CMAC_CTX_copy(dst: *mut CMAC_CTX, src: *const CMAC_CTX) -> c_int17     pub fn CMAC_CTX_copy(dst: *mut CMAC_CTX, src: *const CMAC_CTX) -> c_int;
18 }
19