Home
last modified time | relevance | path

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

/third_party/openssl/providers/implementations/ciphers/
Dcipher_tdes_default_hw.c54 while (inl >= MAXCHUNK) { in ossl_cipher_hw_tdes_ofb()
55 DES_ede3_ofb64_encrypt(in, out, (long)MAXCHUNK, &tctx->ks1, &tctx->ks2, 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()
77 DES_ede3_cfb64_encrypt(in, out, (long)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()
[all …]
Dcipher_des_hw.c76 while (len >= MAXCHUNK) { in cipher_hw_des_cbc_cipher()
77 DES_ncbc_encrypt(in, out, MAXCHUNK, key, (DES_cblock *)ctx->iv, 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()
95 while (len >= MAXCHUNK) { in cipher_hw_des_ofb64_cipher()
96 DES_ofb64_encrypt(in, out, MAXCHUNK, key, (DES_cblock *)ctx->iv, &num); in cipher_hw_des_ofb64_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()
[all …]
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()
186 ossl_cipher_hw_generic_ofb128(ctx, out, in, MAXCHUNK); in ossl_cipher_hw_chunked_ofb128()
187 inl -= MAXCHUNK; in ossl_cipher_hw_chunked_ofb128()
[all …]
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()
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()
/third_party/openssl/providers/implementations/include/prov/
Dciphercommon.h17 # define MAXCHUNK ((size_t)1 << 30) macro
242 while (len >= MAXCHUNK) { \
243 FUNC_PREFIX##_encrypt(in, out, MAXCHUNK, key, ctx->iv, &num); \
244 len -= MAXCHUNK; \
245 in += MAXCHUNK; \
246 out += MAXCHUNK; \
277 while (len >= MAXCHUNK) { \
278 FUNC_PREFIX##_encrypt(in, out, MAXCHUNK, key, ctx->iv, ctx->enc); \
279 len -= MAXCHUNK; \
280 in += MAXCHUNK; \
[all …]