X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Fopenssl%2Fopenssl%2Fcrypto%2Fpoly1305%2Fpoly1305.c;h=bd7946ce845e9b0a99cfe93ef45e7675a3e20a72;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=d2234796940386905c23eb3e9242914e81707bcb;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/openssl/openssl/crypto/poly1305/poly1305.c b/src/third_party/openssl/openssl/crypto/poly1305/poly1305.c index d223479..bd7946c 100644 --- a/src/third_party/openssl/openssl/crypto/poly1305/poly1305.c +++ b/src/third_party/openssl/openssl/crypto/poly1305/poly1305.c @@ -219,6 +219,7 @@ void CRYPTO_poly1305_init(poly1305_state *statep, const unsigned char key[32]) struct poly1305_state_st *state = (struct poly1305_state_st*) statep; uint32_t t0,t1,t2,t3; +#if 0 /* Disabled because of crbug.com/341598 */ #if __arm__ if (CRYPTO_is_NEON_capable()) { @@ -226,6 +227,7 @@ void CRYPTO_poly1305_init(poly1305_state *statep, const unsigned char key[32]) return; } #endif +#endif t0 = U8TO32_LE(key+0); t1 = U8TO32_LE(key+4); @@ -261,6 +263,7 @@ void CRYPTO_poly1305_update(poly1305_state *statep, const unsigned char *in, unsigned int i; struct poly1305_state_st *state = (struct poly1305_state_st*) statep; +#if 0 /* Disabled because of crbug.com/341598 */ #if __arm__ if (CRYPTO_is_NEON_capable()) { @@ -268,6 +271,7 @@ void CRYPTO_poly1305_update(poly1305_state *statep, const unsigned char *in, return; } #endif +#endif if (state->buf_used) { @@ -310,6 +314,7 @@ void CRYPTO_poly1305_finish(poly1305_state *statep, unsigned char mac[16]) uint32_t g0,g1,g2,g3,g4; uint32_t b, nb; +#if 0 /* Disabled because of crbug.com/341598 */ #if __arm__ if (CRYPTO_is_NEON_capable()) { @@ -317,6 +322,7 @@ void CRYPTO_poly1305_finish(poly1305_state *statep, unsigned char mac[16]) return; } #endif +#endif if (state->buf_used) poly1305_update(state, state->buf, state->buf_used);