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

/freebsd-current/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha1_hw.c450 unsigned int res, maxpad, pad, bitlen; local
476 maxpad = len - (SHA_DIGEST_LENGTH + 1);
477 maxpad |= (255 - maxpad) >> (sizeof(maxpad) * 8 - 8);
478 maxpad &= 255;
480 mask = constant_time_ge(maxpad, pad);
485 * we'll use the maxpad value instead of the supplied pad to make
488 pad = constant_time_select(mask, pad, maxpad);
602 unsigned char *p = out + len - 1 - maxpad
[all...]
H A Dcipher_aes_cbc_hmac_sha256_hw.c492 unsigned int res, maxpad, pad, bitlen; local
512 maxpad = len - (SHA256_DIGEST_LENGTH + 1);
513 maxpad |= (255 - maxpad) >> (sizeof(maxpad) * 8 - 8);
514 maxpad &= 255;
516 mask = constant_time_ge(maxpad, pad);
521 * we'll use the maxpad value instead of the supplied pad to make
524 pad = constant_time_select(mask, pad, maxpad);
654 out + len - 1 - maxpad
[all...]
/freebsd-current/crypto/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha1.c490 unsigned int res, maxpad, pad, bitlen; local
532 maxpad = len - (SHA_DIGEST_LENGTH + 1);
533 maxpad |= (255 - maxpad) >> (sizeof(maxpad) * 8 - 8);
534 maxpad &= 255;
536 mask = constant_time_ge(maxpad, pad);
541 * we'll use the maxpad value instead of the supplied pad to make
544 pad = constant_time_select(mask, pad, maxpad);
701 unsigned char *p = out + len - 1 - maxpad
[all...]
H A De_aes_cbc_hmac_sha256.c523 unsigned int res, maxpad, pad, bitlen; local
543 maxpad = len - (SHA256_DIGEST_LENGTH + 1);
544 maxpad |= (255 - maxpad) >> (sizeof(maxpad) * 8 - 8);
545 maxpad &= 255;
547 mask = constant_time_ge(maxpad, pad);
552 * we'll use the maxpad value instead of the supplied pad to make
555 pad = constant_time_select(mask, pad, maxpad);
705 out + len - 1 - maxpad
[all...]
/freebsd-current/crypto/openssl/engines/
H A De_ossltest.c828 unsigned int maxpad, pad; local
843 maxpad = len - (SHA_DIGEST_LENGTH + 1);
844 if (pad > maxpad)

Completed in 112 milliseconds