TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
cbc128.h
Go to the documentation of this file.
1 /*
2  * Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
3  *
4  * Licensed under the OpenSSL license (the "License"). You may not use
5  * this file except in compliance with the License. You can obtain a copy
6  * in the file LICENSE in the source distribution or at
7  * https://www.openssl.org/source/license.html
8  */
9 
10 #ifndef MYAPPLICATION_CBC128_H
11 #define MYAPPLICATION_CBC128_H
12 
13 #include <cstddef>
14 
15 typedef void (*block128_f)(const unsigned char in[16],
16  unsigned char out[16], const void *key);
17 
18 void CRYPTO_cbc128_encrypt(const unsigned char *in, unsigned char *out,
19  size_t len, const void *key,
20  unsigned char ivec[16], block128_f block);
21 
22 void CRYPTO_cbc128_decrypt(const unsigned char *in, unsigned char *out,
23  size_t len, const void *key,
24  unsigned char ivec[16], block128_f block);
25 
26 #endif // MYAPPLICATION_CBC128_H
void CRYPTO_cbc128_encrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], block128_f block)
Definition: cbc128.cpp:8
static constexpr wchar_t key[]
void(* block128_f)(const unsigned char in[16], unsigned char out[16], const void *key)
Definition: cbc128.h:15
void CRYPTO_cbc128_decrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], block128_f block)
Definition: cbc128.cpp:59