/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_cbc_hmac_sha1_hw.c | 450 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() 485 * we'll use the maxpad value instead of the supplied pad to make 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 in aesni_cbc_hmac_sha1_cipher() [all...] |
H A D | cipher_aes_cbc_hmac_sha256_hw.c | 492 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() 521 * we'll use the maxpad value instead of the supplied pad to make 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 in aesni_cbc_hmac_sha256_cipher() [all...] |
/third_party/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_cbc_hmac_sha1_hw.c | 450 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() 485 * we'll use the maxpad value instead of the supplied pad to make 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 in aesni_cbc_hmac_sha1_cipher() [all...] |
H A D | cipher_aes_cbc_hmac_sha256_hw.c | 492 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() 521 * we'll use the maxpad value instead of the supplied pad to make 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 in aesni_cbc_hmac_sha256_cipher() [all...] |
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | e_aes_cbc_hmac_sha256.c | 523 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() 552 * we'll use the maxpad value instead of the supplied pad to make 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 in aesni_cbc_hmac_sha256_cipher() [all...] |
H A D | e_aes_cbc_hmac_sha1.c | 490 unsigned int res, maxpad, pad, bitlen; in aesni_cbc_hmac_sha1_cipher() local 532 maxpad = len - (SHA_DIGEST_LENGTH + 1); in aesni_cbc_hmac_sha1_cipher() 533 maxpad |= (255 - maxpad) >> (sizeof(maxpad) * 8 - 8); in aesni_cbc_hmac_sha1_cipher() 534 maxpad &= 255; in aesni_cbc_hmac_sha1_cipher() 536 mask = constant_time_ge(maxpad, pad); in aesni_cbc_hmac_sha1_cipher() 541 * we'll use the maxpad value instead of the supplied pad to make in aesni_cbc_hmac_sha1_cipher() 544 pad = constant_time_select(mask, pad, maxpad); in aesni_cbc_hmac_sha1_cipher() 701 unsigned char *p = out + len - 1 - maxpad in aesni_cbc_hmac_sha1_cipher() [all...] |
/third_party/openssl/crypto/evp/ |
H A D | e_aes_cbc_hmac_sha256.c | 523 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() 552 * we'll use the maxpad value instead of the supplied pad to make 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 in aesni_cbc_hmac_sha256_cipher() [all...] |
H A D | e_aes_cbc_hmac_sha1.c | 490 unsigned int res, maxpad, pad, bitlen; in aesni_cbc_hmac_sha1_cipher() local 532 maxpad = len - (SHA_DIGEST_LENGTH + 1); in aesni_cbc_hmac_sha1_cipher() 533 maxpad |= (255 - maxpad) >> (sizeof(maxpad) * 8 - 8); in aesni_cbc_hmac_sha1_cipher() 534 maxpad &= 255; in aesni_cbc_hmac_sha1_cipher() 536 mask = constant_time_ge(maxpad, pad); in aesni_cbc_hmac_sha1_cipher() 541 * we'll use the maxpad value instead of the supplied pad to make in aesni_cbc_hmac_sha1_cipher() 544 pad = constant_time_select(mask, pad, maxpad); in aesni_cbc_hmac_sha1_cipher() 701 unsigned char *p = out + len - 1 - maxpad in aesni_cbc_hmac_sha1_cipher() [all...] |
/third_party/node/deps/openssl/openssl/engines/ |
H A D | e_ossltest.c | 828 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()
|
/third_party/openssl/engines/ |
H A D | e_ossltest.c | 828 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()
|