[
https://issues.apache.org/jira/browse/IMPALA-13728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923566#comment-17923566
]
Quanlong Huang commented on IMPALA-13728:
-----------------------------------------
Code snipper of openssl-util-test.cc:
{code:cpp}
143 /// Test to check whether key and mode are validated in InitializeFields().
144 TEST_F(OpenSSLUtilTest, ValidateInitialize) {
145 EncryptionKey key;
146 uint8_t IV[AES_BLOCK_SIZE] = {};
147 uint8_t key16bits[16] = {};
148 Status status_initialize_fields = key.InitializeFields
149 (key16bits,16, IV, AES_BLOCK_SIZE, AES_CIPHER_MODE::AES_256_GCM);
150 ASSERT_FALSE(status_initialize_fields.ok());
151 ASSERT_OK(key.InitializeFields(key16bits,
152 16, IV, AES_BLOCK_SIZE, AES_CIPHER_MODE::AES_128_GCM));
153 }{code}
> OpenSSLUtilTest.ValidateInitialize failed by AES_128_GCM not supported
> ----------------------------------------------------------------------
>
> Key: IMPALA-13728
> URL: https://issues.apache.org/jira/browse/IMPALA-13728
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Reporter: Quanlong Huang
> Assignee: Quanlong Huang
> Priority: Critical
>
> Saw this failed in an ARM build.
> Stacktrace
> {code:java}
> /data/jenkins/workspace/impala-asf-master-exhaustive-release-arm/repos/Impala/be/src/util/openssl-util-test.cc:151
> Value of: status_.ok()
> Actual: false
> Expected: true
> Error: AES mode AES_128_GCM is not supported by OpenSSL version (OpenSSL
> 1.1.1k FIPS 25 Mar 2021) that Impala was built against.{code}
> CC [~pranav.lodha]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]