Home
last modified time | relevance | path

Searched refs:EVP_MAXCHUNK (Results 1 – 4 of 4) sorted by relevance

/openbsd/lib/libcrypto/evp/
H A De_camellia.c96 inl -= EVP_MAXCHUNK; in camellia_128_cbc_cipher()
97 in += EVP_MAXCHUNK; in camellia_128_cbc_cipher()
98 out += EVP_MAXCHUNK; in camellia_128_cbc_cipher()
150 inl -= EVP_MAXCHUNK; in camellia_128_ofb_cipher()
151 in += EVP_MAXCHUNK; in camellia_128_ofb_cipher()
152 out += EVP_MAXCHUNK; in camellia_128_ofb_cipher()
254 inl -= EVP_MAXCHUNK; in camellia_192_cbc_cipher()
255 in += EVP_MAXCHUNK; in camellia_192_cbc_cipher()
309 in += EVP_MAXCHUNK; in camellia_192_ofb_cipher()
413 in += EVP_MAXCHUNK; in camellia_256_cbc_cipher()
[all …]
H A De_sm4.c80 while (inl >= EVP_MAXCHUNK) { in sm4_cbc_cipher()
81 …sm4_cbc_encrypt(in, out, EVP_MAXCHUNK, &((EVP_SM4_KEY *)ctx->cipher_data)->ks, ctx->iv, ctx->encry… in sm4_cbc_cipher()
82 inl -= EVP_MAXCHUNK; in sm4_cbc_cipher()
83 in += EVP_MAXCHUNK; in sm4_cbc_cipher()
84 out += EVP_MAXCHUNK; in sm4_cbc_cipher()
96 size_t chunk = EVP_MAXCHUNK; in sm4_cfb128_cipher()
134 while (inl >= EVP_MAXCHUNK) { in sm4_ofb_cipher()
135 …sm4_ofb128_encrypt(in, out, EVP_MAXCHUNK, &((EVP_SM4_KEY *)ctx->cipher_data)->ks, ctx->iv, &ctx->n… in sm4_ofb_cipher()
136 inl -= EVP_MAXCHUNK; in sm4_ofb_cipher()
137 in += EVP_MAXCHUNK; in sm4_ofb_cipher()
[all …]
H A De_xcbc_d.c125 while (inl >= EVP_MAXCHUNK) { in desx_cbc_cipher()
126 DES_xcbc_encrypt(in, out, (long)EVP_MAXCHUNK, &data(ctx)->ks, in desx_cbc_cipher()
129 inl -= EVP_MAXCHUNK; in desx_cbc_cipher()
130 in += EVP_MAXCHUNK; in desx_cbc_cipher()
131 out += EVP_MAXCHUNK; in desx_cbc_cipher()
H A Devp_local.h254 #define EVP_MAXCHUNK ((size_t)1<<(sizeof(long)*8-2)) macro