Go to the documentation of this file.
55 #include "../../internal.h"
61 assert(
key != NULL && ivec != NULL);
67 assert(
in != NULL &&
out != NULL);
71 for (
n = 0;
n < 16;
n +=
sizeof(crypto_word_t)) {
83 for (
n = 0;
n < 16 &&
n <
len; ++
n) {
105 assert(
key != NULL && ivec != NULL);
111 assert(
in != NULL &&
out != NULL);
116 assert(inptr >= outptr || inptr +
len <= outptr);
120 crypto_word_t t[16 /
sizeof(crypto_word_t)];
124 if ((inptr >= 32 && outptr <= inptr - 32) || inptr < outptr) {
128 "block cannot be evenly divided into words");
132 for (
n = 0;
n < 16;
n +=
sizeof(crypto_word_t)) {
144 "block cannot be evenly divided into words");
148 for (
n = 0;
n < 16;
n +=
sizeof(crypto_word_t)) {
163 for (
n = 0;
n < 16 &&
n <
len; ++
n) {
169 for (;
n < 16; ++
n) {
static void CRYPTO_store_word_le(void *out, crypto_word_t v)
static void * OPENSSL_memcpy(void *dst, const void *src, size_t n)
_W64 unsigned int uintptr_t
void CRYPTO_cbc128_encrypt(const uint8_t *in, uint8_t *out, size_t len, const AES_KEY *key, uint8_t ivec[16], block128_f block)
void CRYPTO_cbc128_decrypt(const uint8_t *in, uint8_t *out, size_t len, const AES_KEY *key, uint8_t ivec[16], block128_f block)
#define OPENSSL_STATIC_ASSERT(cond, msg)
void(* block128_f)(const uint8_t in[16], uint8_t out[16], const AES_KEY *key)
static crypto_word_t CRYPTO_load_word_le(const void *in)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:52