Searched refs:aead_ctx (Results 1 – 1 of 1) sorted by relevance
59 SSL_AEAD_CTX *aead_ctx = (SSL_AEAD_CTX *)OPENSSL_malloc(sizeof(SSL_AEAD_CTX)); in SSL_AEAD_CTX_new() local60 if (aead_ctx == NULL) { in SSL_AEAD_CTX_new()64 memset(aead_ctx, 0, sizeof(SSL_AEAD_CTX)); in SSL_AEAD_CTX_new()65 aead_ctx->cipher = cipher; in SSL_AEAD_CTX_new()68 &aead_ctx->ctx, aead, enc_key, enc_key_len, in SSL_AEAD_CTX_new()70 OPENSSL_free(aead_ctx); in SSL_AEAD_CTX_new()75 aead_ctx->variable_nonce_len = (uint8_t)EVP_AEAD_nonce_length(aead); in SSL_AEAD_CTX_new()77 assert(fixed_iv_len <= sizeof(aead_ctx->fixed_nonce)); in SSL_AEAD_CTX_new()78 memcpy(aead_ctx->fixed_nonce, fixed_iv, fixed_iv_len); in SSL_AEAD_CTX_new()79 aead_ctx->fixed_nonce_len = fixed_iv_len; in SSL_AEAD_CTX_new()[all …]