Home
last modified time | relevance | path

Searched refs:maxpad (Results 1 – 5 of 5) sorted by relevance

/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha1_hw.c450 unsigned int res, maxpad, pad, bitlen; in aesni_cbc_hmac_sha1_cipher() local
476 maxpad = len - (SHA_DIGEST_LENGTH + 1); in aesni_cbc_hmac_sha1_cipher()
477 maxpad |= (255 - maxpad) >> (sizeof(maxpad) * 8 - 8); in aesni_cbc_hmac_sha1_cipher()
478 maxpad &= 255; in aesni_cbc_hmac_sha1_cipher()
480 mask = constant_time_ge(maxpad, pad); in aesni_cbc_hmac_sha1_cipher()
488 pad = constant_time_select(mask, pad, maxpad); in aesni_cbc_hmac_sha1_cipher()
602 unsigned char *p = out + len - 1 - maxpad - SHA_DIGEST_LENGTH; in aesni_cbc_hmac_sha1_cipher()
606 for (res = 0, i = 0, j = 0; j < maxpad + SHA_DIGEST_LENGTH; j++) { in aesni_cbc_hmac_sha1_cipher()
H A Dcipher_aes_cbc_hmac_sha256_hw.c492 unsigned int res, maxpad, pad, bitlen; in aesni_cbc_hmac_sha256_cipher() local
512 maxpad = len - (SHA256_DIGEST_LENGTH + 1); in aesni_cbc_hmac_sha256_cipher()
513 maxpad |= (255 - maxpad) >> (sizeof(maxpad) * 8 - 8); in aesni_cbc_hmac_sha256_cipher()
514 maxpad &= 255; in aesni_cbc_hmac_sha256_cipher()
516 mask = constant_time_ge(maxpad, pad); in aesni_cbc_hmac_sha256_cipher()
524 pad = constant_time_select(mask, pad, maxpad); in aesni_cbc_hmac_sha256_cipher()
654 out + len - 1 - maxpad - SHA256_DIGEST_LENGTH; in aesni_cbc_hmac_sha256_cipher()
659 j < maxpad + SHA256_DIGEST_LENGTH; in aesni_cbc_hmac_sha256_cipher()
/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha1.c491 unsigned int res, maxpad, pad, bitlen; in aesni_cbc_hmac_sha1_cipher() local
539 maxpad = len - (SHA_DIGEST_LENGTH + 1); in aesni_cbc_hmac_sha1_cipher()
540 maxpad |= (255 - maxpad) >> (sizeof(maxpad) * 8 - 8); in aesni_cbc_hmac_sha1_cipher()
541 maxpad &= 255; in aesni_cbc_hmac_sha1_cipher()
543 mask = constant_time_ge(maxpad, pad); in aesni_cbc_hmac_sha1_cipher()
551 pad = constant_time_select(mask, pad, maxpad); in aesni_cbc_hmac_sha1_cipher()
708 unsigned char *p = out + len - 1 - maxpad - SHA_DIGEST_LENGTH; in aesni_cbc_hmac_sha1_cipher()
712 for (res = 0, i = 0, j = 0; j < maxpad + SHA_DIGEST_LENGTH; j++) { in aesni_cbc_hmac_sha1_cipher()
733 pad = (pad & ~res) | (maxpad & res); in aesni_cbc_hmac_sha1_cipher()
H A De_aes_cbc_hmac_sha256.c523 unsigned int res, maxpad, pad, bitlen; in aesni_cbc_hmac_sha256_cipher() local
543 maxpad = len - (SHA256_DIGEST_LENGTH + 1); in aesni_cbc_hmac_sha256_cipher()
544 maxpad |= (255 - maxpad) >> (sizeof(maxpad) * 8 - 8); in aesni_cbc_hmac_sha256_cipher()
545 maxpad &= 255; in aesni_cbc_hmac_sha256_cipher()
547 mask = constant_time_ge(maxpad, pad); in aesni_cbc_hmac_sha256_cipher()
555 pad = constant_time_select(mask, pad, maxpad); in aesni_cbc_hmac_sha256_cipher()
705 out + len - 1 - maxpad - SHA256_DIGEST_LENGTH; in aesni_cbc_hmac_sha256_cipher()
709 for (res = 0, i = 0, j = 0; j < maxpad + SHA256_DIGEST_LENGTH; in aesni_cbc_hmac_sha256_cipher()
731 pad = (pad & ~res) | (maxpad & res); in aesni_cbc_hmac_sha256_cipher()
/openssl/engines/
H A De_ossltest.c828 unsigned int maxpad, pad; in ossltest_aes128_cbc_hmac_sha1_cipher() local
843 maxpad = len - (SHA_DIGEST_LENGTH + 1); in ossltest_aes128_cbc_hmac_sha1_cipher()
844 if (pad > maxpad) in ossltest_aes128_cbc_hmac_sha1_cipher()

Completed in 20 milliseconds