Home
last modified time | relevance | path

Searched refs:inp_len (Results 1 – 4 of 4) sorted by relevance

/third_party/openssl/providers/implementations/ciphers/
Dcipher_aes_cbc_hmac_sha1_hw.c124 size_t inp_len, int n4x) in tls1_multi_block_encrypt() argument
151 frag = (unsigned int)inp_len >> (1 + n4x); in tls1_multi_block_encrypt()
152 last = (unsigned int)inp_len + frag - (frag << (1 + n4x)); in tls1_multi_block_encrypt()
449 size_t inp_len, mask, j, i; in aesni_cbc_hmac_sha1_cipher() local
490 inp_len = len - (SHA_DIGEST_LENGTH + pad + 1); in aesni_cbc_hmac_sha1_cipher()
492 ctx->aux.tls_aad[plen - 2] = inp_len >> 8; in aesni_cbc_hmac_sha1_cipher()
493 ctx->aux.tls_aad[plen - 1] = inp_len; in aesni_cbc_hmac_sha1_cipher()
507 inp_len -= j; in aesni_cbc_hmac_sha1_cipher()
511 bitlen = sctx->md.Nl + (inp_len << 3); /* at most 18 bits */ in aesni_cbc_hmac_sha1_cipher()
530 mask = (j - inp_len) >> (sizeof(j) * 8 - 8); in aesni_cbc_hmac_sha1_cipher()
[all …]
Dcipher_aes_cbc_hmac_sha256_hw.c128 size_t inp_len, int n4x) in tls1_multi_block_encrypt() argument
155 frag = (unsigned int)inp_len >> (1 + n4x); in tls1_multi_block_encrypt()
156 last = (unsigned int)inp_len + frag - (frag << (1 + n4x)); in tls1_multi_block_encrypt()
491 size_t inp_len, mask, j, i; in aesni_cbc_hmac_sha256_cipher() local
526 inp_len = len - (SHA256_DIGEST_LENGTH + pad + 1); in aesni_cbc_hmac_sha256_cipher()
528 ctx->aux.tls_aad[plen - 2] = inp_len >> 8; in aesni_cbc_hmac_sha256_cipher()
529 ctx->aux.tls_aad[plen - 1] = inp_len; in aesni_cbc_hmac_sha256_cipher()
543 inp_len -= j; in aesni_cbc_hmac_sha256_cipher()
547 bitlen = sctx->md.Nl + (inp_len << 3); /* at most 18 bits */ in aesni_cbc_hmac_sha256_cipher()
569 mask = (j - inp_len) >> (sizeof(j) * 8 - 8); in aesni_cbc_hmac_sha256_cipher()
[all …]
/third_party/openssl/crypto/evp/
De_aes_cbc_hmac_sha1.c163 size_t inp_len, int n4x) in tls1_1_multi_block_encrypt() argument
188 frag = (unsigned int)inp_len >> (1 + n4x); in tls1_1_multi_block_encrypt()
189 last = (unsigned int)inp_len + frag - (frag << (1 + n4x)); in tls1_1_multi_block_encrypt()
489 size_t inp_len, mask, j, i; in aesni_cbc_hmac_sha1_cipher() local
546 inp_len = len - (SHA_DIGEST_LENGTH + pad + 1); in aesni_cbc_hmac_sha1_cipher()
548 key->aux.tls_aad[plen - 2] = inp_len >> 8; in aesni_cbc_hmac_sha1_cipher()
549 key->aux.tls_aad[plen - 1] = inp_len; in aesni_cbc_hmac_sha1_cipher()
571 inp_len -= sha_off; in aesni_cbc_hmac_sha1_cipher()
586 inp_len -= j; in aesni_cbc_hmac_sha1_cipher()
590 bitlen = key->md.Nl + (inp_len << 3); /* at most 18 bits */ in aesni_cbc_hmac_sha1_cipher()
[all …]
De_aes_cbc_hmac_sha256.c158 size_t inp_len, int n4x) in tls1_1_multi_block_encrypt() argument
184 frag = (unsigned int)inp_len >> (1 + n4x); in tls1_1_multi_block_encrypt()
185 last = (unsigned int)inp_len + frag - (frag << (1 + n4x)); in tls1_1_multi_block_encrypt()
522 size_t inp_len, mask, j, i; in aesni_cbc_hmac_sha256_cipher() local
557 inp_len = len - (SHA256_DIGEST_LENGTH + pad + 1); in aesni_cbc_hmac_sha256_cipher()
559 key->aux.tls_aad[plen - 2] = inp_len >> 8; in aesni_cbc_hmac_sha256_cipher()
560 key->aux.tls_aad[plen - 1] = inp_len; in aesni_cbc_hmac_sha256_cipher()
574 inp_len -= j; in aesni_cbc_hmac_sha256_cipher()
578 bitlen = key->md.Nl + (inp_len << 3); /* at most 18 bits */ in aesni_cbc_hmac_sha256_cipher()
600 mask = (j - inp_len) >> (sizeof(j) * 8 - 8); in aesni_cbc_hmac_sha256_cipher()
[all …]