Home
last modified time | relevance | path

Searched refs:OPENSSL_STATIC_ASSERT (Results 1 – 25 of 35) sorted by relevance

12

/external/boringssl/
Derr_data.c22 OPENSSL_STATIC_ASSERT(ERR_LIB_NONE == 1, "library value changed");
23 OPENSSL_STATIC_ASSERT(ERR_LIB_SYS == 2, "library value changed");
24 OPENSSL_STATIC_ASSERT(ERR_LIB_BN == 3, "library value changed");
25 OPENSSL_STATIC_ASSERT(ERR_LIB_RSA == 4, "library value changed");
26 OPENSSL_STATIC_ASSERT(ERR_LIB_DH == 5, "library value changed");
27 OPENSSL_STATIC_ASSERT(ERR_LIB_EVP == 6, "library value changed");
28 OPENSSL_STATIC_ASSERT(ERR_LIB_BUF == 7, "library value changed");
29 OPENSSL_STATIC_ASSERT(ERR_LIB_OBJ == 8, "library value changed");
30 OPENSSL_STATIC_ASSERT(ERR_LIB_PEM == 9, "library value changed");
31 OPENSSL_STATIC_ASSERT(ERR_LIB_DSA == 10, "library value changed");
[all …]
/external/boringssl/src/crypto/fipsmodule/bn/
Dshift.c299 OPENSSL_STATIC_ASSERT(sizeof(BN_ULONG) <= sizeof(crypto_word_t), in bn_count_low_zero_bits_word()
301 OPENSSL_STATIC_ASSERT(sizeof(int) <= sizeof(crypto_word_t), in bn_count_low_zero_bits_word()
303 OPENSSL_STATIC_ASSERT(BN_BITS2 == sizeof(BN_ULONG) * 8, in bn_count_low_zero_bits_word()
306 OPENSSL_STATIC_ASSERT(sizeof(BN_ULONG) >= sizeof(int), in bn_count_low_zero_bits_word()
345 OPENSSL_STATIC_ASSERT(sizeof(BN_ULONG) <= sizeof(crypto_word_t), in BN_count_low_zero_bits()
347 OPENSSL_STATIC_ASSERT(sizeof(int) <= sizeof(crypto_word_t), in BN_count_low_zero_bits()
Dmontgomery_inv.c25 OPENSSL_STATIC_ASSERT(BN_MONT_CTX_N0_LIMBS == 1 || BN_MONT_CTX_N0_LIMBS == 2,
27 OPENSSL_STATIC_ASSERT(sizeof(BN_ULONG) * BN_MONT_CTX_N0_LIMBS ==
Dmontgomery.c193 OPENSSL_STATIC_ASSERT(BN_MONT_CTX_N0_LIMBS == 1 || BN_MONT_CTX_N0_LIMBS == 2, in bn_mont_ctx_set_N_and_n0()
195 OPENSSL_STATIC_ASSERT( in bn_mont_ctx_set_N_and_n0()
Dcmp.c68 OPENSSL_STATIC_ASSERT(sizeof(BN_ULONG) <= sizeof(crypto_word_t), in bn_cmp_words_consttime()
Drandom.c198 OPENSSL_STATIC_ASSERT(sizeof(BN_ULONG) <= sizeof(crypto_word_t), in bn_less_than_word_mask()
/external/boringssl/src/include/openssl/
Dtype_check.h69 #define OPENSSL_STATIC_ASSERT(cond, msg) static_assert(cond, msg) macro
75 #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg)
Dssl3.h254 OPENSSL_STATIC_ASSERT(SSL3_RT_MAX_ENCRYPTED_OVERHEAD >=
/external/boringssl/src/crypto/cipher_extra/
De_chacha20poly1305.c38 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
42 OPENSSL_STATIC_ASSERT(alignof(union evp_aead_ctx_st_state) >=
81 OPENSSL_STATIC_ASSERT(sizeof(union open_data) == 48, "wrong open_data size");
82 OPENSSL_STATIC_ASSERT(sizeof(union seal_data) == 48 + 8 + 8,
De_aesccm.c36 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
40 OPENSSL_STATIC_ASSERT(alignof(union evp_aead_ctx_st_state) >=
De_aesctrhmac.c38 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
42 OPENSSL_STATIC_ASSERT(alignof(union evp_aead_ctx_st_state) >=
De_aesgcmsiv.c45 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) + 8 >=
49 OPENSSL_STATIC_ASSERT(alignof(union evp_aead_ctx_st_state) >= 8,
567 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
571 OPENSSL_STATIC_ASSERT(alignof(union evp_aead_ctx_st_state) >=
De_tls.c45 OPENSSL_STATIC_ASSERT(EVP_MAX_MD_SIZE < 256,
48 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
52 OPENSSL_STATIC_ASSERT(alignof(union evp_aead_ctx_st_state) >=
/external/boringssl/src/crypto/fipsmodule/modes/
Dcbc.c117 OPENSSL_STATIC_ASSERT(16 % sizeof(size_t) == 0, in CRYPTO_cbc128_decrypt()
132 OPENSSL_STATIC_ASSERT(16 % sizeof(size_t) == 0, in CRYPTO_cbc128_decrypt()
Dofb.c57 OPENSSL_STATIC_ASSERT(16 % sizeof(size_t) == 0,
Dctr.c72 OPENSSL_STATIC_ASSERT(16 % sizeof(size_t) == 0,
Dcfb.c57 OPENSSL_STATIC_ASSERT(16 % sizeof(size_t) == 0,
/external/boringssl/src/crypto/
Drefcount_lock.c24 OPENSSL_STATIC_ASSERT((CRYPTO_refcount_t)-1 == CRYPTO_REFCOUNT_MAX,
Dthread_pthread.c27 OPENSSL_STATIC_ASSERT(sizeof(CRYPTO_MUTEX) >= sizeof(pthread_rwlock_t),
Dthread_win.c30 OPENSSL_STATIC_ASSERT(sizeof(CRYPTO_MUTEX) >= sizeof(SRWLOCK),
/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c289 OPENSSL_STATIC_ASSERT( in aes_gcm_from_cipher_ctx()
867 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
871 OPENSSL_STATIC_ASSERT(alignof(union evp_aead_ctx_st_state) >=
1040 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
1044 OPENSSL_STATIC_ASSERT(alignof(union evp_aead_ctx_st_state) >=
1134 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
1138 OPENSSL_STATIC_ASSERT(alignof(union evp_aead_ctx_st_state) >=
/external/boringssl/src/crypto/evp/
Dscrypt.c33 OPENSSL_STATIC_ASSERT(sizeof(block_t) == 64, "block_t has padding");
176 OPENSSL_STATIC_ASSERT(UINT64_MAX >= ((size_t)-1), "size_t exceeds uint64_t"); in EVP_PBE_scrypt()
/external/boringssl/src/crypto/hrss/
Dhrss.c384 OPENSSL_STATIC_ASSERT( in poly2_rotr_bits()
411 OPENSSL_STATIC_ASSERT((1 << (HRSS_POLY2_MAX_SHIFT + 1)) > N, in HRSS_poly2_rotr_consttime()
413 OPENSSL_STATIC_ASSERT((1 << HRSS_POLY2_MAX_SHIFT) <= N, in HRSS_poly2_rotr_consttime()
1291 OPENSSL_STATIC_ASSERT(sizeof(out->v) == sizeof(vec_t) * VECS_PER_POLY, in poly_mul_vec()
1293 OPENSSL_STATIC_ASSERT(alignof(struct poly) == alignof(vec_t), in poly_mul_vec()
1804 OPENSSL_STATIC_ASSERT(HRSS_SAMPLE_BYTES == N - 1, in poly_short_sample()
1971 OPENSSL_STATIC_ASSERT( in public_key_from_external()
1985 OPENSSL_STATIC_ASSERT( in private_key_from_external()
2075 OPENSSL_STATIC_ASSERT(sizeof(priv->hmac_key) <= sizeof(masked_key), in HRSS_decap()
2099 OPENSSL_STATIC_ASSERT(HRSS_KEY_BYTES == SHA256_DIGEST_LENGTH, in HRSS_decap()
[all …]
/external/boringssl/src/crypto/asn1/
Da_enum.c123 OPENSSL_STATIC_ASSERT(sizeof(uint64_t) >= sizeof(long), in ASN1_ENUMERATED_get()
/external/boringssl/src/crypto/fipsmodule/rand/
Dctrdrbg.c67 OPENSSL_STATIC_ASSERT(CTR_DRBG_ENTROPY_LEN % AES_BLOCK_SIZE == 0,

12