Home
last modified time | relevance | path

Searched refs:MAXCHUNK (Results 1 – 6 of 6) sorted by relevance

/openssl/providers/implementations/ciphers/
H A Dcipher_tdes_default_hw.c54 while (inl >= MAXCHUNK) { in ossl_cipher_hw_tdes_ofb()
57 inl -= MAXCHUNK; in ossl_cipher_hw_tdes_ofb()
58 in += MAXCHUNK; in ossl_cipher_hw_tdes_ofb()
59 out += MAXCHUNK; in ossl_cipher_hw_tdes_ofb()
75 while (inl >= MAXCHUNK) { in ossl_cipher_hw_tdes_cfb()
80 inl -= MAXCHUNK; in ossl_cipher_hw_tdes_cfb()
81 in += MAXCHUNK; in ossl_cipher_hw_tdes_cfb()
82 out += MAXCHUNK; in ossl_cipher_hw_tdes_cfb()
128 inl -= MAXCHUNK; in ossl_cipher_hw_tdes_cfb8()
129 in += MAXCHUNK; in ossl_cipher_hw_tdes_cfb8()
[all …]
H A Dcipher_des_hw.c76 while (len >= MAXCHUNK) { in cipher_hw_des_cbc_cipher()
79 len -= MAXCHUNK; in cipher_hw_des_cbc_cipher()
80 in += MAXCHUNK; in cipher_hw_des_cbc_cipher()
81 out += MAXCHUNK; in cipher_hw_des_cbc_cipher()
97 len -= MAXCHUNK; in cipher_hw_des_ofb64_cipher()
98 in += MAXCHUNK; in cipher_hw_des_ofb64_cipher()
99 out += MAXCHUNK; in cipher_hw_des_ofb64_cipher()
111 size_t chunk = MAXCHUNK; in cipher_hw_des_cfb64_cipher()
171 inl -= MAXCHUNK; in cipher_hw_des_cfb8_cipher()
172 in += MAXCHUNK; in cipher_hw_des_cfb8_cipher()
[all …]
H A Dciphercommon_hw.c135 while (inl >= MAXCHUNK) { in ossl_cipher_hw_chunked_cbc()
136 ossl_cipher_hw_generic_cbc(ctx, out, in, MAXCHUNK); in ossl_cipher_hw_chunked_cbc()
137 inl -= MAXCHUNK; in ossl_cipher_hw_chunked_cbc()
138 in += MAXCHUNK; in ossl_cipher_hw_chunked_cbc()
139 out += MAXCHUNK; in ossl_cipher_hw_chunked_cbc()
149 size_t chunk = MAXCHUNK; in ossl_cipher_hw_chunked_cfb8()
167 size_t chunk = MAXCHUNK; in ossl_cipher_hw_chunked_cfb128()
185 while (inl >= MAXCHUNK) { in ossl_cipher_hw_chunked_ofb128()
187 inl -= MAXCHUNK; in ossl_cipher_hw_chunked_ofb128()
188 in += MAXCHUNK; in ossl_cipher_hw_chunked_ofb128()
[all …]
H A Dcipher_desx_hw.c55 while (inl >= MAXCHUNK) { in cipher_hw_desx_cbc()
56 DES_xcbc_encrypt(in, out, (long)MAXCHUNK, &tctx->ks1, in cipher_hw_desx_cbc()
59 inl -= MAXCHUNK; in cipher_hw_desx_cbc()
60 in += MAXCHUNK; in cipher_hw_desx_cbc()
61 out += MAXCHUNK; in cipher_hw_desx_cbc()
H A Dcipher_tdes_hw.c68 while (inl >= MAXCHUNK) { in ossl_cipher_hw_tdes_cbc()
69 DES_ede3_cbc_encrypt(in, out, (long)MAXCHUNK, &tctx->ks1, &tctx->ks2, in ossl_cipher_hw_tdes_cbc()
71 inl -= MAXCHUNK; in ossl_cipher_hw_tdes_cbc()
72 in += MAXCHUNK; in ossl_cipher_hw_tdes_cbc()
73 out += MAXCHUNK; in ossl_cipher_hw_tdes_cbc()
/openssl/providers/implementations/include/prov/
H A Dciphercommon.h21 # define MAXCHUNK ((size_t)1 << 30) macro
248 while (len >= MAXCHUNK) { \
249 FUNC_PREFIX##_encrypt(in, out, MAXCHUNK, key, ctx->iv, &num); \
250 len -= MAXCHUNK; \
251 in += MAXCHUNK; \
252 out += MAXCHUNK; \
283 while (len >= MAXCHUNK) { \
284 FUNC_PREFIX##_encrypt(in, out, MAXCHUNK, key, ctx->iv, ctx->enc); \
285 len -= MAXCHUNK; \
286 in += MAXCHUNK; \
[all …]

Completed in 11 milliseconds