Home
last modified time | relevance | path

Searched refs:CRYPTO_bswap4 (Results 1 – 24 of 24) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/modes/
Dgcm.c273 ctr = CRYPTO_bswap4(ctx->Yi.d[3]); in CRYPTO_gcm128_setiv()
278 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_setiv()
372 uint32_t ctr = CRYPTO_bswap4(ctx->Yi.d[3]); in CRYPTO_gcm128_encrypt()
379 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_encrypt()
396 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_encrypt()
410 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_encrypt()
462 uint32_t ctr = CRYPTO_bswap4(ctx->Yi.d[3]); in CRYPTO_gcm128_decrypt()
470 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_decrypt()
487 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_decrypt()
500 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_decrypt()
[all …]
Dinternal.h70 return CRYPTO_bswap4(v); in GETU32()
74 v = CRYPTO_bswap4(v); in PUTU32()
Dgcm_test.cc117 EXPECT_EQ(0x04030201u, CRYPTO_bswap4(0x01020304u)); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/modes/
Dgcm.c273 ctr = CRYPTO_bswap4(ctx->Yi.d[3]); in CRYPTO_gcm128_setiv()
278 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_setiv()
372 uint32_t ctr = CRYPTO_bswap4(ctx->Yi.d[3]); in CRYPTO_gcm128_encrypt()
379 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_encrypt()
396 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_encrypt()
410 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_encrypt()
462 uint32_t ctr = CRYPTO_bswap4(ctx->Yi.d[3]); in CRYPTO_gcm128_decrypt()
470 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_decrypt()
487 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_decrypt()
500 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_decrypt()
[all …]
Dinternal.h70 return CRYPTO_bswap4(v); in GETU32()
74 v = CRYPTO_bswap4(v); in PUTU32()
Dgcm_test.cc117 EXPECT_EQ(0x04030201u, CRYPTO_bswap4(0x01020304u)); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/
Dinternal.h696 static inline uint32_t CRYPTO_bswap4(uint32_t x) { in OPENSSL_MSVC_PRAGMA()
712 static inline uint32_t CRYPTO_bswap4(uint32_t x) { in OPENSSL_MSVC_PRAGMA()
724 static inline uint32_t CRYPTO_bswap4(uint32_t x) { in OPENSSL_MSVC_PRAGMA()
731 return CRYPTO_bswap4(x >> 32) | (((uint64_t)CRYPTO_bswap4(x)) << 32); in OPENSSL_MSVC_PRAGMA()
/external/boringssl/src/crypto/
Dinternal.h696 static inline uint32_t CRYPTO_bswap4(uint32_t x) { in OPENSSL_MSVC_PRAGMA()
712 static inline uint32_t CRYPTO_bswap4(uint32_t x) { in OPENSSL_MSVC_PRAGMA()
724 static inline uint32_t CRYPTO_bswap4(uint32_t x) { in OPENSSL_MSVC_PRAGMA()
731 return CRYPTO_bswap4(x >> 32) | (((uint64_t)CRYPTO_bswap4(x)) << 32); in OPENSSL_MSVC_PRAGMA()
/external/rust/crates/ring/crypto/
Dinternal.h249 static inline uint32_t CRYPTO_bswap4(uint32_t x) { in CRYPTO_bswap4() function
257 static inline uint32_t CRYPTO_bswap4(uint32_t x) { in CRYPTO_bswap4() function
/external/boringssl/src/crypto/fipsmodule/rand/
Dctrdrbg.c74 CRYPTO_bswap4(CRYPTO_bswap4(drbg->counter.words[3]) + n); in ctr32_add()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rand/
Dctrdrbg.c74 CRYPTO_bswap4(CRYPTO_bswap4(drbg->counter.words[3]) + n); in ctr32_add()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/aes/
Dkey_wrap.c164 const uint32_t in_len32_be = CRYPTO_bswap4(in_len); in AES_wrap_key_padded()
225 const size_t claimed_len = CRYPTO_bswap4(claimed_len32); in AES_unwrap_key_padded()
Daes_test.cc443 out->rd_key[i] = CRYPTO_bswap4(out->rd_key[i]); in aes_ref_set_encrypt_key()
Daes_nohw.c1192 uint32_t ctr = CRYPTO_bswap4(ivs.u32[3]); in aes_nohw_ctr32_encrypt_blocks()
1196 ivs.u32[4 * i + 3] = CRYPTO_bswap4(ctr + i); in aes_nohw_ctr32_encrypt_blocks()
/external/boringssl/src/crypto/fipsmodule/aes/
Dkey_wrap.c164 const uint32_t in_len32_be = CRYPTO_bswap4(in_len); in AES_wrap_key_padded()
225 const size_t claimed_len = CRYPTO_bswap4(claimed_len32); in AES_unwrap_key_padded()
Daes_test.cc443 out->rd_key[i] = CRYPTO_bswap4(out->rd_key[i]); in aes_ref_set_encrypt_key()
Daes_nohw.c1192 uint32_t ctr = CRYPTO_bswap4(ivs.u32[3]); in aes_nohw_ctr32_encrypt_blocks()
1196 ivs.u32[4 * i + 3] = CRYPTO_bswap4(ctr + i); in aes_nohw_ctr32_encrypt_blocks()
/external/rust/crates/quiche/deps/boringssl/src/crypto/bytestring/
Dcbs.c153 *out = CRYPTO_bswap4(*out); in CBS_get_u32le()
Dcbb.c471 return CBB_add_u32(cbb, CRYPTO_bswap4(value)); in CBB_add_u32le()
/external/boringssl/src/crypto/bytestring/
Dcbs.c153 *out = CRYPTO_bswap4(*out); in CBS_get_u32le()
Dcbb.c471 return CBB_add_u32(cbb, CRYPTO_bswap4(value)); in CBB_add_u32le()
/external/rust/crates/ring/crypto/fipsmodule/aes/
Daes_nohw.c935 uint32_t ctr = CRYPTO_bswap4(ivs.u32[3]); in GFp_aes_nohw_ctr32_encrypt_blocks()
939 ivs.u32[4 * i + 3] = CRYPTO_bswap4(ctr + i); in GFp_aes_nohw_ctr32_encrypt_blocks()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c105 uint32_t ctr = CRYPTO_bswap4(new_ivec.u32[3]) + bsaes_blocks; in vpaes_ctr32_encrypt_blocks_with_bsaes()
106 new_ivec.u32[3] = CRYPTO_bswap4(ctr); in vpaes_ctr32_encrypt_blocks_with_bsaes()
/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c107 uint32_t ctr = CRYPTO_bswap4(new_ivec.u32[3]) + bsaes_blocks; in vpaes_ctr32_encrypt_blocks_with_bsaes()
108 new_ivec.u32[3] = CRYPTO_bswap4(ctr); in vpaes_ctr32_encrypt_blocks_with_bsaes()