/external/boringssl/ |
D | err_data.c | 22 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/ |
D | shift.c | 299 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()
|
D | montgomery_inv.c | 25 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 ==
|
D | montgomery.c | 193 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()
|
D | cmp.c | 68 OPENSSL_STATIC_ASSERT(sizeof(BN_ULONG) <= sizeof(crypto_word_t), in bn_cmp_words_consttime()
|
D | random.c | 198 OPENSSL_STATIC_ASSERT(sizeof(BN_ULONG) <= sizeof(crypto_word_t), in bn_less_than_word_mask()
|
/external/boringssl/src/include/openssl/ |
D | type_check.h | 69 #define OPENSSL_STATIC_ASSERT(cond, msg) static_assert(cond, msg) macro 75 #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg)
|
D | ssl3.h | 254 OPENSSL_STATIC_ASSERT(SSL3_RT_MAX_ENCRYPTED_OVERHEAD >=
|
/external/boringssl/src/crypto/cipher_extra/ |
D | e_chacha20poly1305.c | 38 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,
|
D | e_aesccm.c | 36 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >= 40 OPENSSL_STATIC_ASSERT(alignof(union evp_aead_ctx_st_state) >=
|
D | e_aesctrhmac.c | 38 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >= 42 OPENSSL_STATIC_ASSERT(alignof(union evp_aead_ctx_st_state) >=
|
D | e_aesgcmsiv.c | 45 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) >=
|
D | e_tls.c | 45 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/ |
D | cbc.c | 117 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()
|
D | ofb.c | 57 OPENSSL_STATIC_ASSERT(16 % sizeof(size_t) == 0,
|
D | ctr.c | 72 OPENSSL_STATIC_ASSERT(16 % sizeof(size_t) == 0,
|
D | cfb.c | 57 OPENSSL_STATIC_ASSERT(16 % sizeof(size_t) == 0,
|
/external/boringssl/src/crypto/ |
D | refcount_lock.c | 24 OPENSSL_STATIC_ASSERT((CRYPTO_refcount_t)-1 == CRYPTO_REFCOUNT_MAX,
|
D | thread_pthread.c | 27 OPENSSL_STATIC_ASSERT(sizeof(CRYPTO_MUTEX) >= sizeof(pthread_rwlock_t),
|
D | thread_win.c | 30 OPENSSL_STATIC_ASSERT(sizeof(CRYPTO_MUTEX) >= sizeof(SRWLOCK),
|
/external/boringssl/src/crypto/fipsmodule/cipher/ |
D | e_aes.c | 289 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/ |
D | scrypt.c | 33 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/ |
D | hrss.c | 384 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/ |
D | a_enum.c | 123 OPENSSL_STATIC_ASSERT(sizeof(uint64_t) >= sizeof(long), in ASN1_ENUMERATED_get()
|
/external/boringssl/src/crypto/fipsmodule/rand/ |
D | ctrdrbg.c | 67 OPENSSL_STATIC_ASSERT(CTR_DRBG_ENTROPY_LEN % AES_BLOCK_SIZE == 0,
|