Searched refs:tls_aad (Results 1 – 9 of 9) sorted by relevance
/openssl-master/crypto/evp/ |
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() 576 memcpy(actx->tls_aad, ptr, EVP_AEAD_TLS1_AAD_LEN); in chacha20_poly1305_ctrl() 579 aad = actx->tls_aad; in chacha20_poly1305_ctrl()
|
A D | e_aes_cbc_hmac_sha1.c | 37 unsigned char tls_aad[16]; /* 13 used */ member 501 if ((key->aux.tls_aad[plen - 4] << 8 | key->aux.tls_aad[plen - 3]) 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() 553 SHA1_Update(&key->md, key->aux.tls_aad, plen); in aesni_cbc_hmac_sha1_cipher() 833 memcpy(key->aux.tls_aad, ptr, arg); in aesni_cbc_hmac_sha1_ctrl()
|
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-master/providers/implementations/ciphers/ |
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() 142 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 167 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 200 Poly1305_Update(poly, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() 299 Poly1305_Update(poly, ctx->tls_aad, EVP_AEAD_TLS1_AAD_LEN); in chacha20_poly1305_aead_cipher()
|
A D | cipher_chacha20_poly1305.h | 24 unsigned char tls_aad[POLY1305_BLOCK_SIZE]; member
|
A D | cipher_aes_cbc_hmac_sha.h | 42 unsigned char tls_aad[16]; /* 13 used */ member
|
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()
|
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-master/test/ |
A D | evp_test.c | 539 int tls_aad; member 641 int tls_aad = 0; in cipher_test_parse() local 644 cdat->tls_aad = tls_aad = 1; in cipher_test_parse() 645 if (strcmp(keyword, "AAD") == 0 || tls_aad) { in cipher_test_parse() 767 if (expected->aead && !expected->tls_aad) { in cipher_test_enc() 896 if (expected->tls_aad) { in cipher_test_enc() 898 char *tls_aad; in cipher_test_enc() local 909 OPENSSL_free(tls_aad); in cipher_test_enc() 913 OPENSSL_free(tls_aad); in cipher_test_enc() 958 if (!enc && expected->tls_aad) { in cipher_test_enc() [all …]
|
Completed in 30 milliseconds