Searched refs:tls_aad (Results 1 – 9 of 9) sorted by relevance
/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 157 unsigned char tls_aad[POLY1305_BLOCK_SIZE]; member 236 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 261 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 294 Poly1305_Update(POLY1305_ctx(actx), actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 384 Poly1305_Update(POLY1305_ctx(actx), actx->tls_aad, in chacha20_poly1305_cipher() 517 memset(actx->tls_aad, 0, POLY1305_BLOCK_SIZE); in chacha20_poly1305_ctrl() 577 memcpy(actx->tls_aad, ptr, EVP_AEAD_TLS1_AAD_LEN); in chacha20_poly1305_ctrl() 580 aad = actx->tls_aad; in chacha20_poly1305_ctrl()
|
H A D | e_aes_cbc_hmac_sha1.c | 37 unsigned char tls_aad[16]; /* 13 used */ member 508 if ((key->aux.tls_aad[plen - 4] << 8 | key->aux.tls_aad[plen - 3]) in aesni_cbc_hmac_sha1_cipher() 555 key->aux.tls_aad[plen - 2] = inp_len >> 8; in aesni_cbc_hmac_sha1_cipher() 556 key->aux.tls_aad[plen - 1] = inp_len; in aesni_cbc_hmac_sha1_cipher() 560 SHA1_Update(&key->md, key->aux.tls_aad, plen); in aesni_cbc_hmac_sha1_cipher() 840 memcpy(key->aux.tls_aad, ptr, arg); in aesni_cbc_hmac_sha1_ctrl()
|
H A D | e_aes_cbc_hmac_sha256.c | 37 unsigned char tls_aad[16]; /* 13 used */ member 530 if ((key->aux.tls_aad[plen - 4] << 8 | key->aux.tls_aad[plen - 3]) 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() 564 SHA256_Update(&key->md, key->aux.tls_aad, plen); in aesni_cbc_hmac_sha256_cipher() 814 memcpy(key->aux.tls_aad, ptr, arg); in aesni_cbc_hmac_sha256_ctrl()
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_chacha20_poly1305_hw.c | 24 memcpy(ctx->tls_aad, aad, EVP_AEAD_TLS1_AAD_LEN); in chacha_poly1305_tls_init() 26 aad = ctx->tls_aad; in chacha_poly1305_tls_init() 140 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 165 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 198 Poly1305_Update(poly, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 297 Poly1305_Update(poly, ctx->tls_aad, EVP_AEAD_TLS1_AAD_LEN); in chacha20_poly1305_aead_cipher()
|
H A D | cipher_chacha20_poly1305.h | 24 unsigned char tls_aad[POLY1305_BLOCK_SIZE]; member
|
H A D | cipher_aes_cbc_hmac_sha.h | 42 unsigned char tls_aad[16]; /* 13 used */ member
|
H A D | cipher_aes_cbc_hmac_sha1_hw.c | 457 if ((ctx->aux.tls_aad[plen - 4] << 8 | ctx->aux.tls_aad[plen - 3]) 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() 497 sha1_update(&sctx->md, ctx->aux.tls_aad, plen); in aesni_cbc_hmac_sha1_cipher() 693 memcpy(ctx->aux.tls_aad, aad_rec, aad_len); in aesni_cbc_hmac_sha1_set_tls1_aad()
|
H A D | cipher_aes_cbc_hmac_sha256_hw.c | 499 if ((ctx->aux.tls_aad[plen - 4] << 8 | ctx->aux.tls_aad[plen - 3]) 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() 533 sha256_update(&sctx->md, ctx->aux.tls_aad, plen); in aesni_cbc_hmac_sha256_cipher() 746 memcpy(ctx->aux.tls_aad, p, aad_len); in aesni_cbc_hmac_sha256_set_tls1_aad()
|
/openssl/test/ |
H A D | evp_test.c | 886 int tls_aad; member 1021 int tls_aad = 0; in cipher_test_parse() local 1024 cdat->tls_aad = tls_aad = 1; in cipher_test_parse() 1025 if (strcmp(keyword, "AAD") == 0 || tls_aad) { in cipher_test_parse() 1156 if (expected->aead && !expected->tls_aad) { in cipher_test_enc() 1319 if (expected->tls_aad) { in cipher_test_enc() 1321 char *tls_aad; in cipher_test_enc() local 1332 OPENSSL_free(tls_aad); in cipher_test_enc() 1336 OPENSSL_free(tls_aad); in cipher_test_enc() 1407 if (!enc && expected->tls_aad) { in cipher_test_enc() [all …]
|
Completed in 46 milliseconds